event.preventDefault() is supposed to work with disabling the esc key in air 1.5.2, but I have had no success.
this link is the code that is supposed to work
I listen to the keyDown event, but when i get to the handler it's too late, flash already pass to normal screen...
Is there other way to keep the application in fullscreen?
this worked with a recent nightly sdk
<?xml version="1.0" encoding="utf-8"?>
protected function windowedapplication1_applicationActivateHandler(event:AIREvent):void
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
private function stopesc(e:KeyboardEvent): void
if( e.keyCode == Keyboard.ESCAPE )
protected function button1_clickHandler(event:MouseEvent):void
<s:Button x="302" y="296" label="Button" click="button1_clickHandler(event)"/>
10x for the tip, verryyyy strange but it worked.
I created a new project, copied the app descriptor to my project, and it
works. i tried to investigate it with no success....
Thanks a lot for your help,