# Quit button

**URL:** <https://forum.kirupa.com/t/quit-button/102261>\
**Category:** Uncategorized\
**Created:** [February 21, 2004, 2:22pm UTC](https://forum.kirupa.com/t/quit-button/102261 "2004-02-21T14:22:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![berkoWitZ](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@berkoWitZ](https://forum.kirupa.com/u/berkoWitZ)\
**Post date:** [February 21, 2004, 2:22pm UTC](https://forum.kirupa.com/t/quit-button/102261/1 "2004-02-21T14:22:36Z")

</div>

What´s the AS for a quit button?? I want to open a small window when the user clics on a button, and have a quit button on the corner, thanks!

---

<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:** [February 21, 2004, 2:48pm UTC](https://forum.kirupa.com/t/quit-button/102261/2 "2004-02-21T14:48:53Z")

</div>

```auto
//to close a projector
fscommand("quit");
//to close the browser window
getURL("java **** script:window.close()");

```

And please try searching the forum next time, there are a bunch of threads about this.

---

<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:** [February 21, 2004, 2:51pm UTC](https://forum.kirupa.com/t/quit-button/102261/3 "2004-02-21T14:51:38Z")

</div>

Thanks kode, i really don´t know why I didn´t search, thanks again

---

<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:** [February 21, 2004, 2:52pm UTC](https://forum.kirupa.com/t/quit-button/102261/4 "2004-02-21T14:52:44Z")

</div>

Ok. No problem. 🙂

---

<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:** [February 21, 2004, 4:45pm UTC](https://forum.kirupa.com/t/quit-button/102261/5 "2004-02-21T16:45:43Z")

</div>

I got a problem I searched but I don´t understand, check my site [http://www.framecreation.com/Flash.htm](http://www.framecreation.com/Flash.htm) in experiemtnos clic on the little circle, a new SWF opens but I don´t know how to close it and return to experimentos
