Text input fields not work in flex when full screened

本文讨论了Flash在全屏模式下由于安全限制而禁用键盘输入的问题,并介绍了如何通过使用Adobe AIR来实现全屏模式并允许键盘输入的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

in Full Screen Mode due to security restrictions, in that someone could build a swf that spoofs some action on your machine... for instance displaying a mimic desktop that has a dialogue up asking the user to enter their live ID and password. There are probably loads of other sinister uses that adobe want to avoid by disabling keyboard input.

But If you're okay with using AIR instead of Flex you can run in full-screen mode with full keyboard input enabled:
Setting the displayState property of the Stage to StageDisplayState.FULL_SCREEN_INTERACTIVE places the window in full-screen mode, and keyboard input is permitted in this mode. (In SWF content running in a browser, keyboard input is not permitted). To exit full-screen mode, the user presses the Escape key.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值