# (MX) Kilobyte preloader, so simple?

**URL:** <https://forum.kirupa.com/t/mx-kilobyte-preloader-so-simple/46487>\
**Category:** flash\
**Created:** [March 25, 2004, 12:53am UTC](https://forum.kirupa.com/t/mx-kilobyte-preloader-so-simple/46487 "2004-03-25T00:53:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![valpez1](https://avatars.discourse-cdn.com/v4/letter/v/958977/32.png) [@valpez1](https://forum.kirupa.com/u/valpez1)\
**Post date:** [March 25, 2004, 12:53am UTC](https://forum.kirupa.com/t/mx-kilobyte-preloader-so-simple/46487/1 "2004-03-25T00:53:26Z")

</div>

Hi Kirupians, i have a preloader question, yes another preloader question im sorry. I have my preloader set up rightnow to display a loadbar and the load percentage. However, what i would like to do is have the Dynamic text box display, for example:  
“56 of 200 kilobytes loaded”

This is my current code:

[AS]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);  
}[/AS]

I’m sure this is a very basic question, so mind taking 10 seconds to let me know how? Thanks everyone 🙂

Victor.
