网页中插入FLASH(swf文件)的html代码
一、简单插入flash图像
<embed src="你的flash地址.swf" width="300" height="220"></embed>
二、调整插入flash图像
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="468" height="60"> <param name=movie value="你的flash地址" ref> <param name=quality value=High> <param name="_cx" value="12383"> <param name="_cy" value="1588"> <param name="FlashVars" value> <param name="Src" ref value="你的flash地址"> <param name="WMode" value="Window"> <param name="Play" value="-1"> <param name="Loop" value="-1"> <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="你的flash地址" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60"> </embed></object>
四、插入透明flash
<object classid="clsid27CDB6E-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="center"> <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="center" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>
frontpage插入透明flash代码
<embed src="fish1.swf" quality=high width=50 height=50 wmode=transparent type=‘application/x-shockwave-flash‘></embed> <!-- wmode=transparent这一段是设置背景透明-->
插入透明FLASH
<embed src="***/***.swf" quality=high width=100% height=100% wmode=transparent type=‘application/x-shockwave-flash‘>
透明flash覆盖
<EMBED align=right src=http://ysxiong.anyp.cn/PageLayout/UserDataA/Data53/USID200403062012220031/Articles/Images/040917060055890.swf width=1000 height=606 type=application/x-shockwave-flash wmode="transparent" quality="high"></EMBED>
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。