# Preloader starts at 46%

**URL:** https://forum.kirupa.com/t/preloader-starts-at-46/29233
**Category:** Uncategorized
**Created:** [August 24, 2003, 5:00pm UTC](https://forum.kirupa.com/t/preloader-starts-at-46/29233 "2003-08-24T17:00:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![blueshift](https://avatars.discourse-cdn.com/v4/letter/b/ac91a4/32.png) [@blueshift](https://forum.kirupa.com/u/blueshift)
#### Post date: [August 24, 2003, 5:00pm UTC](https://forum.kirupa.com/t/preloader-starts-at-46/29233/1 "2003-08-24T17:00:35Z")

</div>

I have a preloader, the same exact one I’ve used time and time again, and at first it worked just fine, now, whenever I test it, the preload screen is blank until 46% of the movie is loaded, thats when the percent loaded text shows up. All I have for the preload screen is text that says “loading,” non-animated, and the dynamic text field for the percent. Has anyone ever run into this problem before?

Heres the code:

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

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 24, 2003, 5:05pm UTC](https://forum.kirupa.com/t/preloader-starts-at-46/29233/2 "2003-08-24T17:05:24Z")

</div>

Have you exported items in the first frame ? Have you used components ?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 24, 2003, 5:21pm UTC](https://forum.kirupa.com/t/preloader-starts-at-46/29233/3 "2003-08-24T17:21:48Z")

</div>

did you embed fonts - use some music ?? (because they’re loaded before anything else)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 24, 2003, 6:34pm UTC](https://forum.kirupa.com/t/preloader-starts-at-46/29233/4 "2003-08-24T18:34:05Z")

</div>

Trying playing with a bar with it. Just add:

[AS]  
this.loadBar.\_width = getPercent\*[The width of your bar];  
[/AS]

I had the same problem before where my text doesn’t show up at all and then suddenly the bar shows up and becomes full.
