Ultimate Gear War
Join the alien war, prepare your gear and protect your base at all cost!
4.18 / 5.00 15,633 Viewswhat code do i use to get my button to open a new window here:
http://www.newground..m/portal/view/302313
when you click it. i use flash mx 2004...
What do you mean, a button in a Flash movie which opens a new IE/Firefox window?
At 3/21/06 04:56 PM, -Paradox- wrote: What do you mean, a button in a Flash movie which opens a new IE/Firefox window?
i mean like...lets say this project is finished and posted on newgrunds...the cartoon im working on is part 3 i want a button that will be clickable (duh) and will open a new window to part 1 so you can see it... what code do i need for the button to open a new window and take me to the url, link, whatever you want to call it?
For urls you can use:
on(release){
getURL("http://www.yoursitehere.com/", "_blank")
}
and for loading the actual movie try somethign like
on(release){
_root.loadMovie("http://www.yourflashurlhe
re.com/")
}
Just give the button this code:
on (release){
getURL("http://www.newgrounds.com/portal/v
iew/302313", "_blank");
}
K?
At 3/21/06 05:03 PM, -Paradox- wrote: on (release){
getURL("http://www.newgrounds.com/portal/v
iew/302313", "_blank");
}
I don't know what happened there, but there is only three lines in the code, the third line of the code above actually is the end bit of line two.