常州网络公司首页 >>> WEB编程 >> DHTML&HTML

FLASH图片动画效果

发布时间:2010-11-30 19:34:58   浏览次数:3882

一个不错的FLASH动作效果
<script type="text/javascript">
var _width = 250;
var _height = 200;
var pic_arr = new Array();
var link_arr = new Array();
var text_arr = new Array();
var i = 0;

pic_arr[i] = "/picture/0/2010.11.30-2.jpg";
link_arr[i] = "/art/2010/11/30/art_25_137886.html";
text_arr[i] = "绿荫亭台飞欢歌";
i++;

pic_arr[i] = "/picture/0/2010.11.30.jpg";
link_arr[i] = "/art/2010/11/30/art_25_137885.html";
text_arr[i] = "全市农民人均纯收入 (元)";
i++;

pic_arr[i] = "/picture/0/2010.11.29-2.jpg";
link_arr[i] = "/art/2010/11/29/art_25_137793.html";
text_arr[i] = "常州野鸟会";
i++;

pic_arr[i] = "/picture/0/2010.11.29.jpg";
link_arr[i] = "/art/2010/11/29/art_25_137791.html";
text_arr[i] = "中国汽车零部件(常州)产业基地奠基仪式";
i++;

var p = pic_arr.join("|");
var l = link_arr.join("|");
var t = text_arr.join("|");
var f = "flash.swf";
document.writeln("<embed height='236' width='375' flashvars='image="+p+"&url="+l+"&info="+t+"&stopTime=1000' wmode='opaque' quality='high' name='27' id='7' src='"+f+"' type='application/x-shockwave-flash' />");
</script>

FLASH文件见附件。

上一条:在线绑定MSN和skype
下一条:禁止复制内容和禁止右键菜单
首页 | 在线留言 | 网站地图

CopyRight ©2008-2014   糊涂蛋技术网    苏ICP备05013073号
站长:万创   QQ:54960248  E-mail:xlxcn#126.com