flash - 如何在全屏模式下启用键盘输入?

标签 flash actionscript-3 actionscript fullscreen

我听说 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/

相关文章:

php - 清理 HTML 格式的内容以便在 Flash 中显示?

flash - 在 Spark 列表中设置项目渲染器的透明度

actionscript-3 - 循环遍历 Flash 中的对象属性

actionscript-3 - AIR 移动嵌入式字体

actionscript-3 - ActionScript 3 缩放和滚动问题

apache-flex - 如何在ActionScript中暂停执行

ios - 如何将 jpg 文件添加到 ipa 并使用 FileStream 类加载它们

apache-flex - 嵌入 swf 后会发生什么?

c# - 如何将二进制文件从actionScript 发送到.net?

apache-flex - 如何从匿名组件中删除事件监听器?