# Preloader Help

**URL:** <https://forum.kirupa.com/t/preloader-help/241658>\
**Category:** Uncategorized\
**Created:** [October 16, 2007, 5:31pm UTC](https://forum.kirupa.com/t/preloader-help/241658 "2007-10-16T17:31:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![inphluence](https://avatars.discourse-cdn.com/v4/letter/i/5e9695/32.png) [@inphluence](https://forum.kirupa.com/u/inphluence)\
**Post date:** [October 16, 2007, 5:31pm UTC](https://forum.kirupa.com/t/preloader-help/241658/1 "2007-10-16T17:31:22Z")

</div>

Ok, Im a complete noob when it comes it this:

I know this is probably a easy change but i can’t seem to figure it out.

I want the code below to start playing at 25% and continue loading as it plays, please help:

**Frame 1 AS:**  
bytestotal = getBytesTotal();

**ON A MOVIE CLIP:**  
onClipEvent(enterFrame){  
\_root.bytesloaded = \_root.getBytesLoaded();  
\_root.percentloaded = Math.round(100\*(\_root.bytesloaded/\_root.bytestotal));  
if(\_root.bytesloaded == \_root.bytestotal)  
{  
\_root.play();  
}  
setProperty(\_root.loadingbar,\_xscale,\_root.percent loaded);  
}

Thanks in advanced.
