用代码制作简单音画
(在大背景图上叠加Flash动画)
<DIV align=center> <TABLE borderColor=#87ceeb cellSpacing=5 cellPadding=0 width=800 align=center border=20> <TBODY> <TR> <TD> <TABLE style="WIDTH: 800px; HEIGHT: 2500px" borderColor=#9370db cellSpacing=1 cellPadding=1 background=背景图片地址 border=1> <TBODY> <TR> <TD> <IMG style="Z-INDEX: 2; FILTER: alpha(opacity=100,finishopacity=0,style=2); LEFT: 150px; WIDTH: 600px; POSITION: absolute; TOP: 200px; BORDER-COLLAPSE: collapse; HEIGHT: 600px" src="小图片地址1"> <IMG style="Z-INDEX: 2; FILTER: alpha(opacity=100,finishopacity=0,style=2); LEFT: 290px; WIDTH: 640px; POSITION: absolute; TOP: 900px; BORDER-COLLAPSE: collapse; HEIGHT: 465px" src="小图片地址2"> <IMG style="Z-INDEX: 2; FILTER: alpha(opacity=100,finishopacity=0,style=2); LEFT: 70px; WIDTH: 410px; POSITION: absolute; TOP: 1500px; BORDER-COLLAPSE: collapse; HEIGHT: 440px" src="小图片地址3"> <EMBED style="LEFT: 290px; WIDTH: 400px; POSITION: absolute; TOP: 300px; HEIGHT: 400px" align=right src=Flash动画地址1 type=application/x-shockwave-flash allowNetworking="internal" allowScriptAccess="never" quality="high" invokeurls="false" wmode="transparent"> <EMBED style="LEFT: 150px; WIDTH: 700px; POSITION: absolute; TOP: 800px; HEIGHT: 500px" align=right src=Flash动画地址2 type=application/x-shockwave-flash allowNetworking="internal" allowScriptAccess="never" quality="high" invokeurls="false" wmode="transparent"> <EMBED style="LEFT: 80px; WIDTH: 780px; POSITION: absolute; TOP: 1150px; HEIGHT: 500px" align=right src=Flash动画地址3 type=application/x-shockwave-flash allowNetworking="internal" allowScriptAccess="never" quality="high" invokeurls="false" wmode="transparent"> <EMBED style="LEFT: 80px; WIDTH: 780px; POSITION: absolute; TOP: 1550px; HEIGHT: 500px" align=right src=Flash动画地址4 type=application/x-shockwave-flash allowNetworking="internal" allowScriptAccess="never" quality="high" invokeurls="false" wmode="transparent"> <EMBED style="LEFT: 80px; WIDTH: 700px; POSITION: absolute; TOP: 2050px; HEIGHT: 550px" align=right src=Flash动画地址5 type=application/x-shockwave-flash allowNetworking="internal" allowScriptAccess="never" invokeurls="false" wmode="transparent"> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
<P align=center><EMBED height=0 type=audio/mpeg width=0 src=背景音乐地址 wmode="transparent" invokeurls="false" allowScriptAccess="never" allowNetworking="internal"></P>
说明:
1、把你喜欢的图片和动画、音乐,将其地址填入到代码中对应的红色部位;
2、WIDTH: 500px; HEIGHT: 350px 宽度和高度根据实际调整;
3、Flash动画定位参考《透明flash动画在背景上的定位》(图片定位也适用)http://wk311900.blog.163.com/blog/static/39846155200901834526555/。
效果图
| |
|