# Quick Question Preloader

**URL:** <https://forum.kirupa.com/t/quick-question-preloader/154250>\
**Category:** flash\
**Created:** [July 8, 2005, 1:49am UTC](https://forum.kirupa.com/t/quick-question-preloader/154250 "2005-07-08T01:49:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cld](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@cld](https://forum.kirupa.com/u/cld)\
**Post date:** [July 8, 2005, 1:49am UTC](https://forum.kirupa.com/t/quick-question-preloader/154250/1 "2005-07-08T01:49:16Z")

</div>

I have a little problem. When my site loads my preloader and my site’s swf loads at the same time. I have a master.swf that has the script to load the site. The code is in the first frame.

Here’s the link to the [site](http://www.clarencelee.com/index.htm)

Here’s a copy of the script I have in the master.swf

AS/

stop();  
//-------------------------\<MCL\>-------------------------\  
var myMCL:MovieClipLoader = new MovieClipLoader();  
var myListener:Object = new Object();  
myMCL.addListener(myListener);  
//-------------------------\</MCL\>-------------------------\  
myListener.onLoadProgress = function(target\_mc, loadedBytes, totalBytes) {  
\_level50.\_visible = true;  
var preloadPercent:Number = Math.round((loadedBytes/totalBytes)\*100);  
\_level50.preloader.gotoAndStop(preloadPercent);  
};  
myListener.onLoadComplete = function(target\_mc) {  
\_level50.\_visible = false;  
};

myMCL.loadClip(“preloader.swf”, 50);

// trigger the MCL to load this:

myMCL.loadClip(“site54.swf”, 5);

/AS

I would really appreciate any help. We want to launch this site as soon as possible. Thank you very much for your time in advance.

T
