Creating a button in an external MC that controls the main SWF

How can i do this i have a flash file (MAIN) that loads an external mc (SUB1) onto a new level. On my SUB1 MC i have a close button. How can i make it so if you click on the close button it unloads the SUB1 MC.

this is what i have is it anywhere close?


on (release) {
	_root.removeMovieClip("SUB1.swf");
}