Flash Player 10.1 prerelease 发布

News No Comments »

支持时下热门的多点触摸和手势特性,内置一个全局错误句柄,允许开发者开发单一的句柄来处理运行时错误,此外它们开始全面支持本地麦克风,无需通过服务器来完成。

对于多点触摸的支持相关的事件

flash.ui.Multitouch
[static] inputMode:String
[static] maxTouchPoints:int
[static] supportedGestures:Vector
[static] supportsGestureEvents:Boolean
[static] supportsTouchEvents:Boolean

Touch Input mode

flash.events.MultitouchInputMode
Multitouch.inputMode
MultitouchInputMode.TOUCH_POINT
MultitouchInputMode.NONE
MultitouchInputMode.GESTURE

Mouse

MouseEvent.CLICK
MouseEvent.DOUBLE_CLICK
MouseEvent.MOUSE_DOWN
MouseEvent.MOUSE_UP
MouseEvent.MOUSE_MOVE
MouseEvent.MOUSE_OUT
MouseEvent.MOUSE_OVER
MouseEvent.ROLL_OUT
MouseEvent.ROLL_OVER

Touch

TouchEvent.TOUCH_BEGIN
TouchEvent.TOUCH_MOVE
TouchEvent.TOUCH_END
TouchEvent.TOUCH_TAP
TouchEvent.TOUCH_OUT
TouchEvent.TOUCH_OVER
TouchEvent.TOUCH_ROLL_OUT
TouchEvent.TOUCH_ROLL_OVER
TouchEvent.TOUCH_TAP

Touch management

Many multi-touch developers like to use an Object or Array of points to keep track of touch inputs (aka blobs) as well as an ID, and X/Y coordinatees for each point. It looks like Flash Player 10.1 will help you conform to these conventions, ActionScript-style.

flash.utils.Dictionary /* Used to track Arrays of Points */
flash.geom.Point /* One contact point */
TouchEvent.touchPointID /* Unique ID for each touch contact point */
TouchEvent.stageX
TouchEvent.stageY
TouchEvent.isPrimaryTouchPoint

Gestures

flash.events.GestureEvent;
flash.events.GesturePhase;
flash.events.GesturePhaseEvent;
flash.events.TransformGestureEvent;

/* GestureEvent */
GestureEvent.GESTURE_TWO_FINGER_TAP
GestureEvent.phase: String
GestureEvent.localX:Number
GestureEvent.localY:Number
GestureEvent.stageX:Number
GestureEvent.stageY:Number

/* GesturePhase */
GesturePhase.BEGIN
GesturePhase.END
GesturePhase.UPDATE

/* GesturePhaseEvent */
GesturePhaseEvent.GESTURE_PAN
GesturePhaseEvent.GESTURE_PRESS_AND_TAP
GesturePhaseEvent.GESTURE_ROTATE
GesturePhaseEvent.GESTURE_ZOOM //Is the same thing as 'pinch'
GesturePhaseEvent.offsetX:Number
GesturePhaseEvent.offsetY:Number
GesturePhaseEvent.rotation:Number
GesturePhaseEvent.scaleX:Number
GesturePhaseEvent.scaleY:Number

Orientation recognition

flash.display.StageOrientation;
/* e.g. StageOrientation.DEFAULT */

flash.display.StageDisplayState;
/* e.g. stage.displayState = FULL_SCREEN_INTERACTIVE; */

在内存方面几乎优化50%
flash_player_mem_footprint

全局设置管理器

e69caae591bde5908d

点击这里下载 FP 10.1 beta player.

各种演示

Flash Player的10.1视频和图形硬件加速

Tags: , ,

Adobe Flash正式登录新款HTC Android手机Hero

Flash Mobile, News No Comments »

2009年6月24日 Adobe公司宣布HTC新款Android手机Hero将内建Adobe Flash播放器。不过,内建的Flash播放器并不是基于最新版ActionScript 3的Flash Player10版本,而是基于ActionScript 2的较老版Flash Player9,不过Adobe宣称未来一段时间内HTC会向手机用户提供升级版的Flash Player10。

Adobe官方声明:
http://www.adobe.com/aboutadobe/pressroom/pressreleases/200906/062409AdobeandHTCBringFlashPlatformtoAndroid.html

Adobe官方演示
http://www.adobe.com/devnet/devices/articles/htchero.html

Hero真机演示:


关于手机端flash的支持越来越多,在不久的将来flash在手机端的应用将开启一个新时代。各位flasher前途无量啊

Tags: ,

Nokia发布Flash Lite Developer’s Library v1.3

Flash Mobile, News No Comments »

2009年3月8日 Nokia发布Flashlite 开发者工具包:

 Flash Lite Developer’s Library v1.3DownLoad

Tags: ,

开源社区发布Intelligere Flash Lite Server

Flash Mobile, News 1 Comment »

看到不错的东东,记录下来.若是能应用能对flashLite带来更大的市场.

http://www.adobe-flashlite.com/?p=605

flashmobileblog日前报道了Intelligere Flash Lite Server宣 布开源的消息。该项目的team决定将其开源是希望加速它的开发进程,或许有助于它移植到其他平台。Intelligere Flash Lite Server (FLS)是一个C++写的开源组件,借助它你可以从Flashlite能调用到symbian的API,从而扩展Flash Lite应用的能力,FLS的主要特色API有,文件接入、网络连接、视频播放和下载。如果是Flashlite开发者,你会发现文件系统接入是最有用的 特色。文章作者建议,如果将这些API打包成一个exe文件或者可以打包sis(symbian应用安装文件)文件,会是更棒的特色,Flashlite 开发者如果想用这些API,就直接调用 FSCommand2(”Launch”, “FL_APIS.exe”)来启动这个server,可以打包SIS文件的特色在于将Adobe Mobile Packager的功能也包含进来,flashlite官方网站也对此进行了报道,详细列出了它的主要API。

摘自:《RIAMeeting RIA周刊

Tags:
2010 Vibo’s Blog — FLASH3V | Powered by WordPress |京ICP备09027267号