PDA

View Full Version : loading SWF and gotoandStop action in one onRelease action???



ericinho
May 2nd, 2003, 09:58 AM
flash5


i want to do this:

on (release) {
_root.nextMovie = "externalmovie.swf";
_root.cover.gotoAndPlay("close");
_root.content.gotoAndStop(20)

}

line 1 sets VAR nextMovie

line 2 tells a coverMC to start playing (it includes a loader and a loadMovie action which pretty much says "loadMovie (_root.nextMovie, _root.content);". Oh the content it refers to is the placeholder in which the external SWF loads.
In the external SWF there is the rest of the loading part.

but anyhow, how can I trigger that after the SWF is loaded, it automatically moves to frame 20 and stops (instead of now just playing the **** thing :) ).

thanks!

dizknee
May 2nd, 2003, 08:52 PM
im a newbie, but why dont u just put in frame 1 of the new movie

gotoAndStop(20);

?? that should work, unless im being ignorant.. lol