on (release) {
unloadMovie(container);
_root.mainmenu.createEmptyMovieClip("container",1);
loadMovie("menu.swf","container");
container._x = -8.8 ;
container._y = 0 ;
}
unloadMovie(container);
I dont see a problem with that, would make sense to make sure there's a container movieclip to unload before actually unloading.
_root.mainmenu.createEmptyMovieClip("container",1);
ok, so you're creating a new empty movieclip inside mainmenu movieclip.
loadMovie("menu.swf","container");
hmmm this is weird. you're saying load the movie menu.swf into container. but don't you have to give the path where "container" exist?
like this...
_root.mainmenu.container.loadMovie("menu.swf");
i believe thats the problem.
container._x = -8.8 ;
container._y = 0 ;
same thing here. you created container inside another movieclip...you need to give the path to it.