# On (release) run .swf?

**URL:** <https://forum.kirupa.com/t/on-release-run-swf/94927>\
**Category:** Uncategorized\
**Created:** [November 18, 2003, 2:53pm UTC](https://forum.kirupa.com/t/on-release-run-swf/94927 "2003-11-18T14:53:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SpiritDancer](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@SpiritDancer](https://forum.kirupa.com/u/SpiritDancer)\
**Post date:** [November 18, 2003, 2:53pm UTC](https://forum.kirupa.com/t/on-release-run-swf/94927/1 "2003-11-18T14:53:09Z")

</div>

Hi,

I am developing a simple flash website see here --\>  
[http://dialspace.dial.pipex.com/town/pipexdsl/s/asbs17/Robertson%20Godfrey/](http://dialspace.dial.pipex.com/town/pipexdsl/s/asbs17/Robertson%20Godfrey/)

This loads a new .swf file (on release - open URL) when the user selects one of the option buttons i.e. home, about RG, etc.

However, this is causing IE to freeze, it works fine if I open an html file which contains the .swf file?? but not if I reference the .swf file direct.

Should I have a different html page for each swf file?

what am I doing wrong?

I saw this code on one of the examples:  
on (release) {  
\_root.contents.loadMovie(“locations.swf”);  
}

but I’m not sure how to apply this to my site to try it?? what does the \_root.contents. refer to??

Thanks in advance.
