Flash+XML滚动新闻代码 无图片 附源码下载
人气:0
用flash实现读取新闻连接的代码,方便一个50高度的地方显示外部连接,不错的黑色效果
index.html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="Copyright" content=" //www.qb5200.com/" />
<meta name="description" content="" />
<meta content="" name="keywords" />
<title>Flash+XML滚动新闻代码-</title>
</head>
<body>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http:/https://img.qb5200.com/download-x/download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="440" height="50">
<param name="movie" value="flashnews.swf">
<param name="quality" value="high">
<embed src="flashnews.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="440" height="50"></embed>
</object>
</div>
</body>
</html>
textBanner.xml
<news>
<content>
<标题></标题>
<链接>//www.qb5200.com/</链接>
</content>
<content>
<标题>2</标题>
<链接>//www.qb5200.com/</链接>
</content>
<content>
<标题>3</标题>
<链接>//www.qb5200.com/</链接>
</content>
<content>
<标题>电脑教程吧</标题>
<链接>http://www.pcjc8.com/</链接>
</content>
</news>
打包文件下载
测试地址
index.html
复制代码 代码如下:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="Copyright" content=" //www.qb5200.com/" />
<meta name="description" content="" />
<meta content="" name="keywords" />
<title>Flash+XML滚动新闻代码-</title>
</head>
<body>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http:/https://img.qb5200.com/download-x/download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="440" height="50">
<param name="movie" value="flashnews.swf">
<param name="quality" value="high">
<embed src="flashnews.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="440" height="50"></embed>
</object>
</div>
</body>
</html>
textBanner.xml
复制代码 代码如下:
<news>
<content>
<标题></标题>
<链接>//www.qb5200.com/</链接>
</content>
<content>
<标题>2</标题>
<链接>//www.qb5200.com/</链接>
</content>
<content>
<标题>3</标题>
<链接>//www.qb5200.com/</链接>
</content>
<content>
<标题>电脑教程吧</标题>
<链接>http://www.pcjc8.com/</链接>
</content>
</news>
打包文件下载
测试地址
加载全部内容