# Preloader for LARGE Flash MX movie - help - please!

**URL:** <https://forum.kirupa.com/t/preloader-for-large-flash-mx-movie-help-please/68076>\
**Category:** flash\
**Created:** [October 21, 2004, 8:26pm UTC](https://forum.kirupa.com/t/preloader-for-large-flash-mx-movie-help-please/68076 "2004-10-21T20:26:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beanpie](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@beanpie](https://forum.kirupa.com/u/beanpie)\
**Post date:** [October 21, 2004, 8:26pm UTC](https://forum.kirupa.com/t/preloader-for-large-flash-mx-movie-help-please/68076/1 "2004-10-21T20:26:45Z")

</div>

Hi there.

So I’ve got a large movie (about 94k) that I need to preload. I used my usual Preloader script, which has been working great for me FOREVER and it just doesn’t go! If I take out the movieclip with the images (yes they’re optimized half to death) it loads fine.

Can anybody tell me why this might be? Here is what I’m doing:

Main content is a movie clip on second frame of main timeline.

There’s a stop action on second frame of main timeline.

This code is in first frame of main timeline:

stop();  
myInterval = setInterval(preloader, 10);  
function preloader() {  
if (getBytesLoaded()\>=getBytesTotal()) {  
play();  
clearInterval(myInterval);  
}  
bar.\_xscale = (getBytesLoaded()/getBytesTotal())\*100;  
myTextField.text = Math.round(getBytesLoaded()/getBytesTotal()\*100)+"%";  
}

Why oh why is this happening?

Anybody…please…

Thanks.
