代码如下:
代码一、
<EMBED style="LEFT: 0px; POSITION: absolute; TOP: 20px; absolute: " align=right src=地址 width=800 height=600 type=application/x-shockwave-flash wmode="transparent" quality="high" ;;>
代码二、
FLASH透明代码
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash
/swflash.cab#version=6,0,29,0" width="610" height="206"
style="position: absolute; left: -3; top: 51">
<param name="_cx" value="11113">
<param name="_cy" value="4763">
<param name="FlashVars" value>
<param name="Movie" value="guang.swf">
<param name="Src" value="guang.swf">
<param name="WMode" value="Transparent">
<param name="Play" value="0">
<param name="Loop" value="-1">
<param name="Quality" value="High">
<param name="SAlign" value>
<param name="Menu" value="-1">
<param name="Base" value>
<param name="AllowScriptAccess" value="always">
<param name="Scale" value="ShowAll">
<param name="DeviceFont" value="0">
<param name="EmbedMovie" value="0">
<param name="BGColor" value>
<param name="SWRemote" value>
<param name="MovieData" value><embed
src="images/flashobj/szbest.swf" wmode="transparent"
quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer";;
type="application/x-shockwave-flash" width="420"
height="180"></object>
代码三、
在插入flash的代码中插入<param name="wmode" value="transparent">即可实现flash背景透明
如:
< td width="375" height="88" rowspan="2" valign="bottom" background="images/tu.jpg"><!--设置单元格背景为图片背景(当然要放一个好看的了) -->
< object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="373" height="166" align="middle">
<param name="movie" value="images/move.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent"> <!--这里代码可使Flash背景透明 -->
<embed src="images/move.swf" width="373" height="166" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>
< /td>
以上代码适合dreamweaver插入的flash代码,如果是在frontpage插入flash代码设置如下:
< embed src="fish1.swf" quality=high width=50 height=50 wmode=transparent type='application/x-shockwave-flash'></embed>
< !-- wmode=transparent这一段是设置背景透明-->
直接设置flash参数为wmode 值:transparent
!评论内容需包含中文