# Quit / Exit Button :S sorry im new

**URL:** <https://forum.kirupa.com/t/quit-exit-button-s-sorry-im-new/102094>\
**Category:** Uncategorized\
**Created:** [February 19, 2004, 7:01pm UTC](https://forum.kirupa.com/t/quit-exit-button-s-sorry-im-new/102094 "2004-02-19T19:01:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ernestlai](https://avatars.discourse-cdn.com/v4/letter/e/46a35a/32.png) [@Ernestlai](https://forum.kirupa.com/u/Ernestlai)\
**Post date:** [February 19, 2004, 7:01pm UTC](https://forum.kirupa.com/t/quit-exit-button-s-sorry-im-new/102094/1 "2004-02-19T19:01:41Z")

</div>

Hi, really sorry, i am VERY new to flash :S

Closing Projector Movies:

on (release) {  
fscommand(“quit”);  
}

I assume this closes the projector instantly, can i make one that asks for confirmation first?

Like “Are you sure you wish to close the CD Yes / No”

---

<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 19, 2004, 7:46pm UTC](https://forum.kirupa.com/t/quit-exit-button-s-sorry-im-new/102094/2 "2004-02-19T19:46:42Z")

</div>

no, but you could make a movie clip that opened up when you pressed that button, that ‘looked’ like a confirmation window. Then in that confirmation window put the fscommand on the ‘yes’ button.  
so:  
your exit button:

```auto

on (release) {
confimationMC.gotoandPlay(2); //confimationMC is the instance name of your MC, 
}

```

confirmation MC has two buttons:  
“yes” button:

```auto

on (release) {
fscommand("quit");
}

```

no button:

```auto
on (release) {
gotoandStop(1); // tells the confimationMC timline that this button is on to go to a frame
}

```

as far as the specific code in regards to frames and whatnot, you’ll have to come up that, but hopefully that will get you headed in the right directionn.
