I have a desktop application that runs with a transparent masked border, so since it's not a fullscreen application i have <fullScreen>false</fullScreen> in the app descriptor. BUT I'd like to be able to switch to fullscreen mode in some instances. I try to do so with:
|stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;|
But this doesn't seem to work. The app is still not fullscreen after issuing that line. I suppose it's because of the descriptor, but if I set <fullScreen>true</fullScreen> the app will start fullscreen, which I don't necessarily want (usually it's a windowed application with transparent chrome).
So is this possible?
I have a desktop app using <fullScreen>false</fullScreen> in the app descriptor and have no problems switching between fullscreen mode or windowed mode just by setting stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE; or stage.displayState = StageDisplayState.NORMAL;
There may be something else at play causing the fullscreen mode to fail.
I also toggle fullscreen using this method and it works fine for me. My app descriptor has <fullscreen>true</fullscreen>, but the documentation in the generated app descriptor claims that <fullscreen> is only used for mobile apps.