把flash背景透明代码记一下,老是忘记。
在object标签里加参数
而且在embed标签里也要加上wmode=”transparent”,不然的有些浏览器也会不透明。
代码如下:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="500" height="500"> <param name="movie" value="flash/flash.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <embed src="flash/flash.swf" quality="high" wmode="transparent" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="500" height="500"></embed> </object>