# Is there some sort of LeaveFullscreenEvent?

**URL:** <https://forum.kirupa.com/t/is-there-some-sort-of-leavefullscreenevent/253363>\
**Category:** flash\
**Created:** [February 29, 2008, 3:01pm UTC](https://forum.kirupa.com/t/is-there-some-sort-of-leavefullscreenevent/253363 "2008-02-29T15:01:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rezmason](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rezmason/32/30447_2.png) [@Rezmason](https://forum.kirupa.com/u/Rezmason)\
**Post date:** [February 29, 2008, 3:01pm UTC](https://forum.kirupa.com/t/is-there-some-sort-of-leavefullscreenevent/253363/1 "2008-02-29T15:01:01Z")

</div>

I have a game that runs on AIR, which lets you use the keyboard in fullscreen mode. When the user reverts back to normal viewing mode (by hitting Escape), a lot of things about the game suddenly change, and need to be fixed. I have a function that handles this, but it needs to respond to an event that occurs when the user leaves fullscreen.

I _could_ listen to the keyboard, and check to see if the latest key hit was the Escape key. But my game has a lot of keyboard input, and I believe this might be slowing it down.

Is there just an event that is dispatched when Flash leaves fullscreen?
