# SWF won't initialize after refresh in IE

**URL:** <https://forum.kirupa.com/t/swf-wont-initialize-after-refresh-in-ie/311559>\
**Category:** flash\
**Created:** [July 10, 2010, 1:47am UTC](https://forum.kirupa.com/t/swf-wont-initialize-after-refresh-in-ie/311559 "2010-07-10T01:47:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spyderfx](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Post date:** [July 10, 2010, 1:47am UTC](https://forum.kirupa.com/t/swf-wont-initialize-after-refresh-in-ie/311559/1 "2010-07-10T01:47:33Z")

</div>

I’m having trouble finding a workaround to get IE to play my SWF again after a user refreshes the page.

Here is the part of my preloader code that isn’t initializing:

```auto

function PL_LOADING(event:ProgressEvent):void {
    var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
    lbar.scaleX=pcent/100;
    ltext.text=int(pcent)+"%";
    if(pcent==100){
        this.gotoAndPlay("start");
    }
}

```

I’ve tried a few different things, none of them worked.

Thanks
