Plzz help how to unload swf

Can sm1 plz tell me how to load an external swf by pressing a button and at the same time that swf on which button has been pressed is removed…plzz tell the syntax!