# Unloading a movie

**URL:** <https://forum.kirupa.com/t/unloading-a-movie/282805>\
**Category:** flash\
**Created:** [February 26, 2009, 5:15pm UTC](https://forum.kirupa.com/t/unloading-a-movie/282805 "2009-02-26T17:15:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iDave](https://avatars.discourse-cdn.com/v4/letter/i/9f8e36/32.png) [@iDave](https://forum.kirupa.com/u/iDave)\
**Post date:** [February 26, 2009, 5:15pm UTC](https://forum.kirupa.com/t/unloading-a-movie/282805/1 "2009-02-26T17:15:57Z")

</div>

Hey,

I have a problem. I can’t seem to unload a movie, I’ve tried every possible actionscript code and still it won’t go away.

My objective is to run in the main stage a sub menu and for that I’ve done sub pages each one with a previous and next button (inside the movie that will be loaded), and that’s the catch. I can’t put the loadMovieNum in 0 level because it would replace the main stage. So I’m trying to do on the button:

on (release) {  
unloadMovieNum(1); // it was loaded into level 1  
loadMovieNum(“new\_item.swf”,1); // he overlays both movies with transparency  
}

Is there anyway to remove the actual movie and replace it with the new one?  
Please do help :crazy: going nuts
