# Preloader problem

**URL:** https://forum.kirupa.com/t/preloader-problem/85318
**Category:** Uncategorized
**Created:** [April 3, 2005, 8:57pm UTC](https://forum.kirupa.com/t/preloader-problem/85318 "2005-04-03T20:57:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![2005](https://avatars.discourse-cdn.com/v4/letter/2/e480ec/32.png) [@2005](https://forum.kirupa.com/u/2005)
#### Post date: [April 3, 2005, 8:57pm UTC](https://forum.kirupa.com/t/preloader-problem/85318/1 "2005-04-03T20:57:37Z")

</div>

The preloader works fine when a external.swf is **called by a button event** I have this button event script :

```auto
on (release) {
if(_level0.current_selection == "button"){
stop();
} else {
_level0.containerMC.loadMovie("mymovie01.swf");
 
_level0.preloader.gotoAndStop(2);
 
 
}
}

```

Now i´m trying to load another external swf **without a button event**. I have a code frame with a stop() button on main timeline like this:

```auto
_root.containerMC.loadMovie("mymovie02.swf");
stopAllSounds();

```

with this code the external swf can be loaded into the containerMC but the preloader does not work like he does ( does not display precents loaded) as when it is called by a button event.  
Could please point me out how to fix this preoblem  
thanks in advance
