收藏本站腾讯微博新浪微博

经典论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

蓝色理想 最新研发动态 网站开通淘帖功能 - 蓝色理想插件 论坛内容导读一页看论坛 - 给官方提建议

论坛活动及任务 地图和邮件任务 请多用悬赏提问 热夏来袭,选一款蓝色理想的个性T恤吧!

手机上论坛,使用APP获得更好体验 急需前端攻城狮,获得内部推荐机会 论坛开通淘帖功能,收藏终于可以分类了!

搜索
查看: 2196|回复: 3

请教,这个网页中的flash是怎么做出来的?

[复制链接]
发表于 2008-5-21 10:35:13 | 显示全部楼层 |阅读模式
请教,这个网页中的flash是怎么做出来的?

前天在看到的这个网页,感觉效果异常华丽。。。。

请赐教。
http://www.pavilionhotel.com/front/webBrowse!main.action
发表于 2008-5-21 13:11:34 | 显示全部楼层
可以用组件实现
网上有FLASH的图片切换组件
已经上传:http://www.lucifinil.com/tool/FLASH图片切换组件.ZIP

[[i] 本帖最后由 Lucifinil 于 2008-5-21 13:13 编辑 ]
回复 支持 反对

使用道具 举报

发表于 2008-5-24 11:48:52 | 显示全部楼层
上面的组件效果真的很不错,但是进阶用法是英文的,有哪位朋友看的懂翻译一下吗,谢谢

進階用法 (using the API)

The component API is pretty straight forward and works much like the properties in the Component Inspector, but you can set them at runtime. They are:

* setEffectSpeed()
* setEffectType()
* setImageArray()
* setNumberAffected()
* setTileWidth()
* setTileHeight()
* getNextImage()
* getPreviousImage()

setEffectSpeed(n:Number):Void - This method is used to set the speed at which a tile is removed from the stage during the transition. It takes in any number greater than 1 and returns nothing.

setEffectType(s:String):Void - This method sets the type of transition effect that you want. Valid types are "pourTiles", "erodeTiles", "shatterTiles", "zoomTopToBottom", "zoomBottomToTop", "zoomRandom", "fadeTopToBottom", "fadeBottomToTop", "fadeRandom", "blurTopToBottom", "blurBottomToTop", "blurRandom", and "random"

setImageArray(a:Array):Void - This method takes in an array of strings identifying a list of images that exist in the library. This list will be used (in order) to display transitions between images.

setNumberAffected(n:Number):Void - This method sets the number of tiles that will be triggered to be removed during any given frame. It takes in any whole number greater than 0.

setTileWidth(n:Number):Void -This method takes in any number to set the tile width.

setTileHeight(n:Number):Void - This method takes in any number to set the tile height.

getNextImage():Void - This method will trigger the component to load the next image in the image array and transition the old image off the stage with the chosen effect. If the image currently displayed is the last image in the array, then the component will start back at the beginning of the array.

getPreviousImage():Void - This method will trigger the component to load the previous image in the image array and transition the old image off the stage with the chosen effect. If the image currently displayed is the first image in the array, then the component will draw from the end of the array.
回复 支持 反对

使用道具 举报

发表于 2008-5-24 12:23:20 | 显示全部楼层
不是吧?这个?...
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|Archiver|手机版|blueidea.com ( 湘ICP备12001430号 )  

GMT+8, 2020-10-31 03:29 , Processed in 0.093512 second(s), 10 queries , Gzip On, Memcache On.

Powered by Discuz! X3.2 Licensed

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表