在使用wmode =“transparent”,“opaque”或“window”对于网页上的嵌入对象 [英] differences between using wmode="transparent", "opaque", or "window" for an embedded object on a webpage

查看:361
本文介绍了在使用wmode =“transparent”,“opaque”或“window”对于网页上的嵌入对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当使用< object> < embed> 标签嵌入Flash对象时,属性称为 wmode 。看起来大多数情况下, wmode =transparent wmode =opaque相同Flash实际上没有任何透明的颜色,所以底部的HTML元素将被显示。因此, opaque 应该比透明要快,因为它需要较少的透明度处理,但是大部分时候我请参阅嵌入透明而不是不透明的Flash对象。

opaque 是必须的,这样其他HTML元素不会被Flash对象覆盖(比如弹出一个额外子菜单的菜单项不会被被$对象覆盖)。

顺便说一下,是否有正式的文档 wmode 的<$ code> opaque , transparent 窗口?我只能找到描述它的博客,而不是正式的文档。感谢。

解决方案

这里有一些弱点 adobe文档在不同的flash 9 wmode设置。



wmode transparent的注意事项在< a bref =http://bugs.adobe.com/jira/browse/FP-892 =noreferrer> adobe bug trac 。



新的闪存10,是两个新的wmodes:gpu和直接。请参阅 Adob​​e知识基于wmode


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 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).

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.

解决方案

Here is some weak adobe documentation on different flash 9 wmode settings.

A note of caution on wmode transparent is here in the adobe bug trac.

And new for flash 10, are two new wmodes: gpu and direct. Please refer to Adobe Knowledge Base about wmode.

这篇关于在使用wmode =“transparent”,“opaque”或“window”对于网页上的嵌入对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆