# Preloader. uncomplete!

**URL:** <https://forum.kirupa.com/t/preloader-uncomplete/184371>\
**Category:** flash\
**Created:** [April 4, 2006, 6:19pm UTC](https://forum.kirupa.com/t/preloader-uncomplete/184371 "2006-04-04T18:19:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gllanci](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@gllanci](https://forum.kirupa.com/u/gllanci)\
**Post date:** [April 4, 2006, 6:19pm UTC](https://forum.kirupa.com/t/preloader-uncomplete/184371/1 "2006-04-04T18:19:39Z")

</div>

Hi all

With this script how can I add a textfield that shows the percentage and how can I make e MC that comes out with opactiy from 0% to 100% same as the percentage!

as code

this.onEnterFrame = function() {  
var amount:Number = this.getBytesLoaded() / this.getBytesTotal() \*100;  
loader.\_xscale = amount;  
if(amount == 100) {  
this.gotoAndPlay(3);  
delete this.onEnterFrame;  
}  
}

thnx in advanceee  
gllanci

---

<div class="post-metadata">

**Author:** ![gllanci](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@gllanci](https://forum.kirupa.com/u/gllanci)\
**Post date:** [April 4, 2006, 8:43pm UTC](https://forum.kirupa.com/t/preloader-uncomplete/184371/2 "2006-04-04T20:43:59Z")

</div>

☹ ???
