Flash Player 8: Macromedia的後皇朝-Flash
Aug 05, 2005 in Technology/ 技術
Flash Player 8的Public Beta開始在網上熱烈的討論起來. 下載後第一個感覺是: 都是很慢! 真的, 一向都覺得flash player很慢, 加上一些新的功能後, 下載前已經可以想像到慢到甚麼程到. 但其新增的功能, 不得不令人拍案, 之前和友人討論Flash如何會逐步取代Director. 繼兩年多前宣佈停止開發Multiuser Server轉而開發Flash Communication Server後, Flash Player 8 的面世將會是個預告.
以下是Flash Player 8的新增功能:
“flash.filter”: 這個package有以下的filter: DisplacementMapFilter, ColorMatrixFilter, ConvolutionFilter, GradientBevelFilter, GradientGlowFilter,
BevelFilter, GlowFilter, BlurFilter, DropShadowFilter, BitmapFilter which can be used run-time.
flash.display.BitmapData:這個簡直就是Director和TrackThemColor這對夢幻組合的殺手. 功能有: noise(depth), setPixel(x, y, color), setPixel32(x, y, color_with_alpha), draw(mc), loadBitmap(). 這些功能可以做到如Particles,Color picker,Motion detection等厲害的動作.
flash.net.FileReference 和 flash.net.FileReferenceList:直接由Flash 上載檔案! 這個功能真的很讚!
新的Geometry Classes: Matrix, Point, Rectangle and ColorTransforms
Bitmap Caching: mc.cacheAsBitmap
flash.text.TextRenderer
還可以Dynamic loadpng, progressive jpg and gif: loadMovie and loadMovieNum.
對我來說, 最好玩的功能莫過於flash.display.bitmapdata這個功能. 可以玩做很多利用live image的玩意. 當然已經有人玩了:
Bubble Maker: http://www.protozoo.com/?p=179
Motion Detection: http://blog.tapuz.co.il/thesite/images/722497_49.swf
Camera Activity: http://www.benga.li/cam_exp/cameraActivity_07.swf
Camera Smoke: http://www.huppekee.be/PermaLink
很簡單的測試:
http://www.link2gather.com/player8/testing_flv/flv_player.html?color_tracing1
http://www.link2gather.com/player8/testing_flv/flv_player.html?color_tracing2
下載Flash Player 8的Public Beta:
http://www.macromedia.com/software/flashplayer/public_beta/
此貼文同時於GuLLDY的Open Source Project部落格刊登.
