公告:如果您的账号不能登录,可能是系统对您账号进行了保护,我们发现系统中存在着不安全密码,故对其重置,请您重新激活账号,对于给您造成的不便,敬请谅解!
论坛风格切换切换到宽版
  • 2367阅读
  • 0回复

[2007/5.1]FLASH新闻头条怎么做 [复制链接]

上一主题 下一主题
离线jimmy899
 

发帖
103
贡献值
6
威望值
17
技术分
0
织梦币
0
只看楼主 倒序阅读 使用道具 0 发表于: 2010-03-23
  
这个是我想要的效果.




这个是我现在有的..

<!-- size: 233px * 225px -->
<script language='javascript'>
linkarr = new Array();
picarr = new Array();
textarr = new Array();
var swf_width=236;
var swf_height=228;
var files = "";
var links = "";
var texts = "";
//这里设置调用标记
{dede:arclist flag='f' row='5'}
linkarr[[field:global.autoindex/]] = "[field:arcurl/]";
picarr[[field:global.autoindex/]]  = "[field:litpic/]";
textarr[[field:global.autoindex/]] = "[field:title function='html2text(@me)'/]";
{/dede:arclist}

for(i=1;i<picarr.length;i++){
  if(files=="") files = picarr;
  else files += "|"+picarr;
}
for(i=1;i<linkarr.length;i++){
  if(links=="") links = linkarr;
  else links += "|"+linkarr;
}
for(i=1;i<textarr.length;i++){
  if(texts=="") texts = textarr;
  else texts += "|"+textarr;
}
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="'+ swf_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="{dede:global.cfg_templeturl/}/images/bcastr3.swf"><param name="quality" value="high">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_config=0xffffff|2|0x8CA2AD|60|0xffffff|0xff9900|0x000033|2|3|1|_blank">');  
document.write('<embed src="{dede:global.cfg_templeturl/}/images/bcastr3.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'& menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');
</script>

我想问一下..第一个FLASH新闻头条的效果怎么做啊.