# MovieClipLoader again

**URL:** https://forum.kirupa.com/t/moviecliploader-again/162460
**Category:** flash
**Created:** [September 13, 2005, 3:46pm UTC](https://forum.kirupa.com/t/moviecliploader-again/162460 "2005-09-13T15:46:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Giansolo](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@Giansolo](https://forum.kirupa.com/u/Giansolo)
#### Post date: [September 13, 2005, 3:46pm UTC](https://forum.kirupa.com/t/moviecliploader-again/162460/1 "2005-09-13T15:46:39Z")

</div>

Hi 'vrybody! 🙂  
well… gotta question about the MCL thing…  
I just want to show a progressbar loading and play a anim. So i paste the code from the Flash help website, and it does … nothing. It just display the pBar for 2 or 3 seconds and then the anim plays… of course, i’ve tested it only on the web, and i emptied all the IE / XP caches & temporary files before.  
The anim is HUGE (12 Mo) so i really should be able to see the pBar fill in, and then play the anims… but no. it stays stuk to 0 for 2,3 seconds and then play the anim.

here is the code :

```auto
  

this.createEmptyMovieClip("mvt1_mc", 0);
// create both a MovieClipLoader object and a listener object
myLoader = new MovieClipLoader();
myListener = new Object();
// add the MovieClipLoader callbacks to your listener object
myListener.onLoadStart = function(clip) {
 // this event is triggered once, when the load starts
 pBar.label = "Now loading: " + clip;
};
myListener.onLoadProgress = function(clip, bytesLoaded, bytesTotal) {
 var percentLoaded = int (100*(bytesLoaded/bytesTotal));
 pBar.setProgress(bytesLoaded, bytesTotal);
};
myLoader.addListener(myListener);
myLoader.loadClip("mvt1.swf", mvt1_mc);
 

```

could you, please, give me a hint ?  
I’ve named the instance of the progressBar pBar, and it is set to “manual” as it is said on the Flash help site…  
thanks for people giving a hand! :thumb:

Gian
