做模板的时候遇到播放不了flash的问题
<!--{block name="spacenews" parameter="haveattach/1/showattach/1/order/i.dateline DESC/limit/0,5/cachetime/1800/subjectlen/40/cachename/huanden/tpl/data"}--><!--自定义首页资讯幻灯片-->
<TR>
<TD vAlign=top width=417 bgColor=FEFEFE height=200>
<script type="text/javascript">
var varText = ""
function addInfo(title,photourl,link){
if(varText!=""){
varText+="|||";
}
varText+=title+"|_|"+photourl+"|_|"+link;
}
linkarr = new Array();
picarr = new Array();
textarr = new Array();
<!--{eval $i=0;}-->
<!--{loop $_SBLOCK['huanden'] $key $value}-->
linkarr[$i] = "<!--{eval echo url_remake($value['url']);}-->";
picarr[$i] = "$value[a_thumbpath]";
textarr[$i] = "$value[subject]";
<!--{eval $i++;}-->
<!--{/loop}-->
addInfo(textarr[1],picarr[1],linkarr[1]);
addInfo(textarr[2],picarr[2],linkarr[2]);
addInfo(textarr[3],picarr[3],linkarr[3]);
addInfo(textarr[4],picarr[4],linkarr[4]);
addInfo(textarr[5],picarr[5],linkarr[5]);
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="410" height="200" id="01" align="middle">')
document.write('<param name="allowScriptAccess" value="sameDomain" />')
document.write('<param name="movie" value="{S_URL}/templates/$_SCONFIG[template]/plus/img/01.swf?info='+varText+'" />')
document.write('<param name="quality" value="high" />')
document.write('<param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" />')
document.write('<embed src="{S_URL}/templates/$_SCONFIG[template]/plus/img/01.swf" quality="high" bgcolor="#ffffff" width="410" height="200" name="01" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />')
document.write('</object>')
</script>
</TD></TR></TBODY></TABLE>
<TD vAlign=top width=253 b |