在项目中遇到了一个困惑好久的问题,今天终于解决了。其实解决方法很简单。
直接上代码:
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
// For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
var swfVersionStr = "11.1.0";
// To use express install, set to playerProductInstall.swf, otherwise the empty string.
var xiSwfUrlStr = "playerProductInstall.swf";
var flashvars = {};
var params = {};
params.quality = "high";
params.bgcolor = "#ffffff";
params.allowscriptaccess = "sameDomain";
params.allowfullscreen = "true";
<strong><span style="font-size:24px;color:#ff0000;">params.wmode= "opaque";</span></strong> //处理遮住div的问题,add by javaalpha at 2014-2-10 15:44:51