HTML中的Flash动画如何插入?
2022-12-14 · 百度认证:北京惠企网络技术有限公司官方账号
一、简单插入flash图像<embed src="你的flash地址.swf"width="300" height="220"></embed>
二、调整插入flash图像
<table border="0" cellPadding="0" cellSpacing="0" width="100%"><tr><td height="210" background="背景图片.jpg"><object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0 height=210 width=750><param name="movie" value="路径/文件名称.swf"><param name="quality" value="high"><param name="wmode" value="transparent"><embed src="路径/文件名称.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="750" height="210" wmode="transparent"></embed></object></td></tr></table>
三、插入透明flash
1、dreamweaver插入透明flash代码:
<td width="375" height="88" rowspan="2" valign="bottom"background="images/tu.jpg"><!--设置单元格背景为图片背景(当然要放一个好看的了) --><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>
</td>
2、frontpage插入透明flash代码:
<embed src="fish1.swf" quality=high width=50 height=50wmode=transparent type='application/x-shockwave-flash'></embed>
3、插入透明FLASH:
<embed src="***/***.swf" quality=high width=100% height=100%
wmode=transparent type='application/x-shockwave-flash'>6
4、透明flash覆盖代码:
<EMBED style="LEFT: 0px; POSITION: absolute; TOP: 0px; absolute: " 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>