JS代码如下:<SCRIPT type=text/javascript>
    <!--    
    var focus_width=280
    var focus_height=230
    var text_height=0
    var swf_height = focus_height+text_height
    
    var pics='upimg/f1.jpg|upimg/f2.jpg|upimg/f3.jpg|upimg/f4.jpg|upimg/f5.jpg'
    var links='http://www.flywe.net|http://news.17173.com/content/2006-09-21/20060921090622660,1.shtml|http://news.17173.com/content/2006-09-21/20060921091654185,1.shtml|http://news.17173.com/content/2006-09-20/20060920163345720,1.shtml|http://news.17173.com/content/2006-09-21/20060921153752928,1.shtml'
    var texts='Flywe の Blog|Flywe の Blog|Flywe の Blog|Flywe の Blog|Flywe の Blog'
    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="upswf/focus.swf"> <param name="quality" value="high"><param name="bgcolor" value="#fffff">');
    document.write('<param name="menu" value="false"><param name=wmode value="transparent">');
    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/focus.swf" wmode="opaque" FlashVars="texts='+texts+'&pics='+pics+'&links='+links+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');        document.write('</object>');
    
    //-->
    </SCRIPT>

解决方案 »

  1.   

    比如
    var pics='upimg/f1.jpg|upimg/f2.jpg|upimg/f3.jpg|upimg/f4.jpg|upimg/f5.jpg'写成
    var pics='upimg/small/20070502130235.jpg|..........像这样一个图片的地址太长了,图片就显示不出来了
      

  2.   

    我记得这个Flash程序好像是不能用Jpg的图片来的。
    你换个同样长名字的GIF图片试试
      

  3.   

    图片地址短的时候是可以的,JPG的也可以
    但是同一张图片,名字长了就不行了
    真的很奇怪
      

  4.   

    我是楼主
    我发现,并不是文件名长短的原因
    而是因为,那些显示不出来的图片,是用asp.net代码生成的缩略图,所以显示不出来,如果是源图,就可以显示,但是源图那么大,下载太慢请问,这个问题怎么解决啊