# Load and unload external swfs

**URL:** <https://forum.kirupa.com/t/load-and-unload-external-swfs/240449>\
**Category:** Uncategorized\
**Created:** [October 3, 2007, 2:12am UTC](https://forum.kirupa.com/t/load-and-unload-external-swfs/240449 "2007-10-03T02:12:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pimsme](https://avatars.discourse-cdn.com/v4/letter/p/ebca7d/32.png) [@pimsme](https://forum.kirupa.com/u/pimsme)\
**Post date:** [October 3, 2007, 2:12am UTC](https://forum.kirupa.com/t/load-and-unload-external-swfs/240449/1 "2007-10-03T02:12:49Z")

</div>

I have a small problem,(among many others…) i am loading an external swf using:

this.onRelease = function(){  
loadMovieNum (“contentLondon.swf”,50)  
}

So the ext SWF loads on top of my main SWF, but i have other buttons that will load other ext SWF’s. What i would like to do is when an ext SWF is loaded and the user choses to click another link from the main SWF, i would like to have the already loaded one “unload” so that the new one can load in place of it.

If anyone has suggestion to how to accomplish this i would appreciate it, Thanks in advance for any and all help…
