# Unload Movie

**URL:** <https://forum.kirupa.com/t/unload-movie/284322>\
**Category:** Uncategorized\
**Created:** [March 18, 2009, 1:21am UTC](https://forum.kirupa.com/t/unload-movie/284322 "2009-03-18T01:21:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thebigG](https://avatars.discourse-cdn.com/v4/letter/t/f14d63/32.png) [@thebigG](https://forum.kirupa.com/u/thebigG)\
**Post date:** [March 18, 2009, 1:21am UTC](https://forum.kirupa.com/t/unload-movie/284322/1 "2009-03-18T01:21:20Z")

</div>

i have a very simple flash project with 3 object on my stage. the first one is a button with the following script:  
on(release) {  
loadMovie (“pano\_final.swf”, “home”)  
}  
home is another movie clip that will load the external swf.  
with the third movie clip i want to unload the movie and return to frame 1 of scene one where my initial button is. since the loaded swf covers everything i used the following code to put the movie clip on the top level  
topmc.swapDepths(999)  
inside the movie clip i have created a button with the following actions  
on (release) {  
unloadMovie(\_root);  
}  
this unloads the movie but leaves me with a blank screen, while i want to return to frame 1 of scene 1!  
help anyone please! 🙂  
by the way, AS2
