# Preloader: Percentage doesn't show up!

**URL:** https://forum.kirupa.com/t/preloader-percentage-doesnt-show-up/113218
**Category:** Uncategorized
**Created:** [June 15, 2004, 11:45pm UTC](https://forum.kirupa.com/t/preloader-percentage-doesnt-show-up/113218 "2004-06-15T23:45:34Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![FRUGiHOYi](https://avatars.discourse-cdn.com/v4/letter/f/c68b51/32.png) [@FRUGiHOYi](https://forum.kirupa.com/u/FRUGiHOYi)
#### Post date: [June 15, 2004, 11:45pm UTC](https://forum.kirupa.com/t/preloader-percentage-doesnt-show-up/113218/1 "2004-06-15T23:45:34Z")

</div>

I just made a preloader by following the Percentage Preloader With LoadBar tutorial on this site. I actually have two problems:  
[list=1]  
[_]The numbers showing the percentage complete don’t show up.  
[_]The bar doesn’t fill up all the way. It looks like it fills up about 75%, then the movie starts.  
[/list]Here is my .fla file: [www.eutron-inc.com/newsite/flash.fla](http://www.eutron-inc.com/newsite/flash.fla)  
Help, please!

---

<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: [June 16, 2004, 12:09am UTC](https://forum.kirupa.com/t/preloader-percentage-doesnt-show-up/113218/2 "2004-06-16T00:09:47Z")

</div>

I got the percentage text to work now… It fills up to 100% and then the movie begins, as it should. The probem is that the bar doesn’t fill up all the way. It reaches its midpoint when the text reads 75% and ends when the text reaches 100% – while the bar itself is still at 75%.

---

<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: [June 16, 2004, 12:16am UTC](https://forum.kirupa.com/t/preloader-percentage-doesnt-show-up/113218/3 "2004-06-16T00:16:46Z")

</div>

You have to read ALL the instructions in the tutorial. Your bar is 154 pixels wide and you have the code set for a bar that is 100 pixels wide. Change that to the length of your bar and you’ll be set.

:hr:

```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);
}

```

---

<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: [June 16, 2004, 12:23am UTC](https://forum.kirupa.com/t/preloader-percentage-doesnt-show-up/113218/4 "2004-06-16T00:23:57Z")

</div>

Yeah I know, I just looked back on an old thread and found my answer. Sorry!:ne:

---

<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: [June 16, 2004, 1:32am UTC](https://forum.kirupa.com/t/preloader-percentage-doesnt-show-up/113218/5 "2004-06-16T01:32:05Z")

</div>

no worries - glad you got it figured out! :thumb:
