Copy link to clipboard
Copied
Today we're pleased to announce that the next version of AIR is available for immediate download. This release of AIR provides an update to the captive Flash Player plugin included with the SDK and runtime.
Below are some of the key features and benefits of AIR 21. Please see our release notes for full details.
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”)
When a Context3D object is created, developers allocate memory for various Stage3D structures which include 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:
Download Locations:
AIR 21 runtime for Windows: 21.0.0.215 Runtime Download
AIR 21 runtime for Macintosh: 21.0.0.215 Runtime Download
AIR 21 SDK & Compiler for Windows: 21.0.0.215 SDK & Compiler Download
AIR 21 SDK & Compiler for Macintosh: 21.0.0.215 SDK & Compiler Download
Note: To provide all the all the necessary tools for our developers in one place and avoid having to download multiple components, we are packaging Adobe AIR 21 SDK and ActionScript Compiler 2.0 in a single SDK called “Adobe AIR 20 SDK & Compiler”.
AIR SDK 21 (Compatible with Flex) for Windows: 21.0.0.215 SDK Windows Download
AIR SDK 21 (Compatible with Flex) for Macintosh: 21.0.0.215 SDK Macintosh Download
Previous versions of the AIR runtime and SDK can be found on the Archived AIR SDK and Runtimes page