Unloading a swf and loading a new one

i ask stupid qustions but i dont know the answers…
ok so my movie plays till frame 165 than stops and theres a button on that frame when you click it plays the rest of the movie till frame 200
on the 200th frame i need the movie playin to be deleted off the “container” MC
and a new movie to be loaded into it…
something like

“unloadMovie(enter.swf);
loadMovie(main.swf);”

but not… any help would be greatly appreciated…