I am developing an application in Adobe Air which requires constant use of the entire screen. I am aware of changing the StageDisplayState to FULL_SCREEN and have done so. However, when I press the escape key on my keyboard the application is resized to a small window. Is there any way of avoiding such behavior?
Handle KEY_PRESS event. And do e.preventDefault() if key pressed is ESC key.
or just maximize()
I was hoping a more elegant solution exists, but your suggestions did the trick.