在页面最下面放上如下的代码就可以了
<script> <br><br>function flashrun() <BR>{ <BR> var d=document.getElementsByTagName("object") <BR> for(x=0;x<d.length;x++) <BR> { <BR> var a=String(d[x].classid) <BR> if(a!="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000")continue <BR> var aw=d[x].width <BR> var ah=d[x].height <BR> var sr="" <BR> var d1=d[x].getElementsByTagName("param") <BR> for(xx=0;xx<d1.length;xx++) <BR> { <BR> if(d1[xx].name=="move")sr=d1[x].value <BR> } <BR> if(sr!="") <BR> var t='<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" WIDTH='+aw+' HEIGHT='+ah+'>' <BR> +'<PARAM NAME=movie VALUE="'+sr+'">' <BR> +'<PARAM NAME=wmode VALUE=transparent>' <BR> +'<PARAM NAME=loop VALUE=true>' <BR> +'<PARAM NAME=quality VALUE=high>' <BR> +'<EMBED src="'+sr+'" loop=true wmode=opaque quality=high swLiveConnect=FALSE WIDTH='+aw+' HEIGHT='+ah+' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">' <BR> +'' <BR> d[x].outerHTML=t <BR> } <BR>} <br><br></script>