透明FLASH的基本使用方法和示范



所有跟贴·加跟贴·论坛主页

送交者: 红叶 于 February 06, 2006 09:43:43:

使用透明FLASH可以给你的画面增加情绪和动感,透明FLASH可以在下边的网站查找:
http://218.56.0.54/ourtimes/flash/index.asp?page=1
我介绍一下在图片上加入透明FLASH的几种基本方式,大家可以举一反三做出最好的效果.

一,图片上加一张透明FLASH:
<TABLE height=320 cellSpacing=0 cellPadding=0 width=430 background=http://look.newgx.com.cn/pic1/20050624/b7c7b7689bdb8ad36ff7fe9f1f8a94c09_68956.jpg border=1 bortercolor="#000000"><TBODY><TR><TD><P align=center><EMBED src=http://218.56.0.54/ourtimes/flash/9.swf width=430 height=320 type=application/x-shockwave-flash wmode="transparent" menu="false" quality="high" tybe="application/x-shockwave-flash"> </P></TD></TR></TBODY></TABLE>

效果展示如下"


二:给你加的FLASH定位:有时候我们需要FLASH加在特定的地方才能有特定的效果,比如
上次扇子的这个贴,哪个发光的FLASH如果不定位在北京效果就很滑稽了.http://www2.bbsland.com/articleReader.php?idx=153206
CODE如下 <TABLE height=320 cellSpacing=0 cellPadding=0 width=430 background=http://look.newgx.com.cn/pic1/20050624/b7c7b7689bdb8ad36ff7fe9f1f8a94c09_68956.jpg border=1 bortercolor="#000000"><TBODY><TR><TD><P align=center><EMBED style="TOP: 0px" pluginspage=http://www.macromedia.com/go/getflashplayer src=http://imgfree.21cn.com/free/flash/53.swf width=430 height=320 type=application/x-shockwave-flash quality="high" wmode="transparent"></P></TR></TBODY></TABLE></EMBED>

效果展示如下


和“透明flash特效(1)”中播放flash的代码部分比较, 大家会注意到唯一区别是style="POSITION: LEFT: 0px; TOP: 0px;"。 代码的意义一目了然: 指定flash的显示位置。POSITION: absolute 是告诉浏览器,下面指定的示位置是页面上的绝对坐标 (以象素为单位, 左上角为页面原点(0,0), 坐标向下和向右增加)。“LEFT: 0px; TOP: 0px;”指定flash的左上角坐标。 这儿我用的是TABLE的原点, 好让落花从图片顶端就开始了。

三,加俩个重叠的FLASH
<TABLE height=328 cellSpacing=0 cellPadding=0 width=420 background=http://look.newgx.com.cn/pic1/20050624/b7c7b7689bdb8ad36ff7fe9f1f8a94c09_68956.jpg border=1 bortercolor="#000000"><TBODY><TR><TD>
<P align=center><EMBED align=right src=http://218.56.0.54/ourtimes/flash/9.swf width=300 height=250 type=application/x-shockwave-flash wmode="transparent" menu="false" quality="high" tybe="application/x-shockwave-flash"><EMBED align=right src=http://218.56.0.54/ourtimes/flash/51.swf width=420 height=185 type=application/x-shockwave-flash wmode="transparent" menu="false" quality="high" tybe="application/x-shockwave-flash"> <BR></P></TD></TR></TBODY></TABLE>

效果展示


四:加两个上下并列的FLASH
<TABLE height=328 cellSpacing=0 cellPadding=0 width=420 background=http://look.newgx.com.cn/pic1/20050624/b7c7b7689bdb8ad36ff7fe9f1f8a94c09_68956.jpg border=1 bortercolor="#000000"><TBODY><TR><TD>
<P align=center><EMBED src=http://218.56.0.54/ourtimes/flash/59.swf width=400 height=150 type=application/x-shockwave-flash tybe="application/x-shockwave-flash" quality="high" menu="false" wmode="transparent"> <BR><BR><EMBED src=http://218.56.0.54/ourtimes/flash/51.swf width=400 height=150 type=application/x-shockwave-flash tybe="application/x-shockwave-flash" quality="high" menu="false" wmode="transparent"></P></TD></TR></TBODY></TABLE>

效果展示







所有跟贴:


加跟贴

笔名: 密码(可选项): 注册笔名请按这里

标题:

内容(可选项):

URL(可选项):
URL标题(可选项):
图像(可选项):


所有跟贴·加跟贴·论坛主页