*Want to close the present window before going to the url page

Hi,
I’m using the script below to go to url function in actionscript 3, and it works fine:

[COLOR=red]btn.addEventListener(MouseEvent.CLICK,e);

function e(e:MouseEvent):void{
navigateToURL(new URLRequest(“http://www.angelfire.com/in/HisTruth/copyofindex.html”));
}[/COLOR]

[COLOR=blue]It’s fine but I want the first window to close and then open up into the one its pointing to.[/COLOR]
How should I add the correct script to this?

Tseyigai