Bcastr 3.1 flash 通用图片轮换播放器

<object width="300" height="185" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><br><param value="/product/bcastr3/bcastr31.swf" name="movie">
<param value="bcastr_xml_url=http://www.ruochi.com/product/bcastr3/bcastr.xml&Tween=3" name="FlashVars">
<param value="high" name="quality">
<embed width="300" height="185" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="http://www.ruochi.com/product/bcastr3/bcastr31.swf"></embed><br></object><br><br>bcastr3.1 通用图片轮换播放器<br>可以用于各种新闻系统或者blog系统<br><br><br>.可以读取xml设置播放列表,自定义xml地址<br>.可以将图片地址直接写网页中直接,不需要xml<br>.自动适应图片大小<br>.循环播放,自定义自动播放时间<br>.不限制图片数量<br>.自定义尺寸,自动适应任何比例,图片不变形<br>.自定义图片题目(可选)<br>.浏览过程中下载<br>.自定义图片连接(可选)<br>.自定界面色彩放案<br><br>3.1 修正<br>增加了可以用"^"符号替换"&"的功能,使用与用程序生成的地址<br>修改了传递参数的方式,并且兼容老版本的参数传递方式<br><br>3.0新增特点<br><br>.图片自动抗锯齿,效果更佳<br>.3种文字位置设定<br>.4种图片过渡效果,过渡更自然,<br>.可定义是否显示按钮,更适合做广告条<br>.可定义是否在心窗后中打开连接<br><br>.自定义尺寸,自动适应任何比例,图片不变形<br>.自定义图片题目(可选)<br>.浏览过程中下载<br>.自定义图片连接(可选)<br>.自定界面色彩放案<br><br><br>三种使用方法<br><br><font color="Maroon"><strong>由于flashplayer9 升级了安全策略问题,所以需要保证所有的的文件(包括,bcastr3.swf,图片文件,或者需要的xml文件)都必须在统一域名下,不能在跨域读取图片和xml了</strong></font><br><br>方法一,直接copy下面代码,修改其中的 swf_width,swf_height,files,links,texts 参数<br><br><br><textarea id="runcode3532" cols="50" rows="7" class="code"><script type="text/javascript"> var swf_width=220 var swf_height=220 var files='http://www.ruochi.com/product/bcastr/pic/gymnasium.jpg|http://www.ruochi.com/product/bcastr/pic/zd.jpg|http://www.ruochi.com/product/bcastr/pic/adidas.jpg|http://www.ruochi.com/product/bcastr/pic/Maradona.jpg|http://www.ruochi.com/product/bcastr/pic/poster.jpg' var links='http://www.ruochi.com|http://www.ruochi.com|http://www.ruochi.com|http://www.ruochi.com|http://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/bcastr3/bcastr31.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_title='+texts+'">'); document.write('<embed src="http://www.ruochi.com/product/bcastr3/bcastr31.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> </textarea><br><button class="button">Run</button><button class="button">Copy</button> <br><br><br><br>方法二,直接嵌入地址<br><br><textarea id="runcode56500" cols="50" rows="7" class="code"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="400" height="200"> <param name="movie" value="http://www.ruochi.com/product/bcastr3/bcastr31.swf"> <param name="quality" value="high"> <param name="wmode" value="transparent"> <param name="FlashVars" value="bcastr_file=http://www.ruochi.com/product/bcastr3/pic/a1.jpg|http://www.ruochi.com/product/bcastr3/pic/a2.jpg|http://www.ruochi.com/product/bcastr3/pic/a3.jpg|http://www.ruochi.com/product/bcastr3/pic/a4.jpg&bcastr_link=http://www.google.com|http://www.baidu.com|http://www.google.com|http://www.baidu.com&bcastr_title=Title 1|Title 2|Title 3|Title 4"> <embed src="http://www.ruochi.com/product/bcastr3/bcastr31.swf" FlashVars="bcastr_file=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" width="400" height="200" 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> </textarea><br><button class="button">Run</button><button class="button">Copy</button> <br><br>其中<br>bcastr_file=aaa.jpg|bbb.jpg|ccc.swf 是图片地址,用"|"符号分开<br>bcastr_link=http://www.baidu.com|http://www.nba.com|http://www.ruochi.com 是图片对应连接地址,用"|"符号分开<br>bcastr_title=百度|NBA|Ruochi.com 是图片对应标题,用"|"符号分开<br><br>注意其中的&连接符<br><br>方法三,使用xml地址<br><textarea id="runcode76390" cols="50" rows="7" class="code"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100" height="200"> <param name="movie" value="http://www.ruochi.com/product/bcastr3/bcastr31.swf"> <param name="quality" value="high"> <param name="wmode" value="transparent"> <param name="FlashVars" value="bcastr_xml_url=http://www.ruochi.com/product/bcastr3/bcastr.xml"> <embed src="http://www.ruochi.com/product/bcastr3/bcastr31.swf" FlashVars="bcastr_xml_url=http://www.ruochi.com/product/bcastr3/bcastr.xml" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100" height="200"></embed> </object> </textarea><br><button class="button">Run</button><button class="button">Copy</button> <br><br>修改上方2个bcastr_xml_url=http://www.ruochi.com/product/bcastr3/bcastr.xml地址即可<br><br>xml内容<br><br>item_url="pic/Maradona.jpg" 图片地址<br>link="http://www.google.com" 图片点击后 不填写就不可点击连接<br>itemtitle="马拉多纳受邀解说世界杯" 图片题目<br><br><br>高级设置<br><br><textarea id="runcode43278" cols="50" rows="7" class="code"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="400" height="200"> <param name="movie" value="http://www.ruochi.com/product/bcastr3/bcastr31.swf"> <param name="quality" value="high"> <param name="wmode" value="transparent"> <param name="FlashVars" value="bcastr_file=http://www.ruochi.com/product/bcastr3/pic/a1.jpg|http://www.ruochi.com/product/bcastr3/pic/a2.jpg|http://www.ruochi.com/product/bcastr3/pic/a3.jpg|http://www.ruochi.com/product/bcastr3/pic/a4.jpg&bcastr_link=http://www.google.com|http://www.baidu.com|http://www.google.com|http://www.baidu.com&bcastr_title=Title 1|Title 2|Title 3|Title 4&TitleTextColor=0x000000&TitleBgColor=0x0066ff"> <embed src="http://www.ruochi.com/product/bcastr3/bcastr31.swf" FlashVars="bcastr_file=http://www.ruochi.com/product/bcastr3/pic/a1.jpg|http://www.ruochi.com/product/bcastr3/pic/a2.jpg|http://www.ruochi.com/product/bcastr3/pic/a3.jpg|http://www.ruochi.com/product/bcastr3/pic/a4.jpg&bcastr_link=http://www.google.com|http://www.baidu.com|http://www.google.com|http://www.baidu.com&bcastr_title=Title 1|Title 2|Title 3|Title 4&TitleTextColor=0x000000&TitleBgColor=0x0066ff" width="400" height="200" 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> </textarea><br><button class="button">Run</button><button class="button">Copy</button> <br><br><textarea id="runcode42614" cols="50" rows="7" class="code"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="400" height="80"> <param name="movie" value="http://www.ruochi.com/product/bcastr3/bcastr31.swf"> <param name="quality" value="high"> <param name="wmode" value="transparent"> <param name="FlashVars" value="bcastr_file=http://www.ruochi.com/product/bcastr3/pic/a1.jpg|http://www.ruochi.com/product/bcastr3/pic/a2.jpg|http://www.ruochi.com/product/bcastr3/pic/a3.jpg|http://www.ruochi.com/product/bcastr3/pic/a4.jpg&bcastr_link=http://www.google.com|http://www.baidu.com|http://www.google.com|http://www.baidu.com&bcastr_title=&IsShowBtn=0"> <embed src="http://www.ruochi.com/product/bcastr3/bcastr31.swf" FlashVars="bcastr_file=http://www.ruochi.com/product/bcastr3/pic/a1.jpg|http://www.ruochi.com/product/bcastr3/pic/a2.jpg|http://www.ruochi.com/product/bcastr3/pic/a3.jpg|http://www.ruochi.com/product/bcastr3/pic/a4.jpg&bcastr_link=http://www.google.com|http://www.baidu.com|http://www.google.com|http://www.baidu.com&bcastr_title=&IsShowBtn=0" width="400" height="80" 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> </textarea><br><button class="button">Run</button><button class="button">Copy</button> <br><br>所有参数说明<br><br><br><br><table width="100%" cellspacing="5" cellpadding="5" border="1"><tbody>
<tr>
<td width="150" align="center">参数名称</td>
<td align="center">参数说明</td>
<td width="100" align="center">默认值</td>
</tr>
<tr>
<td align="center">bcastr_file</td>
<td align="center">图片地址参数,多个使用|分开,与方法2配合使用</td>
<td align="center">空</td>
</tr>
<tr>
<td align="center">bcastr_title</td>
<td align="center">图片标题参数,多个使用|分开,与方法2配合使用</td>
<td align="center">空</td>
</tr>
<tr>
<td align="center">bcastr_link</td>
<td align="center">图片连接参数,多个使用|分开,与方法2配合使用</td>
<td align="center">空</td>
</tr>
<tr>
<td align="center">bcastr_xml</td>
<td align="center">方法3 传递图片参数,样板参考 http://www.ruochi.com/product/bcastr3/bcastr.xml </td>
<td align="center">bcastr.xml</td>
</tr>
<tr>
<td align="center">TitleTextColor</td>
<td align="center">图片名称文字颜色</td>
<td align="center">0xFFFFFF</td>
</tr>
<tr>
<td align="center">TitleBgColor</td>
<td align="center">图片名称文字背景颜色</td>
<td align="center">0xFF6600</td>
</tr>
<tr>
<td align="center">TitleBgAlpha</td>
<td align="center">图片名称文字背景颜色透明度:0-100值,0表示全部透明</td>
<td align="center">60</td>
</tr>
<tr>
<td align="center">TitleBgPosition</td>
<td align="center">图片名称文字位置,0表示文字在顶端,1表示文字在底部,2表示文字在顶端浮动</td>
<td align="center">100</td>
</tr>
<tr>
<td align="center">BtnDefaultColor</td>
<td align="center">按键默认的颜色</td>
<td align="center">0xFF6600</td>
</tr>
<tr>
<td align="center">BtnOverColor</td>
<td align="center">按键当前的颜色</td>
<td align="center">0x000033</td>
</tr>
<tr>
<td align="center">AutoPlayTime</td>
<td align="center">自动播放时间:单位是秒</td>
<td align="center">8</td>
</tr>
<tr>
<td align="center">Tween</td>
<td align="center"> 图片过渡效果:0,表示亮度过渡,1表示透明度过渡,2表示模糊过渡,3表示运动模糊过渡</td>
<td align="center">2</td>
</tr>
<tr>
<td align="center">IsShowBtn</td>
<td align="center">是否显示按钮:1表示显示按键,0表示隐藏按键,更适合做广告挑轮换</td>
<td align="center">1</td>
</tr>
<tr>
<td align="center">WinOpen</td>
<td align="center">打开窗口:_blank表示新窗口打开。_self表示在当前窗口打开</td>
<td align="center">_blank</td>
</tr>
<tr></tr>
</tbody></table>
<br>下载地址<br><a target="_blank" href="http://www.ruochi.com/product/bcastr3/bcastr31.zip">http://www.ruochi.com/product/bcastr3/bcastr31.zip</a>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值