加上<param name=”wmode” value=”transparent”>后,在IE里面flash是透明的,但要想在火狐里面透明,还需要在embed标签里面加上wmode=”transparent”,代码如下:
<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="1024" height="768"> <param name="movie" value="/index.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent"> <embed src="/index.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1024" height="768"></embed> </object>