守望者--AIR技术交流

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: ANE FlasCC 炼金术
查看: 1563|回复: 0

[业界动态] AIR 19发布

[复制链接]
  • TA的每日心情
    擦汗
    2018-4-10 15:18
  • 签到天数: 447 天

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

    Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

    威望
    562
    贡献
    29
    金币
    51753
    钢镚
    1422

    开源英雄守望者

    发表于 2015-7-17 18:07:27 | 显示全部楼层 |阅读模式
    概述:

    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 _loaderoader = new Loader();
    var _lcoaderContext = 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/




    评分

    参与人数 1金币 +20 收起 理由
    shawn00 + 20 很给力!

    查看全部评分

    守望者AIR技术交流社区(www.airmyth.com)
    回复

    使用道具 举报

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

    本版积分规则

    
    关闭

    站长推荐上一条 /4 下一条

    QQ|手机版|Archiver|网站地图|小黑屋|守望者 ( 京ICP备14061876号

    GMT+8, 2019-10-19 14:57 , Processed in 0.043977 second(s), 34 queries .

    守望者AIR

    守望者AIR技术交流社区

    本站成立于 2014年12月31日

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