have a preloader with the following code
stop();
this.loaderInfo.addEventListener(ProgressEvent.PRO GRESS, onProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
function onProgress(e:ProgressEvent):void
{
var loaded:Number = e.target.bytesLoaded;
var total:Number = e.target.bytesTotal;
var pct:Number = loaded/total;
loader_mc.scaleX = pct;
loaded_txt.text = “Loading…” +(Math.round(pct * 100)) + “%”;
}
function onComplete(e:Event):void
{
nextFrame();
}
It works great with Firefox and Safari on a mac but when viewing in internet explorer on a pc, the loader does not work at all.
Any suggestions.