# CS3 AS 2.0 Close window in ALL browsers, Please?

**URL:** <https://forum.kirupa.com/t/cs3-as-2-0-close-window-in-all-browsers-please/299696>\
**Category:** flash\
**Created:** [November 9, 2009, 7:09pm UTC](https://forum.kirupa.com/t/cs3-as-2-0-close-window-in-all-browsers-please/299696 "2009-11-09T19:09:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nutbolt1](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@nutbolt1](https://forum.kirupa.com/u/nutbolt1)\
**Post date:** [November 9, 2009, 7:09pm UTC](https://forum.kirupa.com/t/cs3-as-2-0-close-window-in-all-browsers-please/299696/1 "2009-11-09T19:09:03Z")

</div>

Hi

I have looked around for this and haven’t found a way that clearly explains how to do this. More often than not the button will close the browser window in one but not another browser.

Is the a simple way of closing a browser window in all types of browser ( Or mainly Firefox, IE and safari on both Mac and PC ) with actionscript?

Thank in advance
