# Preloader not working for external movie?

**URL:** <https://forum.kirupa.com/t/preloader-not-working-for-external-movie/293809>\
**Category:** Uncategorized\
**Created:** [August 4, 2009, 7:25am UTC](https://forum.kirupa.com/t/preloader-not-working-for-external-movie/293809 "2009-08-04T07:25:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eddie\_E](https://avatars.discourse-cdn.com/v4/letter/e/2acd7d/32.png) [@Eddie\_E](https://forum.kirupa.com/u/Eddie_E)\
**Post date:** [August 4, 2009, 7:25am UTC](https://forum.kirupa.com/t/preloader-not-working-for-external-movie/293809/1 "2009-08-04T07:25:13Z")

</div>

Hi I have the following preloader code which works fine when loading movies individually, but when I put all files on server and try and load my external movie clip it does not load.

My script is:

```auto

//data typing
var txtPercent:TextField;
var percent:Number;

//check to see if main timeline is ready
this.onEnterFrame = function():Void {
    if (this._parent.getBytesLoaded() < this._parent.getBytesTotal()) {
        percent = Math.round(this._parent.getBytesLoaded() / this._parent.getBytesTotal() * 100);
        txtPercent.text = percent + "%";

    }
    else {
        this._parent.gotoAndPlay("main");
    }
};

```

Do I need to change this for my external clips? I load each movie from my main using a simple

```auto
loadMovie ("seeing.swf", "seeing");
stop();

```

Thanks

Eddie
