# Preloader HELP!

**URL:** <https://forum.kirupa.com/t/preloader-help/67741>\
**Category:** flash\
**Created:** [October 19, 2004, 9:30am UTC](https://forum.kirupa.com/t/preloader-help/67741 "2004-10-19T09:30:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![siutsun](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@siutsun](https://forum.kirupa.com/u/siutsun)\
**Post date:** [October 19, 2004, 9:30am UTC](https://forum.kirupa.com/t/preloader-help/67741/1 "2004-10-19T09:30:07Z")

</div>

This maybe kinda a old question . but i still stuck on it =( . i have a .swf have 5 scene. but i dont want to preload the whole file all the time . i want to make the preloader scene by scene. any one can teach me how to do it?

here is my preloader:

bytes = \_root.getBytesTotal();  
\_root.totaloutput.text = bytes;  
bytesloaded = \_root.getBytesLoaded();  
\_root.loadedoutput.text = bytesloaded;  
percent = Math.floor(getBytesLoaded()/getBytesTotal()\*100);  
\_root.percentoutput.text = percent + “% is loaded”;  
\_root.loadBar.\_xscale = percent;
