当网站上的 wmode = 透明或不透明时,Flash swf 有时会被挤压
当我在网站上的 Flash 元素上设置 wmode = 透明(或不透明)时,我在所有浏览器上都遇到问题。我想在 flash 元素之上覆盖一些 HTML 内容,这工作得很好,但由于某种原因,flash 元素中的不同组件有时会显得被压扁,并且不在正确的视角中。这种情况不会一直发生,并且如果我删除 wmode 参数也根本不会发生。我以前从未真正遇到过这种情况,事实上,它偶尔会在所有平台和浏览器上发生,这意味着这绝对是我需要解决的问题。我使用 jQuery 的 Flash 嵌入插件将静态内容替换为 Flash 内容,但这在过去从来都不是问题。
有人知道会发生什么吗?
I have a problem on all browsers when I set wmode = transparent (or opaque) on a flash element on my site. I want to overlay some HTML content on top of the flash element, and this works fine, but for some reason the different components within the flash element are sometimes appearing squashed and not in the correct perspective. This does not happen all of the time, and does not happen at all if I remove the wmode parameter. I've never actually come across this before, and the fact that it is occasionally happening on all platforms and browsers means that this is definitely a problem I need to sort out. I use jQuery's Flash embed plugin to replace static content with the flash content, but this has never been a problem in the past.
Anyone have an idea what could be happening?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试使用 CSS 中的 SWFObject 设置目标元素的高度和宽度。
Try setting the height and width of the element you're targeting with SWFObject in CSS.