Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: loading multiple movies
From: Kathy Vergucht
Date: Mon, 05 Feb 2001 13:08:22 -0000

Hi everyone

I would like to (pre)load 4 movies into my main.swf movie.
Their first frame is empty with a stop action in it. The second and third
frames are preloader frames.

ifFrameLoaded (_totalFrames) {
gotoAndPlay (4);
}


Each of them or loaded into a different level.

I start loading them in frame 3 of the main.sfw:

loadMovieNum ("/medium.swf", 1);
loadMovieNum ("/contact.swf", 2);
loadMovieNum ("/clients.swf", 3);
loadMovieNum ("/ratecard.swf", 4);

I would like to trigger the medium.swf to play as soon as the main reaches
it last frame.
This is my attempt...I have a feeling it plays the second frame of main.swf
rather than the the second frame of medium.swf. (basically the movie ends up
looping)

stop ();
loadMovieNum ("/medium.swf", 1);
tellTarget ("_level1") {
gotoAndPlay (2);
}



Does anyone know a good tutorial that will explain loading multiple movies?
Or maybe someone can tell immediately what's not right here...?

Cheers,
Kathy



[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]