# Check my preloader pleeeeease

**URL:** <https://forum.kirupa.com/t/check-my-preloader-pleeeeease/156051>\
**Category:** Uncategorized\
**Created:** [July 22, 2005, 2:32am UTC](https://forum.kirupa.com/t/check-my-preloader-pleeeeease/156051 "2005-07-22T02:32:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![intergalactic](https://avatars.discourse-cdn.com/v4/letter/i/f17d59/32.png) [@intergalactic](https://forum.kirupa.com/u/intergalactic)\
**Post date:** [July 22, 2005, 2:32am UTC](https://forum.kirupa.com/t/check-my-preloader-pleeeeease/156051/1 "2005-07-22T02:32:10Z")

</div>

i created a preloader movie clip (instance name: loadBar) 100 frames long…it’s a logo filling up…put it in the first frame of my movie and added this script to it directly:

onClipEvent(load) {  
\_parent.stop();  
}  
onClipEvent (enterFrame) {  
var pctLoaded\_num:Number = Math.round(\_parent.getBytesLoaded()/\_parent.getBytesTotal()\*100);  
this.gotoAndStop(pctLoaded\_num);  
if (\_parent.\_framesloaded == \_parent.\_totalframes) {  
\_parent.gotoAndPlay(“start”);  
preloader\_bool = false;  
delete this.onEnterFrame;  
}  
}

obviously, i named my second frame “start” and made it an anchor

however, the preloader doesn’t work…the whole movie loads (takes forever by the way) the first frame flashes and then the rest of the movie plays…no PRE-loading…help please…this has been killing me for wks now and i’ve tried so many different preloader codes  
here’s the website if you wanna see what happens:  
[www.jenniferjeanneboutique.com](http://www.jenniferjeanneboutique.com)
