# Preloader doesnt appear until 70% is loaded

**URL:** https://forum.kirupa.com/t/preloader-doesnt-appear-until-70-is-loaded/249822
**Category:** flash
**Created:** [January 22, 2008, 10:01pm UTC](https://forum.kirupa.com/t/preloader-doesnt-appear-until-70-is-loaded/249822 "2008-01-22T22:01:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kdowling](https://avatars.discourse-cdn.com/v4/letter/k/c68b51/32.png) [@kdowling](https://forum.kirupa.com/u/kdowling)
#### Post date: [January 22, 2008, 10:01pm UTC](https://forum.kirupa.com/t/preloader-doesnt-appear-until-70-is-loaded/249822/1 "2008-01-22T22:01:46Z")

</div>

I have a single frame preloader on frame 1 of my site:

```auto

stop();
this.onEnterFrame = function() {
  percent = int(getBytesLoaded()/getBytesTotal()*100)+"%";
  if (getBytesLoaded() == getBytesTotal()) {
    delete this.onEnterFrame;
    nextFrame();
  }
}

```

where percent is a variable of a dynamic text box.

Simple…  
but when i view the streaming graph the majority of the content is on frame 1. I had this problem before and I simply moved everything on the timline forward one frame and placed the loader on frame 1. But this time it doesnt work, frame 1 is still showing about 45kb-50kb of data and the preloader doesnt show until 70% is loaded. could someone give me a heads up? Its probably something quite simple (it usually is) but its been p1ssing me off for about 1.5 hours now.;(

Thanks,  
Karl
