苏黎世说什么语言:学习笔记——Flash音画加入图片的代码

来源:百度文库 编辑:九乡新闻网 时间:2024/05/15 22:50:33
          多福老人欢迎您                   http://qwp43.360doc.com

Flash音画加入图片的代码
代码:

src=http://mw1.0437.gov.cn/mw/xiumu/06/15_3/images/200551612281412.swf
width=600 height=480 type=application!/x-shockwave-flash
wmode="transparent">


src="http://userimage2.360doc.com/10/0823/45/2572160_20100823457400738.jpg"
width=300>



代码说明:
1)代码中上半部是音画代码
2代码中下半部是图片代码
其中
style="FILTER: alpha(style=2,opacity=100, finishopacity=0);
是雾化代码
WIDTH: 356px;  HEIGHT:261px是图片的尺寸
CURSOR: hand; 可不写


对图片定位
n=center可不写
3)简化形式






4)align=center和 style="MARGIN-TOP: -350px; MARGIN-LEFT: 10px"
n=center配合是为音画与图片重合;  -350px是由实验调整确定的。
5)type=application!/x-shockwave-flash wmode="transparent"
6)style="FILTER: alpha(style=2,opacity=100,finishopacity=0); 是雾化
7)CURSOR: hand可不写
1、代码中
http://mw1.0437.gov.cn/mw/xiumu/06/15_3/images/200551612281412.swf
为flash音画地址,您可以换成任何您喜欢的音画地址。
2、代码中http://userimage2.360doc.com/10/0823/45/2572160_20100823457400738.jpg
为自己头像/照片的地址。

',1)">
上面是赌图片的雾化与音画的效果
总效果为
',2)">alig

这里的定位技巧是:水平置中,上下实验调整。
注意

的使用。
关于MARGIN-TOP: -350px; MARGIN-LEFT: 10px"参阅
CSS教程(转载)