Previous Thread
Next Thread
Print Thread
Rate Thread
#18094 03/01/03 01:39 AM
Joined: Mar 2002
Posts: 192
xero Offline OP
Member
OP Offline
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
#18095 03/01/03 01:48 AM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
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
xero Offline OP
Member
OP Offline
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
Offline
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
Offline
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
xero Offline OP
Member
OP Offline
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
Offline
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
xero Offline OP
Member
OP Offline
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
Offline
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
Offline
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
Phatal
Phatal
Houston, TX
Posts: 298
Joined: April 2004
Forum Statistics
Forums41
Topics33,840
Posts68,858
Average Daily Posts1
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Where and how do you torrent?
by danni75 - 03/01/24 05:58 AM
Animation,
by JohanKaariainen - 08/15/19 01:18 AM
Blackbeard.....
by Gremelin - 10/03/18 07:02 PM
my old account still exists!
by Crime - 08/10/18 02:47 PM
Okay WTF?
by HenryMiring - 09/27/17 01:45 AM
The History Thread...
by Gremelin - 08/11/17 12:11 PM
My friend NEEDS your HELP!
by Lena01 - 07/21/17 12:06 AM
I'm having fun with this guy.
by gabithompson730 - 07/20/17 01:50 AM
I want to upgrade my phone
by gabithompson730 - 07/20/17 01:49 AM
Doom 3
by Cyrez - 09/11/14 08:58 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666 - 08/22/14 09:21 AM
AIM scene 99-03
by lavos - 09/02/13 08:06 AM
Planetside 2
by Crime - 03/04/13 07:10 AM
Beta Testers Wanted
by Crime - 03/04/13 06:55 AM
Hello Everyone
by Gremelin - 02/12/12 06:01 PM
Tracfone ESN Generator
by Zanvin Green - 01/18/12 01:31 PM
Python 3 issue
by Testing - 12/17/11 09:28 PM
tracfone airtime
by Drache86 - 07/30/11 03:37 AM
Backdoors and the Infinite
by ZeroCoolStar - 07/10/11 03:52 AM
HackThisZIne #12 Releaseed!
by Pipat2 - 04/28/11 09:20 PM
gang wars? l33t-wars?
by Gremelin - 04/28/11 05:56 AM
Consolidate Forums
by diggin2deep - 04/21/11 10:02 AM
LAN Hacking Noob
by Gremelin - 03/12/11 12:42 AM
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
Cyrez 1
Girlie 1
unreal 1
Crime 1
Powered by UBB.threads™ PHP Forum Software 7.7.5