Flash AS3 全屏无法在平板电脑上运行
我有一个 Flash(AS3、CS3)片段,其中有一个按钮可以使该片段全屏显示。
stage.displayState=StageDisplayState.FULL_SCREEN;
除了平板电脑之外,这在我测试过的所有计算机上都表现良好(HP 2710p 是我必须测试的唯一平板电脑,但我听说所有平板电脑上都会发生相同的行为)。
有谁知道这个问题的原因或解决方法?
谢谢
附加:
缩放模式设置为完全适合,但我也尝试了其他选项:
stage.scaleMode = StageScaleMode.EXACT_FIT;
I have a Flash (AS3, CS3) piece that has a button that will make the piece go full screen.
stage.displayState=StageDisplayState.FULL_SCREEN;
This works great in all of the computers that I have tested it in except a tablet PC (HP 2710p is the only tablet I have to test on, but I hear the same behavior happens on all tablets).
Does anyone know the reason for this issue or a work around?
Thanks
Additional:
The scale mode is set to exact fit, but I have tried the other options as well:
stage.scaleMode = StageScaleMode.EXACT_FIT;
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在论坛上找到了该问题的答案。事实证明,在平板电脑上,必须关闭硬件加速,Flash 才能全屏显示。
您可以通过右键单击 Flash 片段,选择设置,然后在第一个选项卡中取消选中“启用硬件加速”来关闭硬件加速。
I found the answer to the issue on a forum. It turns out that on tablet PCs, you have to turn off hardware acceleration for Flash to go full screen.
You can turn off hardware acceleration by right clicking on the Flash piece, selecting settings, then in the first tab, uncheck "Enable hardware acceleration".