UGN Security
Posted By: xero flash help - 03/01/03 08:39 AM
i am just learning flash, and i needed help on doing something. i have a button in a scene, that has the action "getURL". i was wondering if i can specify the size and properties of a new window that the link is supposed to open, sort of like javascript:

Code
 <A HREF="#" onClick="window.open('intro.html', 'intro',
config='height=400,width=500,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,directories=no,status=no')">Click To Open</A>
 
is it possible to have this same function using the actionscript:

Code
 on (release) {
    getURL("intro.html", "_blank");
} 
any help would be greatly appreciated.. thanks
Posted By: Gremelin Re: flash help - 03/01/03 08:48 AM
I THINK (i'm probably wrong) that you'd do:

Code
on (release) {
   getURL("intro.html", "_blank", "height=400", "width=400");
}
I'm not too sure, been a long time since I actually played with flash smirk.
Posted By: xero Re: flash help - 03/01/03 09:01 AM
hmm nope syntax error.. thanks anyway.. anyone else?
Posted By: Gremelin Re: flash help - 03/01/03 09:28 AM
Odd lol, see told you that its been a while frown ... Search google for "Flash getURL Height" or something frown ...
Posted By: BackSlash Re: flash help - 03/02/03 09:15 PM
i think in swish, you can call a javascript function. so if you had the javascript in the page it would work
Posted By: xero Re: flash help - 03/03/03 02:37 AM
i did a little search, and i found out when you edit the action in flash mx, where it says URL you just put in like...

Code
 javascript:openNewWindow('intro.html','intro','height=400,width=500,toolbar=no,scrollbars=no') 
so yeah.. well thanks for the help smile
Posted By: Gremelin Re: flash help - 03/03/03 02:56 AM
[censored], i was close!
Posted By: xero Re: flash help - 03/05/03 07:36 AM
ok this must seem utterly retarded of me, but how exactly would one make like a scrollbar for text in flash? after you're done laughing at me please do help smile
Posted By: Rapture Re: flash help - 03/07/03 11:39 PM
Quote:
Originally posted by BackSlash:
i think in swish, you can call a javascript function. so if you had the javascript in the page it would work
that's what i'de do. I just used swish 2.0 and it does everything for you. it's not an expensive program either smile
Posted By: n-rop Re: flash help - 04/14/03 02:58 AM
i would just make a simple motion tween that loops

so the text scrolls across the screen then put in an action.
goto frame 1
and it would repeate.
© UGN Security Forum