# Moviecliploader issue

**URL:** <https://forum.kirupa.com/t/moviecliploader-issue/295892>\
**Category:** Uncategorized\
**Created:** [September 7, 2009, 2:54am UTC](https://forum.kirupa.com/t/moviecliploader-issue/295892 "2009-09-07T02:54:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phlegma](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@phlegma](https://forum.kirupa.com/u/phlegma)\
**Post date:** [September 7, 2009, 2:54am UTC](https://forum.kirupa.com/t/moviecliploader-issue/295892/1 "2009-09-07T02:54:03Z")

</div>

hey guys. i’ve got this great script that loads all my images at the same time. i simply want the movie to stay paused until all the loading is complete, then play. i’m unsure of how to go about doing this.

any tips?

```auto
var images:Array = ["adBin/01.jpg", "adBin/02.jpg", "adBin/03.jpg","panelBin/01.gif", "panelBin/02.gif", "panelBin/03.gif"];
var destinations:Array = [_root.main.leftAd.leftAdin, _root.main.midAd.midAdin, _root.main.rightAd.rightAdin, _root.main.leftPanel.leftPanelin, _root.main.midPanel.midPanelin, _root.main.rightPanel.rightPanelin];
_global.totalLoaded = 0;
_global.totalToLoad = 0;
var myLoader = new MovieClipLoader();
myLoader.onLoadProgress = function(targetMC, lBytes, tBytes) {
_global.totalLoaded = 0;
_global.totalToLoad = 0;
targetMC.loadedBytes = lBytes;
targetMC.totalBytes = tBytes;
for (i=0; i<images.length; i++) {
_global.totalLoaded += destinations*.loadedBytes;
_global.totalToLoad += destinations*.totalBytes;
}
_root.myText.text = _global.totalLoaded+" out of "+_global.totalToLoad+" loaded";
};
for (i=0; i<images.length; i++) {
myLoader.loadClip(images*, destinations*);
}

```
