欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

《网页透明FLASH代码的使用 》

程序员文章站 2022-07-07 09:53:10
...
网页透明FLASH代码的使用

--------------------------------------------------------------------------------


1.基本透明Flash代码:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="517" height="149">
<param name="movie" value="http://www.wosowoso.com/flash/13/woso_c_flash_15.swf">
<param name="quality" value="High">
<param name="wmode" value="transparent"> <!--这里代码可使Flash背景透明 -->
<embed src="http://www.wosowoso.com/flash/13/woso_c_flash_2.swf" width="605" height="136" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
<param name="bgcolor" value="#800000"></object>


2.多个透明flash重叠代码
<EMBED style="LEFT: 164; POSITION: absolute; TOP: 119; height:101px; width:534px"align="right" pluginspage=http://www.macromedia.com/go/getflashplayer src=http://www.wosowoso.com/flash/13/woso_c_flash_15.swf type=application/x-shockwave-flash wmode="transparent" quality="high">
<EMBED style="LEFT: 136; POSITION: absolute; TOP: 53; height:361px; width:578px"align="right" pluginspage=http://www.macromedia.com/go/getflashplayer src=http://www.wosowoso.com/flash/13/woso_c_flash_3.swf  type=application/x-shockwave-flash wmode="transparent" quality="high">
<EMBED style="LEFT: 362; POSITION: absolute; TOP: 191; height:188px; width:263px"align="right" pluginspage=http://www.macromedia.com/go/getflashplayer src=http://www.wosowoso.com/flash/4/woso_flash_13.swf type=application/x-shockwave-flash wmode="transparent" quality="high"><center>

给FLASH加上超链接代码
<button style="width:644;height:85;background:transparent;border:o;padding:0;cursor:hand"
onclick="window.location.href='http://www.wosowoso.com'">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="800" height="100">
             <param name="movie" value="http://www.wosowoso.com/flash/13/woso_c_flash_15.swf">
             <param name="quality" value="high">
              <param name="wmode" value="transparent">
             <embed src="FLash" width="800" height="100" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"
align="middle">
               </embed>
            </object>
</button>


4.透明flash定位代码
A-绝对定位代码
<EMBED style="position: absolute; right: -100; top: -200; width: 750; height: 750; z-index:5" pluginspage=http://www.macromedia.com/go/getflashplayer src=http://www.wosowoso.com/flash/4/woso_flash_25.swf width=750 height=750 type=application/x-shockwave-flash wmode="transparent" quality="high">


B-相对定位代码(您可以*移动FLASH)
<center>
<EMBED style="LEFT: 86; POSITION: absolute; TOP: 44; height:296px; width:402px" align=right src=http://www.wosowoso.com/flash/6/woso_a_flash_16.swf type=application/x-shockwave-flash wmode="transparent" quality="high" ;></embed></center>

相关标签: Flash