- 积分
- 136405
- 注册时间
- 2014-12-27
- 最后登录
- 2026-3-3
- 在线时间
- 606 小时
- 威望
- 562
- 贡献
- 29
- 金币
- 52905
- 钢镚
- 1422
- 交易凭证
- 1
- 分享
- 0
- 精华
- 33
- 帖子
- 2094
- 主题
- 1742
TA的每日心情 | 擦汗 2018-4-10 15:18 |
|---|
签到天数: 447 天 [LV.9]以坛为家II
超级版主
    
- 威望
- 562
- 贡献
- 29
- 金币
- 52905
- 钢镚
- 1422
 
|
概述:
http://labsdownload.adobe.com/pub/labs/flashruntimes/shared/air19_flashplayer19_releasenotes.pdf
Welcome to Adobe® Flash® Player 19 and Adobe AIR 19!
Last Updated: July 16, 2015
Today's release is our initial version 19 beta! We've been hard at work adding new features to Flash Player and AIR and we're looking forward to
receiving feedback from our development and Flash Player community.
This beta release includes new features as well as enhancements and bug fixes related to security, stability, performance, and device
compatibility for Flash Player 19 and AIR 19. This document may be updated periodically as more information becomes available.
As always, we appreciate all feedback. We encourage you to post in our beta forums or create bug reports or feature requests on our public bug
database.
Flash Player Beta Forum
AIR Beta Forum
Bug Database
NOTE:
The ActiveX Flash Player in this release is not compatible with Windows® 8 or 8.1
Flash Player for Windows® 8 is available as part of the generally available Windows® 8 update
New and Updated Features
insertAt() and removeAt() feature
"Starting FP/AIR 19, we have introduced two new APIs for an element insertion or removal in Vector and Arrays. They are implemented to
perform better than existing splice method when used for single element. Following is the definitions of the new APIs.
Methods added to class Array:
insertAt(index:int, element:*):void;
removeAt(index:int):*;
Methods added to class Vector.<T> :
insertAt(index:int, element:T):void;
removeAt(index:int):T;
Please use swf-version 30 or greater and namespace 19.0 or greater to access the new APIs.
Concurrency on iOS
Worker object represents a worker, which is a virtual instance of the Flash runtime. Each Worker instance controls and provides access to the
lifecycle and shared data of a single worker. More details about workers can be found at http://help.adobe.com/en_US/FlashPlatform/reference/a
ctionscript/3/flash/system/Worker.html.
We're introducing the Concurrency feature for iOS in AIR 19, please use swf-version 30 or greater and namespace 19.0 or greater to access theAPIs. Everything remains coherent to AIR Android except for differences in loading of swf and passing byte array to worker.
1. As dynamically loading a ‘remote‘ SWF that contains ActionScript code doesn't work. Remote swf have to be passed to worker as stripped swf.
2. Embedding SWFs(having ABC code) using [Embed] tag will not work on iOS.
Each additional worker is created from a separate swf. To create a new instance of the Worker class, pass a ByteArray with the bytes of the
background worker's swf as an argument to the WorkerDomain class's createWorker()method. There are two common ways to access the bytes
of a swf for this purpose on iOS:
Sample snippet
Load an external SWF file using a Loader
primordial worker( AS Code :
{
var _urlRequest:URLRequest = new URLRequest("BackgroundWorkerSwf.swf");
var _loader oader = new Loader();
var _lc oaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,errorHandler);
_loader.load(_urlRequest, _lc);
}
private function completeHandler(e:Event):void
{
//TODO : do your stuff after the swf is loaded.
worker = WorkerDomain.current.createWorker(e.target.bytes);
}
As the code is executed while load function of Loader is called we need to put isPrimordial property check in background worker:
Background worker Swf( AS Code ) :
{
if(!Worker.Current.isPrimordial)
{
//TODO : do your stuff for the worker thread
}
}
Stage3D Error Messages:
We have introduced new Stage3D error codes with new error messages, to provide detailed information of the errors.
This feature is enabled in swf-version 30 for both Flash Player and AIR. Swf compiled with version less than 30 will throw old error code message.
Swf compiled with version 30 and above will throw new error code message.
We have updated AS3 documentation for various Stage3D APIs to provide more information about the reasons for the errors thrown while calling
stage3D APIs.
Below table describes new error codes with new error message for the following Action Script APIs:
Action Script API New error message
..................................
下载:
http://labs.adobe.com/technologies/flashruntimes/air/
|
评分
-
查看全部评分
|