In an AS3 game (using Flex 4.10.0), I would like to allow players to communicate, even when they are in full screen mode .
So, I use the following ActionScript code (the _fullBox flag starts full-screen mode in my web application):
public function init():void { if (stage.allowsFullScreenInteractive) stage.addEventListener(FullScreenEvent.FULL_SCREEN, handleFullScreen, false, 0, true); } private function toggleFullScreen(event:MouseEvent):void { stage.displayState = stage.displayState == StageDisplayState.NORMAL ? StageDisplayState.FULL_SCREEN_INTERACTIVE : StageDisplayState.NORMAL; } private function handleFullScreen(event:FullScreenEvent):void { _fullBox.selected = event.fullScreen; } <s:CheckBox id="_fullBox" click="toggleFullScreen(event)" label="Full Screen" />
This works in the sense that the full-screen mode is successfully entered, and users can also use the keyboard to communicate.
Unfortunately, clicking the "Allow" button in the dialog box (display "Allow full screen using the control keys?") Is transferred to the web application.
And in my case, it is solved by clicking on the game table in the lobby, as you can see in the screenshot and, therefore, (unwanted) joining the game:

This (bug?) Was seen with Windows 7/64 bit and Flash Player 11,8,800,115.
Can anyone share a good workaround for this?
I was thinking of adding a transparent Sprite or UIComponent above my web application, but the question is when (for example, what methods) show / hide it?
UPDATE:
Calling event.stopPropagation() from handleFullScreen() helps nothing.
UPDATE 2:
I sent Error No. 3623333 to Adobe.
UPDATE 3: Note for me - stage.allowsFullScreenInteractive useless because it is installed only in fullscreen mode.