新闻焦点切换flash应用

pixviewer.zip

<!-- pixviewer.swf使用-->
<script language="javascript" type="text/javascript">
    var focus_width='990';
    var focus_height='240';
    var configtg='0xffffff:文字颜色|2:文字位置|0x000000:文字背景颜色|30:文字背景透明度|0xffffff:按键文字颜色|0x4f6898:按键默认颜色|0x000033:按键当前颜色|8:自动播放时间|3:图片过渡效果|1:是否显示按钮|_blank:打开新窗口';
    var pics='/upLoad/slide/month_1306/01.jpg|/upLoad/slide/month_1306/02.jpg|/upLoad/slide/month_1306/03.jpg|/upLoad/slide/month_1306/05.jpg';
    var links='#|#|#|#';
    var texts ;
    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="'+ focus_height +'">');
    document.write('<param name="movie" value="/flash/pixviewer.swf"><param param name="allowScriptAccess" value="sameDomain">');
    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+'">');
    document.write('<embed src="/flash/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&bcastr_config='+configtg+'& menu="false" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>'); 
</script>

 

<script src="sohuflash.js" type="text/javascript">
var
pics='/UploadFiles/2013/3/2013112016053668352.jpg|/UploadFiles/2013/3/2013112015555676820.jpg|/UploadFiles/2013/3/2013112015365154025.jpg|/UploadFiles/2013/1/2013111116453765156.jpg'; var links=escape('/html/xfyw/1491/83.html|/html/xfyw/1491/55.html|/html/xfyw/1491/39.html|/html/gzdt/1492/2.html'); var texts='咸阳市信访接待中心启用办公|省政协副秘书长、信访督查专员马多平来我市|王石奇一行来咸督查信访工作|咸阳市强化信访措施&nbsp;狠抓工作落实'; var speed = 4000; var sohuFlash2 = new sohuFlash("sohuflash.swf","flashcontent01","480","290","8","#ffffff"); sohuFlash2.addParam("quality", "medium"); sohuFlash2.addParam("wmode", "opaque"); sohuFlash2.addVariable("speed",speed); sohuFlash2.addVariable("p",pics); sohuFlash2.addVariable("l",links); sohuFlash2.addVariable("icon",texts); sohuFlash2.write("flashcontent01");

 

sohuflash.zip

你可能感兴趣的:(Flash)