# External Preloader - please help

**URL:** <https://forum.kirupa.com/t/external-preloader-please-help/118996>\
**Category:** Uncategorized\
**Created:** [August 10, 2004, 6:57pm UTC](https://forum.kirupa.com/t/external-preloader-please-help/118996 "2004-08-10T18:57:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phildswan](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@phildswan](https://forum.kirupa.com/u/phildswan)\
**Post date:** [August 10, 2004, 6:57pm UTC](https://forum.kirupa.com/t/external-preloader-please-help/118996/1 "2004-08-10T18:57:23Z")

</div>

Hi, I have created some swf files using non macromedia software. I have loaded them as targets into movieclips in my flash file. I have then animated these movieclips linked with the external swf files. The animation of the movieclips links to what is going on in the swf files. Therefore I need to load the external swf file completely before I can animate it.  
What is the best way to achieve this? do i create an external preloader? How would I do this? (i’m a beginner and don’t need any loading bars or anything, just a very very simple preloader!) :h:

---

<div class="post-metadata">

**Author:** ![Brandon](https://avatars.discourse-cdn.com/v4/letter/b/f08c70/32.png) [@Brandon](https://forum.kirupa.com/u/Brandon)\
**Post date:** [August 11, 2004, 3:50am UTC](https://forum.kirupa.com/t/external-preloader-please-help/118996/2 "2004-08-11T03:50:16Z")

</div>

This is as simple as it gets make a DYNAMIC text off the Stage or on it doesn’t matter Name it kirupatxt and turn it into a movie clip. And give it this code. Walla.

onClipEvent (enterFrame) {  
var bytes = \_root.getBytesTotal();  
var bytes\_loaded = \_root.getBytesLoaded();  
if (bytes\_loaded == bytes) {  
//Just change MC and it will play.  
\_root.YourMovieClip.gotoAndPlay(1);  
this.kirupatxt = “movie loaded”;  
} else {  
//Tells users Loading kbs/kbs Total and,  
// You might have to change the code becuase im not quiet sure if that will keep it from playing.  
\_root.YourMovieClip.gotoAndStop(1);  
this.kirupatxt = “loading (”+bytes\_loaded+"/"+bytes+")";  
}  
}
