Flash wmode 不透明在 Facebook 上运行缓慢
当将 wmode 设置为“不透明”(或透明)时,我的 Flash 应用程序在 Facebook 上变得很慢。当移动鼠标时(即使在屏幕的一小块区域),我会特别注意到它,如果我不移动鼠标,那么速度似乎不会发生。也许是因为它也将所有事件发送到 Facebook?
当使用 wmode=window 时,它工作正常。
我想要使用 opaque 的原因是能够在其顶部显示 Facebook 覆盖层,这样 Facebook 下拉菜单就不会被 flash 对象隐藏。
谢谢。
When setting wmode to "opaque" (or transparent) my flash app becomes slow on Facebook. I can particularly notice it when moving the mouse around (even on a tiny area of the screen), if I don't move the mouse then the slowdown doesn't seem to happen. Maybe its because its sending all events to facebook too?
When using wmode=window then it works fine.
The reason I want to use opaque is to be able to display Facebook overlays on top of it, and so the Facebook dropdown menu doesnt get hidden by the flash object.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,没有解决办法。除了窗口(默认)之外的 wmode 都非常消耗资源。我对 FB 应用程序了解不多,但也许您可以使用 jQuery 或其他东西将播放器浮动在模型窗口中的内容上方?
Unfortunately, there's no solution. The wmodes other than window (default) are just terribly resource intensive. I don't know much about FB apps, but perhaps you could float the player above the content in a model window using jQuery or something?