In my main movie, I am trying to load a welcome section (“welcome.swf”) into a blank movieclip (instance name: contents)
Now, welcome.swf has its own simple preloader. When I test the movie (welcome.swf) on its own, its fine - the little preloading animation shows. However, when trying to load it from the main movie, all I get is a brief glimpse of the preloader animation then MY MAIN MOVIE RETURNS TO THE BEGINNING AGIN - AND KEEPS LOOPING!!
Here’s my code:
SCRIPT TO LOAD WELCOME SECTION ON MAIN MOVIE TIMELINE:
_root.contents.loadMovie(“welcome.swf”);
PRELOADER SCRIPT FOR WELCOME.SWF
total = _root.getBytesTotal();
loaded = _root.getBytesLoaded();
if (loaded>=total) {
_root.gotoAndPlay(32)
}
Why is it not working???