# Preloader problem

**URL:** <https://forum.kirupa.com/t/preloader-problem/76356>\
**Category:** Uncategorized\
**Created:** [January 18, 2005, 12:53am UTC](https://forum.kirupa.com/t/preloader-problem/76356 "2005-01-18T00:53:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![biznuge](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/biznuge/32/11567_2.png) [@biznuge](https://forum.kirupa.com/u/biznuge)\
**Post date:** [January 18, 2005, 12:53am UTC](https://forum.kirupa.com/t/preloader-problem/76356/1 "2005-01-18T00:53:27Z")

</div>

My problem is one of those REAL bad ones, in so much as the EXACT same code worked yesterday on a different FLA.

I’m using the following preloader on a small movie sequence i’m building, to deliver the streamed status of the movie.

```auto
 
onEnterFrame = function()
{
total = Math.round(_root.getBytesTotal()); 
download = Math.round(_root.getBytesLoaded());
 
loaded_txt.text=Math.round((download/total)*100);
 
if (total==download)
{
nextFrame();
}
else 
{
stop();
}
} 

```

When accessing the html page from my server [http://www.ernisystemc.pwp.blueyonder.co.uk/walking\_bodge.html](http://www.ernisystemc.pwp.blueyonder.co.uk/walking_bodge.html) I just get a blank screen for the four or five seconds it takes to stream, and then the whole movie hits you in the face, with a really brief glimpse of the preloader just before the real content begins.

Thanx in advance!
