# Is it possible to override the exit() function?

**URL:** https://forum.kirupa.com/t/is-it-possible-to-override-the-exit-function/269135
**Category:** flash
**Created:** [August 23, 2008, 7:09am UTC](https://forum.kirupa.com/t/is-it-possible-to-override-the-exit-function/269135 "2008-08-23T07:09:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![unhitched](https://avatars.discourse-cdn.com/v4/letter/u/b38774/32.png) [@unhitched](https://forum.kirupa.com/u/unhitched)
#### Post date: [August 23, 2008, 7:09am UTC](https://forum.kirupa.com/t/is-it-possible-to-override-the-exit-function/269135/1 "2008-08-23T07:09:09Z")

</div>

I’m wanting to display a splash asking the user if they really want to exit when the NativeApplication.nativeApplication.exit() method is called. I’m listening for Event.EXITING but can’t seem to override the actual exit() function.
