# Closing fullscreen window

**URL:** https://forum.kirupa.com/t/closing-fullscreen-window/191683
**Category:** Uncategorized
**Created:** [June 22, 2006, 8:45am UTC](https://forum.kirupa.com/t/closing-fullscreen-window/191683 "2006-06-22T08:45:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dcem](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@dcem](https://forum.kirupa.com/u/dcem)
#### Post date: [June 22, 2006, 8:45am UTC](https://forum.kirupa.com/t/closing-fullscreen-window/191683/1 "2006-06-22T08:45:18Z")

</div>

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){  
getURL(“javascript:window.close();”)  
}

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

Macromedia has stopped a potentially safe operation :-/

Heeeeeelp
