Load movie

here is the code that i am using for my button

on(release){
	loadMovieNum("CG/images/houseGroups/1fs.swf", i);
	i++;
}

and then on the first frame of the timeline i am puttin i=10

so every time the button is clicked it keeps loading on top of the last. this all works fine. my question is:

how do i unload all of the layers that have been loaded. it seems like it should be an unload i< but that does not work or i might be doing it wrong