Swfoto 2.0 - flash image container (开源 Open Source)
Posted on March 19th, 2008 in gadgets |
Swfoto 是一款flash(swf)读取图片的容器,可以用于各种网站网页中(开放源代码)
|
This movie requires Flash Player 9
|
This movie requires Flash Player 9
|
This movie requires Flash Player 9
|
This movie requires Flash Player 9
|
|
This movie requires Flash Player 9
|
This movie requires Flash Player 9
|
This movie requires Flash Player 9
|
This movie requires Flash Player 9
|
|
This movie requires Flash Player 9
|
This movie requires Flash Player 9
|
This movie requires Flash Player 9
|
This movie requires Flash Player 9
|
|
This movie requires Flash Player 9
|
This movie requires Flash Player 9
|
This movie requires Flash Player 9
|
This movie requires Flash Player 9
|
2.0
- 支持跨域读取图片(由于经过代理,跨域会速度稍慢), 已经取消由于大家都用了一个代理, 会造成用拥挤参考服务器端使用代理实现flash跨域读取数据
- 可以设定图片圆角
- 使用As3重新写代码,执行效率更高
- 使用新的缩小算法,大幅缩小的图片更清晰
- 可以设定是否淡入
- 修正了参数中含有多个’&’出现的错误
- 修改了部分的参数名称
1.0
- 图片自动防缩大小,保持比例,不变形
- 图片采用抗锯齿防缩方法,让图片放缩后依然清晰
- 可以定义图片是否有连接
- 方便网页布局,插入任何图片
下载
获取插入代码
<object type=“application/x-shockwave-flash” width=“100″ height=“100″ data=“http://www.xxx.com/swfoto2.swf?image=http://swfoto.ruochi.com/images/panda13.jpg&roundCorner=10″>
<param name=“movie” value=“http://www.xxx.com/swfoto2.swf?image=http://swfoto.ruochi.com/images/panda13.jpg&roundCorner=10″ />
</object>
<param name=“movie” value=“http://www.xxx.com/swfoto2.swf?image=http://swfoto.ruochi.com/images/panda13.jpg&roundCorner=10″ />
</object>
问题和反馈
参数文档
image
图片地址参数,如果参数中有”&”需要用,请用”^”替换”&”,默认http://swfoto.ruochi.com/images/girl.jpg
link
图片连接参数,不需要则不用设置
windowOpen
打开窗口:打开窗口:’_blank’表示新窗口打开。’_self’表示在当前窗口打开表示新窗口打开。’_self’表示在当前窗口打开,默认值’_blank’
isShowLoader
是否显示下载圆圈
loaderColor
下载圆圈颜色0xffffff
rouncCorner
图片圆角
isFadeIn
是否淡入

