# Unloading a swf and loading a new one

**URL:** https://forum.kirupa.com/t/unloading-a-swf-and-loading-a-new-one/74233
**Category:** Uncategorized
**Created:** [December 26, 2004, 6:57am UTC](https://forum.kirupa.com/t/unloading-a-swf-and-loading-a-new-one/74233 "2004-12-26T06:57:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![funforsome](https://avatars.discourse-cdn.com/v4/letter/f/958977/32.png) [@funforsome](https://forum.kirupa.com/u/funforsome)
#### Post date: [December 26, 2004, 6:57am UTC](https://forum.kirupa.com/t/unloading-a-swf-and-loading-a-new-one/74233/1 "2004-12-26T06:57:55Z")

</div>

i ask stupid qustions but i dont know the answers…  
ok so my movie plays till frame 165 than stops and theres a button on that frame when you click it plays the rest of the movie till frame 200  
on the 200th frame i need the movie playin to be deleted off the “container” MC  
and a new movie to be loaded into it…  
something like

“unloadMovie(enter.swf);  
loadMovie(main.swf);”

but not… any help would be greatly appreciated…
