怎样才能让背景的透明flash在火狐里也透明啊?

来源:百度知道 编辑:UC知道 时间:2024/07/08 01:30:56
<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=234 align=right height=198><PARAM NAME="movie" VALUE="/channeloneflash1.swf"><PARAM NAME="quality" VALUE="high"><PARAM NAME="wmode" VALUE="transparent">
<embed src="/channeloneflash1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="234" height="198" value="transparent"></embed></OBJECT>

这样写只能在IE里是透明的,但在火狐里是一块白色的,这么高怎么解决啊?

在<embed 里也要添加透明代码:wmode=="transparent"

<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=234 align=right height=198><PARAM NAME="movie" VALUE="/channeloneflash1.swf"><PARAM NAME="quality" VALUE="high"><PARAM NAME="wmode" VALUE="transparent">
<embed src="/channeloneflash1.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="234" height="198" value="transparent&quo