(MX)need AS to close external swf

I have an external.swf that behaves like a pop up window but have no clue how to turn it off, so my question is what AS i add to a button that would close this window

thx a lot

there’s a couple of things you could try…

set its _visible property to false.
use MovieClip.unloadMovie.
or if you attached or duplicated the movieclip you can use MovieClip.removeMovieClip.