How do I close a borderless window from flash?

I used that chromeless.js script, deleted some numbers and then I got what I always wanted - a totaly borderless window with no toolbar or anything - just my .swf inside. Now how do I make a button inside that swf, that would close that window without ctrl+alt+del?

Create a button in your flash movie and add the following scripts to it:

on (release) {
&nbsp &nbsp &nbsp &nbsp getURL(“javascript:self.close()”, _self);
}

That’s it!