# Help!... Need to unload movie

**URL:** <https://forum.kirupa.com/t/help-need-to-unload-movie/96939>\
**Category:** Uncategorized\
**Created:** [December 15, 2003, 6:15pm UTC](https://forum.kirupa.com/t/help-need-to-unload-movie/96939 "2003-12-15T18:15:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Foolio](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@Foolio](https://forum.kirupa.com/u/Foolio)\
**Post date:** [December 15, 2003, 6:15pm UTC](https://forum.kirupa.com/t/help-need-to-unload-movie/96939/1 "2003-12-15T18:15:17Z")

</div>

I am trying to figure out what as i need to unload my movie clip. Here is the AS i used:

annie.onPress = function() {  
\_root.createEmptyMovieClip(“container”, 1);  
loadMovie(“annie.swf”, “container”);  
container.\_x = 380;  
container.\_y = 190;  
};  
aveQ.onPress = function() {  
\_root.createEmptyMovieClip(“container”, 1);  
loadMovie(“aveQ.swf”, “container”);  
container.\_x = 380;  
container.\_y = 190;  
};

Problem is I only want it to show in one scene and it is covering everything on the other scenes as well or “Pages” .  
Need help fast am under the gun on this one!!!

thx,  
Foolio

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 15, 2003, 8:05pm UTC](https://forum.kirupa.com/t/help-need-to-unload-movie/96939/2 "2003-12-15T20:05:39Z")

</div>

or alternatively you can:  
-set the visibility to 0  
-set the alpha to 0  
-switch depth to put it under other objects (considering they are on the same layer)  
-go to a blank frame of ‘container’ clip

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 15, 2003, 8:28pm UTC](https://forum.kirupa.com/t/help-need-to-unload-movie/96939/3 "2003-12-15T20:28:33Z")

</div>

out of curiosity - is it any more or less processor intensive to load and unload the same MC when buttons are pressed than it is to swap depths or make things visible/invisible? Is there a method that is preferred? Not per person but how it effects the computer.
