解決FLASH於IE6會出現「請按一下來啟動並使用此控制」

至官網Adobe下載JS檔 (http://download.macromedia.com/pub/developer/activecontent_samples.zip),將壓縮檔內的二個.js檔複製到存放網頁處,其檔名為:AC_RunActiveContent.jsAC_ActiveX.js

修改網頁的方法如下:

(1) 使用時在網頁<HEAD>...</HEAD>標籤內中加入兩行

<script src="AC_RunActiveContent.js" type="text/javascript"></script>

<script src="AC_ActiveX.js" type="text/javascript"></script>

(2) 原本的SWF檔名、寬度、高度記錄起來,將以下資料刪除

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,19,0" width="924" height="122">

<param name="movie" value="SWF檔名.swf" />

<param name="quality" value="high" />

<embed src="xxx.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="924" height="122"></embed>

</object>

    改寫成以下資料(用複製/貼上比較快):

<script type="text/javascript">

AC_FL_RunContent( "codebase","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,19,0","width","寬度","height","高度","src","SWF檔名","quality","high","pluginspage","http://www.macromedia.com/go/getflashplayer","movie","SWF檔名" );

</script>

注意:SWF檔名裡面不需填寫 .swf 附檔名