日期:2014-05-17  浏览次数:20591 次

DEDE里这个页面FLASH不显示是因为什么?
代码是我从仿的网站里复制的,网站另存没有JS文件,修改了imgUrll的图片地址改成了我的图片地址,可是图片却没有显示,是因为没有导入JS文件?还是文件大小?还是bcastr3.swf这个FLASH问题?好烦。

<DIV id=flzx_pic class=floatLeft><!--新闻轮播图 .....--><A href="javascript:goUrl()" 
target=_self>
<SCRIPT type=text/javascript>
imgUrl1="uploadfile/allimg/130304/6958247_105218051336_2.jpg";
imgtext1="1"
imgLink1=escape("http://www.baidu.com");
imgUrl2="uploadfile/allimg/130304/01300000184180122828879232813.gif";
imgtext2="2"
imgLink2=escape("http://www.baidu.com");
imgUrl3="http://www.ywulawyer.com/uploads/allimg/130304/xinwenlunbo1.jpg";
imgtext3="3"
imgLink3=escape("http://www.baidu.com");
imgUrl4="http://www.ywulawyer.com/uploads/allimg/130304/xinwenlunbo02.jpg";
imgtext4="4"
imgLink4=escape("http://www.baidu.com"); 

var focus_width=305
var focus_height=200
var text_height=28
var swf_height = focus_height+text_height

var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4
var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4
var texts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="{dede:global.cfg_templeturl/}/images/bcastr3.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('<embed src="images/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#F0F0F0" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');  document.write('</object>'); 
</SCRIPT> 
</A></DIV></DIV><!--法律咨询+新闻图 结束-->
DEDE flash javascript

------解决方案--------------------
看看这个文件或路径是否正确:
{dede:global.cfg_templeturl/}/images/bcastr3.swf