Preloading issue

I have a preloader with the following code


this.loaderInfo.addEventListener(ProgressEvent.PRO GRESS, onProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);

function onProgress(e:ProgressEvent):void
var loaded:Number =;
var total:Number =;
var pct:Number = loaded/total;
loader_mc.scaleX = pct;
loaded_txt.text = “Loading…” +(Math.round(pct * 100)) + “%”;

function onComplete(e:Event):void

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.