# Why wont the mc unload?

**URL:** https://forum.kirupa.com/t/why-wont-the-mc-unload/220628
**Category:** Uncategorized
**Created:** [March 27, 2007, 8:30pm UTC](https://forum.kirupa.com/t/why-wont-the-mc-unload/220628 "2007-03-27T20:30:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![yabai](https://avatars.discourse-cdn.com/v4/letter/y/958977/32.png) [@yabai](https://forum.kirupa.com/u/yabai)
#### Post date: [March 27, 2007, 8:30pm UTC](https://forum.kirupa.com/t/why-wont-the-mc-unload/220628/1 "2007-03-27T20:30:35Z")

</div>

hi,

i am stuck and it is driving me nuts…

i followed a tutorial to load a movie clip inside a container mc so that i can dictate the position it load into. here is the code below.

strategy.onPress = function () {  
\_root.createEmptyMovieClip(“container”, 3);  
loadMovie(“strategy.swf”, “container”);  
container.\_x = 500 ;  
container.\_y = 45 ;  
}

this works and loads the external mc…however i need a way to unload it. the external mc has a button with the following code in it:

on(release) {  
unloadMovie(3);  
}

but this doesn’t work… can anyone let me know why? any help would be great. thanks.
