0 Replies Latest reply on Jan 29, 2016 1:20 PM by chris.campbell

    1/29/2016 - Beta - AIR 21.0.0.123

    chris.campbell Adobe Employee

      Welcome to the latest Flash Runtime version 21 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 21 and AIR 21.  For full details, please see our release notes.

       

      New Features:

       

      • Media Auto Play for iOS & Android

      Starting AIR 21, we are introducing Media Auto Play support for AIR iOS & Android applications. Using this feature, ActionScript developers can enable media auto play inside. To enable this, autoplay should also be enabled in the HTML5 video tag. (More info on HTML5 StageWebView video tag : http://www.w3schools.com/tags/tag_video.asp).

       

      Please use swf-version 32 or greater and namespace 21.0 or greater to access this feature.


      var webView:StageWebView = new StageWebView();

      webView.stage = stage;

      webView.viewPort = new Rectangle( 0, 0, 400, 300 );

      webView.mediaPlaybackRequiresUserAction = false;// To enable autoplay in given web view

      webView.addEventListener(Event.COMPLETE, <handleComplete>);

      webView.addEventListener(ErrorEvent.ERROR, <handleError>);

      webView.loadURL("http://any/webpage/with/autoplay/enabled/video.html”)

       

      • Android StageWebView debugging

      Starting in AIR 21, StageWebView Debugging will allow developers to debug web content (HTML / CSS / JavaScript) used in AIR Android applications. An ActionScript developer needs to add the webContentsDebuggingEnabled option to true in the application descriptor to allow StageWebView debugging in their AIR application. From there, simply connect your Android device to your machine via USB cable and navigate to chrome://inspect to debug embedded web content in your AIR application. Please use namespace 21.0 or greater to access this feature.

       

      <android>

        <!-- Indicates if webContents(HTML/CSS/JavaScript) can be inspected in browser. It is Optional, Default value is 'false' -->

        <webContentsDebuggingEnabled>true</webContentsDebuggingEnabled>

      </android>

       

      • GPU Memory Information In Context3D

      When a Context3D object is created, developers allocate memory for various Stage3D structures which includes index buffers, vertex buffers, textures, and programs. Prior to Flash and AIR 21, the only way to verify the memory allocated by the current Context3D is through values displayed by Scout. With the release of Flash Player and AIR 21, a new property of context3D class called "totalGPUMemory" has been introduced which provides the sum of gpu memory used by the index buffers, vertex buffers, textures, and programs created through Context3D.

       

      The total value can be obtained by property "Context3D.totalGPUMemory;".

       

      The value of this property is in bytes and its default value is 0.  The information is only provided in direct mode on mobile and in direct and gpu mode on desktop ( On desktop computers, using <renderMode>gpu</renderMode> will fallback to <renderMode>direct</renderMode>).  This property can be used when the SWF version is 32 or more .



      Fixed Issues:

      • Multiple security and stability fixes

       

       

      Known Issues:

      • [WIN10] Some uppercase letters can't be entered in a form input
      • [iOS] ld: library not found for -lstdc++ error in Windows 10 while packaging an IPA using -platformsdk flag (4101836)
      • [iOS] Packaging error appears in Flex app having TextField for non-interpretor (e.g. Ipa-app-store) mode on Macintosh (4111322)

      "Error #1053: Illegal override of softKeyboardType in spark.components.supportClasses.StyleableStageText"

       

      About the Beta Channel

      If you would like real-time notification for announcements related to the AIR Beta Channel please follow the Flash Runtime Announcements forums by choosing "Follow this forum" from the right-hand menu on the Forums page.

       

      You can find instructions for getting started with this release here: AIR Labs Page