# Help making close browser button

**URL:** <https://forum.kirupa.com/t/help-making-close-browser-button/308718>\
**Category:** Uncategorized\
**Created:** [April 28, 2010, 8:19pm UTC](https://forum.kirupa.com/t/help-making-close-browser-button/308718 "2010-04-28T20:19:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rata](https://avatars.discourse-cdn.com/v4/letter/r/e68b1a/32.png) [@rata](https://forum.kirupa.com/u/rata)\
**Post date:** [April 28, 2010, 8:19pm UTC](https://forum.kirupa.com/t/help-making-close-browser-button/308718/1 "2010-04-28T20:19:42Z")

</div>

I didn’t find good working code that can close the INTERNET EXPLORER browser window.  
I tried this code:  
on (release) {  
getURL(“FSCommand:quit”,"\_self");  
}

when I run the FLASH file, It is cloing. but when this flash file embaded in HTML file, nothing happends.

thank’s
