文章提供这款4屏flash+xml图片广告轮换代码哦,他只能放四张图片,原因它是由flash调用xml文档的图片与连接地址,所以使用起来是很方便的,如果是网速比较慢他还会显示为加载效果。
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<title>4屏flash+xml图片广告轮换代码</title>
</head><body>
<div align="center">
<p>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="540" height="279">
<param name="movie" value="/www.111cn.net/focu_christmas.swf" />
<param name="quality" value="high" />
<embed src="/www.111cn.net/focu_christmas.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="540" height="279"></embed>
</object>
<br>
</p>
</div>
</body>
</html>xml文件
<!--download by http://www.111cn.net -->
<?xml version='1.0' encoding='gb2312'?><data>
<mysee>
<item title="01" img="images/01.jpg" url="http://www.111cn.net/" />
<item title="02" img="images/02.jpg" url="http://www.111cn.net/" />
<item title="03" img="images/03.jpg" url="http://www.111cn.net/" />
<item title="04" img="images/04.jpg" url="http://www.111cn.net/" />
</mysee>
</data>
源码下载地址。
http://down.111cn.net/down/code/js/jiaodiantu/2010/1103/21617.html
效果预览地址
网页特效/code/20101103/fa/">http://g.111cn.net/javascript/code/20101103/fa/