Unloading a .swf within a container mc

i used the following AS to create a container mc, then load an external .swf into the container. I would like to remove the loaed .swf with a button contained within the loaded .swf??? any suggestions?

but.onPress = function () {
createEmptyMovieClip(“container”, 1);
loadMovie(“loaded.swf”, “container”);
container._x = -300 ;
container._y =-50 ;
}
_root.onMouseDown = function () {
startDrag (“container”,false) ;
}
_root.onMouseUp = function () {
stopDrag () ;
}