Closing fullscreen window

Hi Everyone

I know this has probably been asked before but i have followed other peoples tutes and I still come up with a problem. I want to create a button that closes down a fullscreen window.

At the moment i have a button with the following AS.

on (release){

when i press the button It does nothing in IE and in MZ it says:

Macromedia has stopped a potentially safe operation :-/