Small loadmovie problem

I’m working on a small portfolio project that showcases different work in areas such as web, logo design, print, ect

my project

each section is a different MC and within the MC’s there are buttons that load movies into a container.

web2.onPress = function() {
createEmptyMovieClip(“container”, 1);
loadMovie(“web2.swf”, “container”);
container._x = -120;
container._y = -320;
};
web1.onPress = function() {
createEmptyMovieClip(“container”, 1);
loadMovie(“web1.swf”, “container”);
container._x = -120;
container._y = -320;
};

when I press “web” then button 1, or 2 for example it loads the specified movie, and the old movie disapears.

However If i then click on a new MC like logo and then example 9 it loads the movie on top of it without dissapearing.

I’d like to be able to press the numbers of any section and have whatever movie is on the stage disapear.

Is this possible?

[AS]
web1.onPress = function() {
conunloadMovie("_root.container");
loadMovie(“web1.swf”, “container”);
container._x = -120;
container._y = -320;
};
[/AS]

Thanks for the reply, but it doesn’t seem to work, the movies within “web” unload when I press the button, but like before they stay on the stage when i click one of the buttons in “logo”

I’m probably missing a step somewhere, but i’ve double checked the actionscript and everything seems fine.

i think this has been asked before. try searching the forums under soemthing like “checking for data” or “checking data on stage” something along those lines should turn something up.

well when i did something like this I made one movie clip ahead of time and loaded all my movies into it instead of creating empty clips each time. That way they unload automatically