Hi everyone,
I have a preloader which works fine in FF but not in IE. it just stays at frame 1.
any ideas?
[SIZE=1]
stop();
this.addEventListener(Event.ENTER_FRAME, loading);
function loading(e:Event):void {
var total:Number = this.stage.loaderInfo.bytesTotal;
var loaded:Number = this.stage.loaderInfo.bytesLoaded;
lbar.scaleX = loaded/total;
ltext.text = Math.floor((loaded/total)*100)+ "%";
if (total == loaded) {
nextFrame();
this.removeEventListener(Event.ENTER_FRAME, loading);
}
}[/SIZE]