在專案中遇到了一個困惑好久的問題,今天終於解決了。其實解決方法很簡單。 直接上程式碼: 複製程式碼 程式碼如下: <BR>// For version detection, set to min. required Flash Player version,或 0 (or 0.0.0), for no version detection. <BR>var swfVersionStr = "11.1.0"; <BR>// To use express install, set to playerProductInstall.swf, otherwise the empty string. var xiSwfUrlStr = "playerProductInstall.swf"; <BR>var flashvars = {}; <BR>var params = {}; <BR>params.quality = "high"; <BR>params.bgcolor = "#ffff"; <BR>params.allowscriptaccess = "sameDomain"; <BR>params.allowfullscreen = "true"; <BR><strong><span style="font-size:24px;color:#ff0000;">params.wmode== "opaque"; //處理遮住div的問題,add by javaalpha at 2014-2-10 15:44:51 <BR><BR>