# Count down Preloader

**URL:** <https://forum.kirupa.com/t/count-down-preloader/42854>\
**Category:** flash\
**Created:** [February 13, 2004, 5:49pm UTC](https://forum.kirupa.com/t/count-down-preloader/42854 "2004-02-13T17:49:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdalton](https://avatars.discourse-cdn.com/v4/letter/k/f14d63/32.png) [@kdalton](https://forum.kirupa.com/u/kdalton)\
**Post date:** [February 13, 2004, 5:49pm UTC](https://forum.kirupa.com/t/count-down-preloader/42854/1 "2004-02-13T17:49:57Z")

</div>

Hi everyone

Is there an easy way to make my simple preloader count down?

I followed this expert tutorial (ok [Kirupa.com](http://Kirupa.com));

bytes\_loaded = Math.round(this.getBytesLoaded());  
bytes\_total = Math.round(this.getBytesTotal());  
getPercent = bytes\_loaded/bytes\_total;  
this.loadBar.\_width = getPercent_280.9;//width of my bar  
this.loadText = Math.round(getPercent_10);//counts up to 10  
if (bytes\_loaded == bytes\_total) {  
this.gotoAndPlay(3);  
}  
Any advice is more than welcome.  
Cheers  
Chief
