all groups > flash actionscript > february 2004 >
You're in the

flash actionscript

group:

playing one movieclip after another


playing one movieclip after another Dave_090
2/25/2004 10:58:27 PM
flash actionscript: How can I load in one movieclip, have it play, then load in another movie clip and have it play, then have the whole thing loop?

Re: playing one movieclip after another chrism59
2/26/2004 2:05:37 PM
There are many ways. the easiest is to place a line of coed in the last frame
on them movie and have in load the next movie.
Example loading both movies into a Base level movie (Index level and loading
the loos into movie clips)
createEmptyMovieClip("loop_mc", 20);
loop_mc.loadMovie("FirstMovie.swf");

In the last frame of the FirstMovie swf have this line
_parent.loop_mc.loadMovie("SecondMovie.swf");

In the last frame of the SecondMovie swf have this line
_parent.loop_mc.loadMovie("FirstMovie.swf");

This thing will loop forever!
You will need to break this someplace using
loop_mc.unloadMovie


AddThis Social Bookmark Button