This is probably a quick and easy thing. The movieclip that is supposed to get played after preloading actually starts before clip is fully loaded. You can see the problem in action here: www.stopandwonder.com.
Here’s the code that goes with the preloader.
var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
myMCL.addListener(myListener);
myListener.onLoadProgress = function(target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number) {
var loaded:Number = Math.round((bytesLoaded/bytesTotal) * 100);
progressBar.gotoAndStop(loaded);
}
myListener.onLoadInit = function (target_mc:MovieClip) {
progressBar._visible = false;
}
myListener.onLoadStart = function (target_mc:MovieClip) {
progressBar._visible = true;
}
myMCL.loadClip("images/slideshowFinal.swf", "container");
It’s just a 100 frame movieclip preloading graphic.
Anyway, I appreciate any help. Thanks.