# Preloader freezes in Explorer

**URL:** <https://forum.kirupa.com/t/preloader-freezes-in-explorer/279812>\
**Category:** Uncategorized\
**Created:** [January 19, 2009, 4:57pm UTC](https://forum.kirupa.com/t/preloader-freezes-in-explorer/279812 "2009-01-19T16:57:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bimyou](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@bimyou](https://forum.kirupa.com/u/bimyou)\
**Post date:** [January 19, 2009, 4:57pm UTC](https://forum.kirupa.com/t/preloader-freezes-in-explorer/279812/1 "2009-01-19T16:57:11Z")

</div>

Works fine in firefox. However in IE, movie loads fine first time, but if the page refreshes, it hangs at the preloader. May be a classic problem, I see it mentioned a lot, but I haven’t been able to find any easy work-around. Of course, once the movie is loaded remotely, it’s cached, so not sure how to tell IE that. Tried various other things like Math.round and pcent \>= 99 to no avail.

Here is the code:

```auto

import flash.display.*;
this.stop();
this.loaderInfo.addEventListener (ProgressEvent.PROGRESS, PL_LOADING);

function PL_LOADING(event:ProgressEvent):void {
     var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
     lbar.scaleX=pcent/100;
     lpc.text=int(pcent)+"%";

if(pcent==100){
     this.gotoAndPlay("start");
     }
}

```

thanks
