# PReloading External SWF question

**URL:** <https://forum.kirupa.com/t/preloading-external-swf-question/230895>\
**Category:** flash\
**Created:** [June 29, 2007, 7:30pm UTC](https://forum.kirupa.com/t/preloading-external-swf-question/230895 "2007-06-29T19:30:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrflume](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@mrflume](https://forum.kirupa.com/u/mrflume)\
**Post date:** [June 29, 2007, 7:30pm UTC](https://forum.kirupa.com/t/preloading-external-swf-question/230895/1 "2007-06-29T19:30:57Z")

</div>

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

```auto
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);

```
