flash背景透明的代码在IE中能显示正常:
<objectclassid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"width="760"height="160">
<paramname="movie"value="webjx_com.swf">
<paramname="wmode"value="transparent">
<embedsrc="webjx_com.swf"quality="high"pluginspage="http://www.macromedia.com/go/getflashplayer"type="application/x-shockwave-flash"width="760"height="160"></embed>
</object>
但在Firefox浏览器却发现出现透明的Flash没有透明的效果,在Mozilla,Firefox浏览器中起作用的是这个标签<embed></embed>那这样,在<embed>标签内加入属性wmode="transparent"就可以实现flash背景透明,修改代码如下:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="836" height="488">
<param name="movie" value="flash/project.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="flash/project.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="836" height="488" wmode="transparent"></embed>
</object>
这样在两个主流浏览器上都可以实现flash透明了