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