# Preloader question

**URL:** https://forum.kirupa.com/t/preloader-question/98837
**Category:** Uncategorized
**Created:** [January 12, 2004, 12:11am UTC](https://forum.kirupa.com/t/preloader-question/98837 "2004-01-12T00:11:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![fusion37](https://avatars.discourse-cdn.com/v4/letter/f/e79b87/32.png) [@fusion37](https://forum.kirupa.com/u/fusion37)
#### Post date: [January 12, 2004, 12:11am UTC](https://forum.kirupa.com/t/preloader-question/98837/1 "2004-01-12T00:11:45Z")

</div>

My first post here and any info or help would be much appreciated…😃

I’ve read all the preloader tutorials, and I’ve spent about 2 days smacking my head against the wall on this and I think I cannot see the forest through the trees at this point.  
I have an original flash site that has a preloader mc and it functions 100%.

//code for the original site preloader that functions

bytesLoaded = (\_level0.getBytesLoaded());  
bytesTotal = (\_level0.getBytesTotal());  
percentSetup = ((bytesLoaded/bytesTotal)\*100);  
percentage = int(percentSetup) add “%”;  
if (bytesLoaded == bytesTotal) {  
\_root.gotoAndPlay(3);  
}

I take this preloader and dump it into a new site and it doesn’t work…:-/

Now this new site is actually much larger than the original site and the swf for it is close to 2 MB.

Is there a size constraint that makes using preloaders inefficient?

I’ve tried making the preloader in another scene and still no go, maybe I should try the preloader and load the site with AS for loading an external swf? I’ve read a few post from the forum and I’m not sure I understand ‘how’ to get the preloader to match the % bytes of the externally loading swf…

Any suggestions?

thx
