FLASH图片切换(轮换)效果

时间:2015/12/3 22:25:00来源:互联网 作者:flyso 点击: 816 次
 <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='/myfile/pic/f1.jpg?|/myfile/pic/f2.jpg?|/myfile/pic/f3.jpg?|/myfile/pic/f4.jpg?|/myfile/pic/f5.jpg?'
var links='http://www.flyso.cn|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='www.flyso.cn|www.flyso.cn|www.flyso.cn|www.flyso.cn|www.flyso.cn'
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="/myfile/swf/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="/myfile/swf/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>


Copyright © 2005 - 2016 flyso.cn. 飞搜 版权所有 鄂ICP备11002783号-3