Welcome to Delicate template
Header
Just another WordPress site
Header

让flash背景在火狐里面也透明

12月 10th, 2010 | Posted by 无 名 in flash

加上<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>

You can follow any responses to this entry through the RSS 2.0 Both comments and pings are currently closed.