FLASH透明背景代码
<param name="WMode" value="Transparent">
这句是针对flash而言
如果flash本身不是透明的话
即时加上也没用。
示例代码如下:
以下是HTML网页特效代码,点击运行按钮可查看效果:
以下是程序代码
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author" CONTENT=""> <META NAME="Keywords" CONTENT=""> <META NAME="Description" CONTENT=""> <META http-equiv="Content-Type" content="text/html; charset=utf-8" /> </HEAD> <BODY> <div style='background-color:red;'> <OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 height=104 width=533 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000> <param name="WMode" value="Transparent"> <PARAM NAME="_cx" VALUE="14102"> <PARAM NAME="_cy" VALUE="2752"> <PARAM NAME="FlashVars" VALUE=""> <PARAM NAME="Movie" VALUE="http://gg.blueidea.com/2007/hp/533x104bbs.swf"> <PARAM NAME="Src" VALUE="http://gg.blueidea.com/2007/hp/533x104bbs.swf"> <PARAM NAME="WMode" VALUE="Opaque"> <PARAM NAME="Play" VALUE="-1"> <PARAM NAME="Loop" VALUE="-1"> <PARAM NAME="Quality" VALUE="AutoHigh"> <PARAM NAME="SAlign" VALUE=""> <PARAM NAME="Menu" VALUE="-1"> <PARAM NAME="Base" VALUE=""> <PARAM NAME="AllowScriptAccess" VALUE=""> <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=""> <PARAM NAME="SeamlessTabbing" VALUE="1"> <PARAM NAME="Profile" VALUE="0"> <PARAM NAME="ProfileAddress" VALUE=""> <PARAM NAME="ProfilePort" VALUE="0"><PARAM NAME="AllowNetworking" VALUE="all"> <PARAM NAME="AllowFullScreen" VALUE="false"> <embed src="http://gg.blueidea.com/2007/hp/533x104bbs.swf" quality=autolow pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="533" height="104"></embed> </OBJECT> </div> <br /> <div style='background-color:red;'> <OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 height=104 width=533 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000> <param name="WMode" value="Transparent"> <PARAM NAME="_cx" VALUE="14102"> <PARAM NAME="_cy" VALUE="2752"> <PARAM NAME="FlashVars" VALUE=""> <PARAM NAME="Movie" VALUE="http://www.innovateda.org/down/flash/3.swf"> <PARAM NAME="Src" VALUE="http://www.innovateda.org/down/flash/3.swf"> <PARAM NAME="WMode" VALUE="Opaque"> <PARAM NAME="Play" VALUE="-1"> <PARAM NAME="Loop" VALUE="-1"> <PARAM NAME="Quality" VALUE="AutoHigh"> <PARAM NAME="SAlign" VALUE=""> <PARAM NAME="Menu" VALUE="-1"> <PARAM NAME="Base" VALUE=""> <PARAM NAME="AllowScriptAccess" VALUE=""> <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=""> <PARAM NAME="SeamlessTabbing" VALUE="1"> <PARAM NAME="Profile" VALUE="0"> <PARAM NAME="ProfileAddress" VALUE=""> <PARAM NAME="ProfilePort" VALUE="0"><PARAM NAME="AllowNetworking" VALUE="all"> <PARAM NAME="AllowFullScreen" VALUE="false"> <embed src="http://gg.blueidea.com/2007/hp/533x104bbs.swf" quality=autolow pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="533" height="104"></embed> </OBJECT> </div> <br /> <div style='background-color:red;'> <OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 height=104 width=533 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000> <PARAM NAME="_cx" VALUE="14102"> <PARAM NAME="_cy" VALUE="2752"> <PARAM NAME="FlashVars" VALUE=""> <PARAM NAME="Movie" VALUE="http://www.innovateda.org/down/flash/3.swf"> <PARAM NAME="Src" VALUE="http://www.innovateda.org/down/flash/3.swf"> <PARAM NAME="WMode" VALUE="Opaque"> <PARAM NAME="Play" VALUE="-1"> <PARAM NAME="Loop" VALUE="-1"> <PARAM NAME="Quality" VALUE="AutoHigh"> <PARAM NAME="SAlign" VALUE=""> <PARAM NAME="Menu" VALUE="-1"> <PARAM NAME="Base" VALUE=""> <PARAM NAME="AllowScriptAccess" VALUE=""> <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=""> <PARAM NAME="SeamlessTabbing" VALUE="1"> <PARAM NAME="Profile" VALUE="0"> <PARAM NAME="ProfileAddress" VALUE=""> <PARAM NAME="ProfilePort" VALUE="0"><PARAM NAME="AllowNetworking" VALUE="all"> <PARAM NAME="AllowFullScreen" VALUE="false"> <embed src="http://gg.blueidea.com/2007/hp/533x104bbs.swf" quality=autolow pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="533" height="104"></embed> </OBJECT> </div> </BODY> </HTML></font>
Word教程网 | Excel教程网 | Dreamweaver教程网 | Fireworks教程网 | PPT教程网 | FLASH教程网 | PS教程网 |
HTML教程网 | DIV CSS教程网 | FLASH AS教程网 | ACCESS教程网 | SQL SERVER教程网 | C语言教程网 | JAVASCRIPT教程网 |
ASP教程网 | ASP.NET教程网 | CorelDraw教程网 |