I’ve got my preloader working where it loads up the external swf. The thing is what I want to happen is instead of once the loading progress reaches 100% and starts playing my swf, I want the preloader to hold off on playing the Swf and simply allow me to trigger the playback with a button. I can’t seem to figure out how to stop the swf from playing once it reaches 100%. here’s my code
var mcl:MovieClipLoader = new MovieClipLoader();
var mclL:Object = new Object();
mclL.onLoadProgress = function(target, loaded, total) {
loader.percent.text = Math.round((loaded/total)*100)+"%";
}
mclL.onLoadInit = function() {
loader._visible = false;
loader.percent.text = "";
}
mcl.addListener(mclL);
mcl.loadClip("new.swf",holder);