Home » Tutorials » Web and Graphic Design » Adobe Flash » Preloading Main Movie with Levels all Together..

Preloading Main Movie with Levels all Together

Added February 21, 2008, read 46 times

Load the main movie with all attached external movies all at once using a single preloader.

Code preview:

ActionScript Code
onClipEvent (load) {
    // Load Three movies
    loadMovieNum ("Music.swf", 1);
    loadMovieNum ("Music.swf", 2);
    loadMovieNum ("Music.swf", 3);
}

onClipEvent (enterFrame) {
    // We devide it by 1000 to get rid of the decimal numbers
    Total = Math.floor ...
Select all
View tutorial