# Preloader Reverse countdown

**URL:** <https://forum.kirupa.com/t/preloader-reverse-countdown/288698>\
**Category:** flash\
**Created:** [May 19, 2009, 9:23pm UTC](https://forum.kirupa.com/t/preloader-reverse-countdown/288698 "2009-05-19T21:23:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatPluto](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/fatpluto/32/2874_2.png) [@fatPluto](https://forum.kirupa.com/u/fatPluto)\
**Post date:** [May 19, 2009, 9:23pm UTC](https://forum.kirupa.com/t/preloader-reverse-countdown/288698/1 "2009-05-19T21:23:36Z")

</div>

Anyone have a way to make a preloader begin at 10, and countdown to 0? - kinda like the oldschool reels in film would do. here’s the code I’m using that displays loading beginning at 0, and ending at 10. Essentially I just want to reverse this.

var loaded:uint = (e.bytesLoaded / e.bytesTotal) \* 10;  
loadProgress\_txt.text = loaded.toString();
