I'm trying to make an app run fullscreen and found this code:
window.nativeWindow.stage.displayState = runtime.flash.display.StageDisplayState.FULL_SCREEN
This works but I lose keyboard input. The flash bit makes me think that's taking over the keyboard, kind of like the same way you can't use the shortcut to open a new tab on a browser after clicking a flash object.
Any way to get around this?
We have two modes for full screen, StageDisplayState.FULL_SCREEN and StageDisplayState.FULL_SCREEN_INTERACTIVE. The first just resizes your application in full screen however you cannot interact with it. All the controls like input fields and buttons are disabled. The last one, StageDisplayState.FULL_SCREEN_INTERACTIVE, does allow the user to interact with your application.
Give this a try.
It works, of course