# Detecting screen change from FullScreen to Normal mode

**URL:** <https://forum.kirupa.com/t/detecting-screen-change-from-fullscreen-to-normal-mode/287157>\
**Category:** Uncategorized\
**Created:** [April 27, 2009, 1:33pm UTC](https://forum.kirupa.com/t/detecting-screen-change-from-fullscreen-to-normal-mode/287157 "2009-04-27T13:33:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [April 27, 2009, 1:33pm UTC](https://forum.kirupa.com/t/detecting-screen-change-from-fullscreen-to-normal-mode/287157/1 "2009-04-27T13:33:58Z")

</div>

Hi

I´m using these lines to make the site fullscreen:

```auto

//fullscreen
var full:Boolean = false;
aviso_mc.full_btn.onRelease = function() {
	Stage["displayState"] = Stage["displayState"] == "fullScreen" ? "normal" : "fullScreen";
	_root.full = true;
gotoAndPlay(3);
};

```

how can I detect when the user press ESC and change to normal mode?

Thanks
