How to enable keyboard input in full screen mode?

I heard that flash script 3 action disables keyboard interaction in full screen mode. How to turn on.

+4
source share
2 answers

Keyboard entry, with the exception of a few keys (see below), is not available in full screen mode for security reasons.
You cannot enable these (if you are not working on the air or stand-alone player)

Full-screen mode is launched in response to a mouse click or keystroke by a user; a movie cannot modify Stage.displayState without user input. Flash Player restricts keyboard input in full screen mode. Valid keys include keyboard shortcuts that end full-screen mode and non-printable keys, such as arrows, spacebar, Shift keys, and keys . Shortcuts that complete the full screen mode are Escape (Windows, Linux, and Mac), Control + W (Windows), Command + W (Mac), and Alt + F4.

http://livedocs.adobe.com/flex/3/langref/flash/display/Stage.html#displayState

+9
source

As with Flash 11.3, there is a way.

You need to enter full screen mode with this code:

stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE; 

And add the parameter to the HTML:

 <param name="allowFullScreenInteractive" value="true" /> 
+5
source

Source: https://habr.com/ru/post/1313636/


All Articles