网页flash透明背景问题求助
dreamweaver cs版本插入flash时背景透明,<param name="wmode" value="transparent" />这代码怎么不起作用了。
HTML code
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','550','height','400','src','123','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','123' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="550" height="400">
<param name="movie" value="123.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="123.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object></noscript>
在8.0以前的版本是里插入flash<param name="wmode" value="transparent" />这代码是可以透明的,但如果安装了flash player11 后,背景就变成黑色了,今天试着用cs3插入,但发现却不能透明,请求解决方法。
------解决方案--------------------
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" name="3d_curve_wall" width="1001" height="376" align="middle" id="3d_curve_wall">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="swf/flash_banner.swf" />
<param name="wmode" value="transparent">
<param name="quality" value="high" />
<param name="bgcolor" value="#fff" />
<embed src="swf/flash_banner.swf" quality="high" bgcolor="#fff" width="1001" height="376" name="3d_curve_wall" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" />
</object>
<object width="100%" height="100%" type="application/x-shockwave-flash" data="http://ziyuan.iiyi.com/pub/fl/FlexPaperViewer.swf" name="_0282043566" id="_0282043566">
<param value="true" name="allowfullscreen">
<param value="always" name="allowscriptaccess">
<param value="high" name="quality">
<param value="SwfFile=http%253A//img.yineitong.com/source/index.php/s/91/270&Scale=1&ZoomTransition=easeOut&ZoomTime=0.5&ZoomInterval=0.2&FitWidthOnLoad=true&MinZoomSize=0.2&MaxZoomSize=3&InitViewMode=Portrait&ViewModeToolsVisible=true&ZoomToolsVisible=true&NavToolsVisible=true&CursorToolsVisible=true&SearchToolsVisible=true&localeChain=zh_CN" name="flashvars">
</object>
自己找出 原因吧 好像透明 要用两个地方 我的这个 多次用到 都能做到透明 希望对你有用