嵌入flash对象透明度问题

时间:2011-02-03 20:12:06

标签: javascript html css flash

我希望在没有灰色背景的情况下加载以下flash对象,因为在加载页面时它看起来很糟糕:s

           <object data="http://bandcamp.com/EmbeddedPlayer/track=261125661/size=tall2/bgcol=FFFFFF/linkcol=4285BB//" type="text/html" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="450">
    <param name="movie" value="http://bandcamp.com/EmbeddedPlayer/track=261125661/size=tall2/bgcol=FFFFFF/linkcol=4285BB//"><param name="quality" value="high">
    <param name="allowNetworking" value="always">
<param name="wmode" value="transparent"><param name="bgcolor" value="#FFFFFF">
<param name="allowScriptAccess" value="never">
<object data="http://bandcamp.com/EmbeddedPlayer/track=261125661/size=tall2/bgcol=FFFFFF/linkcol=4285BB//" type="text/html" width="150" height="450"></object></object>

我尝试删除bgcolor值,我在wmode中设置了透明度......有人有建议吗?  提前谢谢

1 个答案:

答案 0 :(得分:3)

试试这个:

<object type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="450">
    <param name="movie" value="http://bandcamp.com/EmbeddedPlayer/track=261125661/size=tall2/bgcol=FFFFFF/linkcol=4285BB//">
    <param name="quality" value="high">
    <param name="allowNetworking" value="always">
    <param name="wmode" value="transparent">
    <param name="bgcolor" value="#FFFFFF">
    <param name="allowScriptAccess" value="never">
    <embed src="http://bandcamp.com/EmbeddedPlayer/track=261125661/size=tall2/bgcol=FFFFFF/linkcol=4285BB//" type="application/x-shockwave-flash" width="150" height="450" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" bgcolor="#ffffff">
    </embed>
</object>