HTML网页中插入透明FLASH

最简单的插入Flash的代码,透明,无坐标控制:
  注意wmode=”transparent”是控制Flash是否透明显示的,如果不想让他显示为透明的,直接把wmode=”transparent”去掉即可。

<EMBED height=60 pluginspage=http://www.macromedia.com/go/getflashplayer src=/flash.swf type=application/x-shockwave- width=468 wmode=”transparent” quality=”high”></EMBED>

Swf透明、绝对坐标控制

<EMBED style=”LEFT: 60px; WIDTH: 468px; POSITION: absolute; TOP: 200px; HEIGHT: 1000px” align=right src=flash/flash.swf width=568 height=60 type=application/octet-stream ;; quality=”high” wmode=”transparent”>

Swf透明、相对坐标控制

主要是使用表格作为容器,把Flash“装”到表格里,这样不管浏览者把浏览器拉多大,Flash永远和表格一起动。

<table border=”0″ cellPadding=”0″ cellSpacing=”0″ width=600 height=382 align=center
background=flash/backgroud.jpg>
<TD width=600 height=382><EMBED pluginspage=http://www.macromedia.com/go/getflashplayer
src=flash/flash.swf width=”100%” height=”100%”
type=application/x-shockwave-flash wmode=”transparent”
quality=”high”></EMBED></TD></td></table>

发表评论

邮箱地址不会被公开。 必填项已用*标注

click to changeSecurity Code