# Preloader pausing before appearing...?

**URL:** <https://forum.kirupa.com/t/preloader-pausing-before-appearing/278600>\
**Category:** Uncategorized\
**Created:** [January 2, 2009, 2:30pm UTC](https://forum.kirupa.com/t/preloader-pausing-before-appearing/278600 "2009-01-02T14:30:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GGMcGee](https://avatars.discourse-cdn.com/v4/letter/g/ba8739/32.png) [@GGMcGee](https://forum.kirupa.com/u/GGMcGee)\
**Post date:** [January 2, 2009, 2:30pm UTC](https://forum.kirupa.com/t/preloader-pausing-before-appearing/278600/1 "2009-01-02T14:30:30Z")

</div>

Using [this preloader tutorial](http://www.kirupa.com/developer/mx/percentagepreloader.htm).

I’ve used this preloader before without any troubles, but for some reason now it is stuffing up…

I’ve followed all the steps… and it’s working more or less, exept that I can’t see the load bar or the load text until it’s about 40% loaded. Then it appears.

The whole swf is only 647kb big, so it isn’t really a lot to load…

```auto

bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*100;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
 this.gotoAndPlay(3);
}

```

i changed this:  
this.loadBar.\_ **width** = getPercent\ ***100** ;

to this:  
this.loadBar.\_ **height** = getPercent\ ***172.7** ;

to suit my needs. I don’t think the variable change is the problem though… other than that, all is good.

Does anyone know what the problem could be? It’s really annoying. You just see nothing up until it has loaded about 40% and then the preloader jumps in at that % and continues to load up till 100.
