I have a preloader code looking like this;
var myListener:Object = new Object();
myMCL.addListener(myListener);
myListener.onLoadProgress = function(target_mc, loadedBytes, totalBytes) {
_level50._visible = true;
var preloadPercent:Number = Math.round((loadedBytes/totalBytes)*100);
_level50.preloadInfo.text = preloadPercent+"% loaded";
}
myListener.onLoadComplete = function(target_mc) {
_level50._visible = false;
}
I load my images with this;
myMCL.loadClip (“navigation.swf”, 5);
I need to add some functionality where I can tell Flash “stop until load is complete - when load is done, trigger this action”. Anyone?