问题描述
当使用 和
标记嵌入 Flash 对象时,有一个名为
wmode
的属性.似乎在大多数情况下,wmode="transparent"
与 wmode="opaque"
相同,因为 Flash 实际上没有任何透明颜色,因此将显示底部 HTML 元素.因此,opaque
应该比 transparent
更快,因为它需要较少的透明度处理,但大多数时候我看到 Flash 对象嵌入了 transparent
而不是 opaque
.
when embedding a Flash object with the <object>
and <embed>
tag, there is an attribute called wmode
. It seems that most of the time, wmode="transparent"
is the same as wmode="opaque"
as the Flash doesn't actually have any transparent color so that the bottom HTML element is to be shown. As a result, opaque
should be faster than transparent
since it requires less processing for transparency, yet most of the time i see Flash object embedded with transparent
instead of opaque
.
opaque
以便其他 HTML 元素不会被 Flash 对象覆盖(例如弹出额外子菜单的菜单项不会被 Flash 对象覆盖)Flash 对象).
opaque
is needed so that other HTML element won't be covered up by the Flash object (such as a menu item that pops up an extra sub-menu won't be covered up by the Flash object).
顺便说一下,wmode
的opaque
、transparent
和window
有正式的文档吗?我只能找到描述它的博客,但找不到正式的文档.谢谢.
By the way, is there formal documentation for wmode
's opaque
, transparent
, and window
? I was only able to find blogs that describe it but not the formal documentation. thanks.
推荐答案
这里有一些弱的 adobe 文档关于不同的 flash 9 wmode 设置.
Here is some weak adobe documentation on different flash 9 wmode settings.
adobe bug trac 中有关 wmode 透明的注意事项.
A note of caution on wmode transparent is here in the adobe bug trac.
Flash 10 新增了两个新的 wmode:gpu 和 direct.请参阅 Adobe 知识关于 wmode 的基础.
And new for flash 10, are two new wmodes: gpu and direct. Please refer to Adobe Knowledge Base about wmode.
这篇关于使用 wmode=“transparent"、“opaque"或“window"之间的区别对于网页上的嵌入对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!