Close button on a swf file

I am trying to figure out how to make an external swf file close. I have a semi-transparent swf fiile that is loaded over top of another swf file and I want to be able to close that semi-transparent swf file.

Any help would be appreciated.