# Show % loaded?

**URL:** <https://forum.kirupa.com/t/show-loaded/52742>\
**Category:** Uncategorized\
**Created:** [May 26, 2004, 9:55pm UTC](https://forum.kirupa.com/t/show-loaded/52742 "2004-05-26T21:55:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danulf](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/danulf/32/555_2.png) [@danulf](https://forum.kirupa.com/u/danulf)\
**Post date:** [May 26, 2004, 9:55pm UTC](https://forum.kirupa.com/t/show-loaded/52742/1 "2004-05-26T21:55:54Z")

</div>

I have made this loadthing that only shows the progress in percent,  
but I only see 99% and 100%!  
I’m not good at explaining, but I hope you get it 😉

Here’s what I have done:

I have 3 keyframes, and in the third I have the clip itself with a stop(); actionscript.

In the first frame i have a dynamic text square that has the instant name ‘myOutput’.  
The actionscript for that frame is:  
percent = Math.floor(getBytesLoaded()/getBytesTotal()\*100);  
myOutput.text = percent + “% is loaded”;

In the second frame I just copied the text square, but I changed the actionscript to:  
if (percent == 100){  
gotoAndStop(3);  
}else{  
gotoAndPlay(1);  
}

What did I do wrong? Thank you in advance!
