Groups | Blog | Home
all groups > flash actionscript > march 2005 >

flash actionscript : can i open a swf file with getURL?


macron
3/26/2005 11:21:50 PM
hi all, i have a swf file with some buttons in it. i want to set up one of
the buttons so that when the user clicks, it opens up a second swf file in a
flash player window the same dimensions as the second swf (as opposed to
opening a big gawky browser window). can i use the getURL command for this, or
should i do something different? again, much obliged, macron
Hunan131
3/27/2005 12:20:04 AM
No you can't,but you can do something different..For example you have created
swf file in which you have a button & you want when you clcik in that button
open another swf file in wich you have created animation.For do that you have
to put swf files together for actions may take effects.Second in the first
movie(swf),where you created button put some actions,for do that follow these
steps.
1.Select button & press F9,to open actions panel & write this code `
Then save this movie & name this movie as "first".
2.Open new flash movie & create some animation in stage.Then save the movie &
name as "second".
3.After steps 1 & 2,you'll have created "first.swf" & "second.swf",put these
to swf files together,and open the "first .swf".

This must work,if it not,try these steps again.
My name is Hunan Rostomyan,I am flash designer,developer & programmer,I am 15
years old.I will happy to have friends like you.My mail is
hunan131@rambler.ru,write me ,I'll send you examples of these actions &
solution of your problem!Babay!

on(release){
loadMovie("second.swf",_root);
}
AddThis Social Bookmark Button