我听说 Flash ActionScript 3 在全屏模式下禁用了键盘交互。我怎样才能启用。
最佳答案
出于安全原因,除了几个键(见下文)之外的键盘输入在全屏模式下不可用。
您不能启用这些 (除非您在 Air 或独立播放器中运行)
Full-screen mode is initiated in response to a mouse click or key press by the user; the movie cannot change Stage.displayState without user input. Flash Player restricts keyboard input in full-screen mode. Acceptable keys include keyboard shortcuts that terminate full-screen mode and non-printing keys such as arrows, space, Shift, and Tab keys. Keyboard shortcuts that terminate 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
关于flash - 如何在全屏模式下启用键盘输入?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3100791/