# Buttons are messing up?

**URL:** https://forum.kirupa.com/t/buttons-are-messing-up/289524
**Category:** Uncategorized
**Created:** [June 1, 2009, 12:16pm UTC](https://forum.kirupa.com/t/buttons-are-messing-up/289524 "2009-06-01T12:16:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![iggyotis](https://avatars.discourse-cdn.com/v4/letter/i/b9bd4f/32.png) [@iggyotis](https://forum.kirupa.com/u/iggyotis)
#### Post date: [June 1, 2009, 12:16pm UTC](https://forum.kirupa.com/t/buttons-are-messing-up/289524/1 "2009-06-01T12:16:01Z")

</div>

Hi guys,

I am having trouble with unload an loading movies. Basically I am loading a movie into a container, which works a charm:

graphicsbut.onRelease = function() {

```
_root.createEmptyMovieClip("container",1);
loadMovie("Graphics/Graphics.swf","container");
container._x = -22 ;
container._y = 0 ;

```

}

And then I want to load another movie above this one, also working:  
Dyson\_hit.onRelease = function()  
{  
Dyson\_mc.gotoAndPlay(“out”);  
loadMovieNum(“Graphics/Catwalks.swf”, 2);  
disableBtns();  
}

But NOW the problem…I want to unload them both when a close button is pressed?  
Ideally I would like to add that second movie clip into a container so I can position it correctly, but when I try copying the code I use on the first it doesn’t seem to work…is it to do with the “root” bit perhaps?
