# Preloader onsly starts at about 17%

**URL:** <https://forum.kirupa.com/t/preloader-onsly-starts-at-about-17/178230>\
**Category:** Uncategorized\
**Created:** [February 8, 2006, 6:29pm UTC](https://forum.kirupa.com/t/preloader-onsly-starts-at-about-17/178230 "2006-02-08T18:29:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![killerwhale65](https://avatars.discourse-cdn.com/v4/letter/k/7ea924/32.png) [@killerwhale65](https://forum.kirupa.com/u/killerwhale65)\
**Post date:** [February 8, 2006, 6:29pm UTC](https://forum.kirupa.com/t/preloader-onsly-starts-at-about-17/178230/1 "2006-02-08T18:29:45Z")

</div>

hi,

i am using this code for a preloader:

[AS]bytes\_loaded = Math.round(this.getBytesLoaded());  
bytes\_total = Math.round(this.getBytesTotal());  
getPercent = bytes\_loaded/bytes\_total;  
this.loadBar.\_height = getPercent_300;  
this.loadText = Math.round(getPercent_100)+"%";  
if (bytes\_loaded == bytes\_total) {  
this.gotoAndPlay(3);  
}  
[/AS]

Now the thing is that, when i test in using “simulate download”, i see it starting at 1% in the bandwidth profiler, going up nicely to 100%.  
But in the movie i see nothing in the begining, and then suddenly, when the bandwidth profiler is at about 15%, the movie shows (and the loadbar is also already at 15%.

Any idea what’s wrong?
