开发者

Flash swf sometimes squashed when wmode = transparent or opaque on website

开发者 https://www.devze.com 2022-12-29 18:04 出处:网络
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

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 withi开发者_运维百科n 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?


Try setting the height and width of the element you're targeting with SWFObject in CSS.

0

精彩评论

暂无评论...
验证码 换一张
取 消