# Close fullscreen button

**URL:** https://forum.kirupa.com/t/close-fullscreen-button/5473
**Category:** Uncategorized
**Created:** [September 12, 2002, 11:02am UTC](https://forum.kirupa.com/t/close-fullscreen-button/5473 "2002-09-12T11:02:14Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![desper4do](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@desper4do](https://forum.kirupa.com/u/desper4do)
#### Post date: [September 12, 2002, 11:02am UTC](https://forum.kirupa.com/t/close-fullscreen-button/5473/1 "2002-09-12T11:02:14Z")

</div>

how do you create a button that will close the fullscreen browser window (“exit” in top right corner on [www.egomedia.com](http://www.egomedia.com)). i tried to use fscommand(“quit”), and that didnt seem to work. much thx for the help. 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 12, 2002, 11:10am UTC](https://forum.kirupa.com/t/close-fullscreen-button/5473/2 "2002-09-12T11:10:22Z")

</div>

maybe fscommand(“exit”)

I dunno… check it the action script dictionary…its where i always go if i have problems…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 12, 2002, 11:24am UTC](https://forum.kirupa.com/t/close-fullscreen-button/5473/3 "2002-09-12T11:24:40Z")

</div>

tried that. i gotta feeling the button has to call a javascript in the .html file.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 12, 2002, 11:38am UTC](https://forum.kirupa.com/t/close-fullscreen-button/5473/4 "2002-09-12T11:38:30Z")

</div>

yeah fscommand is only for the flash player i think…or projecter files… so u would probably have to use some java script to close the window  
🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 12, 2002, 11:02pm UTC](https://forum.kirupa.com/t/close-fullscreen-button/5473/5 "2002-09-12T23:02:21Z")

</div>

Hi.

You can use self.close(); or just close(); Try it out.

JJ
