Previous Thread
Next Thread
Print Thread
Rate Thread
#18094 03/01/03 01:39 AM
Joined: Mar 2002
Posts: 192
Member
Member
Joined: Mar 2002
Posts: 192
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


"Most of our imports come from outside the country" -George W. Bush

http://www.zero-technologies.com
Sponsored Links
▼ Sponsored Links ▼ ▲ Sponsored Links ▲
#18095 03/01/03 01:48 AM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
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.


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#18096 03/01/03 02:01 AM
Joined: Mar 2002
Posts: 192
Member
Member
Joined: Mar 2002
Posts: 192
hmm nope syntax error.. thanks anyway.. anyone else?


"Most of our imports come from outside the country" -George W. Bush

http://www.zero-technologies.com
#18097 03/01/03 02:28 AM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
Odd lol, see told you that its been a while frown ... Search google for "Flash getURL Height" or something frown ...


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#18098 03/02/03 02:15 PM
Joined: Mar 2002
Posts: 599
UGN's Resident Homo
UGN's Resident Homo
Joined: Mar 2002
Posts: 599
i think in swish, you can call a javascript function. so if you had the javascript in the page it would work


"It's better to burn out, than to fade away."
#18099 03/02/03 07:37 PM
Joined: Mar 2002
Posts: 192
Member
Member
Joined: Mar 2002
Posts: 192
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


"Most of our imports come from outside the country" -George W. Bush

http://www.zero-technologies.com
#18100 03/02/03 07:56 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
[censored], i was close!


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#18101 03/05/03 12:36 AM
Joined: Mar 2002
Posts: 192
Member
Member
Joined: Mar 2002
Posts: 192
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


"Most of our imports come from outside the country" -George W. Bush

http://www.zero-technologies.com
#18102 03/07/03 04:39 PM
Joined: Apr 2002
Posts: 212
Member
Member
Joined: Apr 2002
Posts: 212
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

#18103 04/13/03 07:58 PM
Joined: Feb 2003
Posts: 10
Junior Member
Junior Member
Joined: Feb 2003
Posts: 10
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.


Mental note to self:must get off [censored] and make up decent signature

Link Copied to Clipboard
Member Spotlight
None yet
Forum Statistics
Forums41
Topics33,840
Posts68,858
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Girlie 1
unreal 1
Crime 1
Ice 1
Powered by UBB.threads™ PHP Forum Software 8.0.0