最近完成了一个项目,在测试的时候,发现采用遮罩层无法遮挡住flash,使得flash在最上层,找了很多方法,比如隐藏,添加“
<param name="wmode" vlaue="opaque" />”,
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" id="chart" width="800" height="300" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="flash/main.swf" />
<param name="wmode" value="opaque"/>
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="flashvars" value="url=&checkbox=false&showline=true" />
<embed flashvars="url=&checkbox=false&showline=true" src="flash/main.swf" quality="high" wmode="opaque" bgcolor="#ffffff" width="800" height="300" name="chart" align="middle" allowScriptAccess="sameDomain" wmode="transparent" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer_cn" />
</object>
这个就非常奇怪了。原来的问题是我把value拼写为vlaue,晕倒!
浪费了我一个小时时间,我在调整类似于Z-INDEX,无论添加到多少都没效果,杯具!