PDA

View Full Version : Target Paths from Loaded swf


Biscutty
07-30-2002, 06:30 PM
Hi, got a problem here.. and been struggling with it all day :(

I have a main movie called Base_Stage.swf , from that movie I load an external movie, Transition.swf at level 3
"Base_Stage" is stopped while "Transition" Plays, when Transition is finished playing iI want "Base_Stage" to go to the next fame and start playing, and unload "Transition.swf" and then load another external swf,"Home.swf" at level 1

I think my problem is the targeting of Base_Stage...


<<actions in frame on main timeline of Base_Stage (to load Transition.swf)>>

loadMovieNum("Transition.swf", 3);
stop();

<<actions in last frame of Transition.swf (to tell main timeline of Base_Stage to go forward one frame)>>

_level0.nextFrame();
stop();

<<actions in targeted frame of Base_Stage.swf (to tell main timeline of unload Transition.swf from layer 3 and to load "Home.swf" to layer1 )>>

unloadMovieNum(3);
loadMovieNum("Home.swf", 1);
stop();



any ideas? thanks guys

and yep, i have read the docs.. :)

Billy T
07-30-2002, 06:40 PM
in the last frame of transition put

_level0.gotoAndPlay(_level0._currentframe+1);

cheers

Biscutty
07-30-2002, 06:44 PM
thanks man, it seems to be working..

nice one!:D