# What is wrong with that preloader?

**URL:** https://forum.kirupa.com/t/what-is-wrong-with-that-preloader/138077
**Category:** Uncategorized
**Created:** [February 19, 2005, 8:04pm UTC](https://forum.kirupa.com/t/what-is-wrong-with-that-preloader/138077 "2005-02-19T20:04:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![e\_sarbak](https://avatars.discourse-cdn.com/v4/letter/e/eb9ed0/32.png) [@e\_sarbak](https://forum.kirupa.com/u/e_sarbak)
#### Post date: [February 19, 2005, 8:04pm UTC](https://forum.kirupa.com/t/what-is-wrong-with-that-preloader/138077/1 "2005-02-19T20:04:58Z")

</div>

I did a preloader and on put the codes on a movieclip  
Here is the code

```auto
 
onClipEvent(enterFrame){
 _root.total = Math.round(_root.getBytesTotal/1024) + " kb";
 _root.loadet = Math.round(this.getBytesLoaded/1024) + " kb";
 _root.percent = Math.round(_root.getBytesLoaded / _root.getBytesTotal)*100 + "%";
 this._xscale = Math.round(_root.getBytesLoaded / _root.getBytesTotal)*50
} 

```

Why doesnt it work :h:
