发新话题
打印

Bcastr 2.2 精美flash推荐

Bcastr 2.2 精美flash推荐

演示:http://www.ruochi.com/main/post/21.html
去感谢人家下!记得

bcastr2.2 是一款通用的图片浏览器
可以用于各种新闻系统或者blog系统


bcastr is a general flash picture browser
for the news websit or blog

Features:
.可以读取xml设置播放列表,自定义xml地址
.可以不使用xml将图片地址直接写网页中直接,直接网页嵌入图片地址
.可以读取swf的动画格式
.自动适应图片大小
.循环播放,自定义自动播放时间
.不限制图片数量
.自定义浏览器尺寸
.自定义图片题目(可选)
.浏览过程中下载
.宜人的交互方式
.自定义图片连接(可选)
.自定界面色彩放案

三种使用方法
方法一,直接copy下面代码,修改其中的 swf_width,swf_height,files,links,texts config 参数
-- config参数设置 -- 自动播放时间(秒)|文字颜色|文字背景色|文字背景透明度|按键数字颜色|当前按键颜色|普通按键色彩 --
引用:
<script type="text/javascript">

var swf_width=120
var swf_height=120
//-- 参数设置 -- 自动播放时间(秒)|文字颜色|文字背景色|文字背景透明度|按键数字颜色|当前按键颜色|普通按键色彩 --
var config='8|0xffffff|0x000000|80|0xffffff|0x0099ff|0x000000'

var files='http://www.ruochi.com/product/bcastr/pic/gymnasium.jpg|[img]http://www.ruochi.com/product/bcastr/pic/zd.jpg|http://www.ruochi.com/product/bc ... astr/pic/poster.jpg[/img]'
var links='http://www.ruochi.com|http://www.ruochi.com|http://www ... tp://www.ruochi.com'
var texts='安联球场|齐达内|马拉多纳解说世界杯|Adidas的世界杯用球|世界杯海报'

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="http://www.ruochi.com/product/bcastr/bcastr22.swf"><param name="quality" value="high">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="config='+config+'&bcastr_flie='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'">');
document.write('<embed src="http://www.ruochi.com/product/bcastr/bcastr22.swf" wmode="opaque" FlashVars="config='+config+'&bcastr_flie='+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>
引用:
<script type="text/javascript">

var swf_width=400
var swf_height=80
//-- 参数设置 -- 自动播放时间(秒)|文字颜色|文字背景色|文字背景透明度|按键数字颜色|当前按键颜色|普通按键色彩 --
var config='8|0xffffff|0x000000|80|0xffffff|0x0099ff|0x000000'

var files='http://www.ruochi.com/product/bcastr/pic/gymnasium.jpg|[img]http://www.ruochi.com/product/bcastr/pic/zd.jpg|http://www.ruochi.com/product/bc ... astr/pic/poster.jpg[/img]'
var links='http://www.ruochi.com|http://www.ruochi.com|http://www ... tp://www.ruochi.com'
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="'+ swf_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="http://www.ruochi.com/product/bcastr/bcastr22.swf"><param name="quality" value="high">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="config='+config+'&bcastr_flie='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'">');
document.write('<embed src="http://www.ruochi.com/product/bcastr/bcastr22.swf" wmode="opaque" FlashVars="config='+config+'&bcastr_flie='+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>
方法二,xml地址
复制内容到剪贴板
代码:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id=scriptmain name=scriptmain codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="640" height="106">
  <param name="movie" value="bcastr.swf?bcastr_xml_url=bcastr1.xml">
  <param name="quality" value="high">
  <param name=scale value=noscale>
  <param name="LOOP" value="false">
  <param name="menu" value="false">
  <param name="wmode" value="transparent">
  <embed src="bcastr.swf?bcastr_xml_url=bcastr1.xml" width="640" height="106" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" salign="T" name="scriptmain" menu="false" wmode="transparent"></embed>
</object>
修改上方2个bcastr_xml_url=bcastr1.xml地址即可

xml内容

item_url="pic/Maradona.jpg" 图片地址
link="http://www.google.com" 图片点击后 不填写就不可点击连接
itemtitle="马拉多纳受邀解说世界杯" 图片题目

方法三,直接嵌入地址
复制内容到剪贴板
代码:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id=scriptmain name=scriptmain codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="640" height="106">
  <param name="movie" value="bcastr.swf?bcastr_flie=pic/|bbb.jpg|ccc.swf&bcastr_link=http://www.baidu.com|[url]http://www.nba.com|http://www.ruochi.com&bcastr_title=[/url]百度|NBA|Ruochi.com">
  <param name="quality" value="high">
  <param name=scale value=noscale>
  <param name="LOOP" value="false">
  <param name="menu" value="false">
  <param name="wmode" value="transparent">
  <embed src="bcastr.swf?bcastr.swf?bcastr_flie=aaa.jpg|bbb.jpg|ccc.swf&bcastr_link=http://www.baidu.com|[url]http://www.nba.com|http://www.ruochi.com&bcastr_title=[/url]百度|NBA|Ruochi.com" width="640" height="106" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" salign="T" name="scriptmain" menu="false" wmode="transparent"></embed>
</object>
其中
bcastr_flie=aaa.jpg|bbb.jpg|ccc.swf 是图片地址,用"|"符号分开
bcastr_link=http://www.baidu.com|http://www.nba.com|http://www.ruochi.com 是图片对应连接地址,用"|"符号分开
bcastr_title=百度|NBA|Ruochi.com 是图片对应标题,用"|"符号分开

注意其中的&连接符

[ 本帖最后由 yangkui 于 2006-12-31 17:28 编辑 ]
附件: 您所在的用户组无法下载或查看附件

TOP

代码里有笑脸了
ZIPPO广州实体店-全场4折起,售后7天包退换。
支持Z-blog,谴责篡改&去除版权标记的可耻行为
------------------------------------------------------------------------------------------
新手请多看应用教程区Z-wiki,或站内搜索寻找答案
1、Z-blog主题模板以及标签库的说明   2、默认模板右侧栏目代码注释       3、默认CSS样式的注释     
4、Z-BLOG使用小贴士收集         5、加广告请搜索gg/google/广告

TOP

郁闷~

TOP

  已经用上了!所以顶!!!
www.jmj.hk
致力于不断提高技术水平,来提高电脑的速度和安全系数!

TOP

h

ruochi  的站点又更新了大家可以去看看,他整理了一下。

TOP

有笑脸了是什么意思?

TOP

郁闷~!

TOP

笑脸的意思是他的代码里比如有  :+L,  就变成论坛表情的代码了,就变显示成论坛的表情。 。

TOP

:L是这个

TOP

太复杂了 哥们我追求简单
独声志-我想找个人和我一起幻想......

你在等什么?想看美女吗?

Zblogger用户QQ交流群:45392342(已满)
Zblogger用户QQ交流群:25018716(已满)

TOP

这样啊,我有在想屏不屏蔽表情呢....
小一博客 | 小一的两栏主题
Zblogger用户交流群:45392342(已满)25018716(已满)

TOP

发新话题