Today we're pleased to announce that the next version of AIR is available for immediate download.
Please note that only the AIR runtime for Android, AIR SDK & Compiler and AIR SDK were updated. The AIR runtimes for desktop were not updated with this release.
This update includes the following fixes and security updates:
Security update details can be found here: Security Bulletin (APSB14-07)
New Features:
- Improved Packaging Engine - iOS - BETA
We're very excited about this new feature. The new packaging engine we're working on can improve iOS packaging time up to 10 times over the current packager! However this feature is still early in development and we'd like to get your feedback. To enable this feature, please use "-useLegacyAOT no" in the ADT command, before the signing options.
- Mobile Workers (concurrency) - Android
Introduced as a beta feature in AIR 3.9, we've continued to improve this feature based on your feedback for its official release in AIR 4.
- Support for native resources access by R* mechanism in native extension - Android
Currently, to use the native Android resources in the Android Native Extension one has to use getResourceID() API while typically to access the resource IDs developers use the R.* mechanism. AIR 4.0 onwards, apps developers will be able to access the resources by R.* mechanism. All the dependencies need to be specified in platform.xml as following and all the dependencies and resources to be packaged in the ANE.
- Graphics: Buffer Usage flag for Stage3D
We've added a new enum Class called Context3DBufferUsage which defines two constants, STATIC_DRAW (default) and DYNAMIC_DRAW. These constants specify how buffers will be used in Stage3D. We've also added a new parameter, called "bufferUsage", to the constructors of VertexBuffer and IndexBuffer. This "bufferUsage" parameter uses one of the constants form Context3DBufferUsage, which will allow you to select the appropriate buffer type according to your needs.
- Stage3D Creation of Context3D with Profile Array
We've added a new interface to Stage3D.requestContext3DMatchingProfiles(profiles:Vector. ) which will create a Context3D with highest level suitable profile that is in profile array, based on the current hardware. A developer can check the newly added property 'profile' to obtain the current profile that was chosen by the Flash Runtime.
- Support for Android 4.4 (KitKat)
We've completed our support testing with AIR against the latest Android 4.4 release. Please let us know if you encounter any problems.For further information please see our release notes.
Fixed Issues:
- [3686074] [iOS] New apps and app updates submitted to the App Store must be built with the latest version of Xcode 5 from Feburary 1st
- [3681788] [Android] The CCJ languages characters are displayed as blank box on the TextField.
- [3697917] [iOS] "The input line is too long." error thrown when app packaged with "-useLegacyAOT no"
Download Locations:
AIR 4 runtime for Windows: 4.0.0.1390 Runtime Download
AIR 4 runtime for Macintosh: 4.0.0.1390 Runtime Download
AIR 4 SDK & Compiler for Windows: 4.0.0.1628 SDK & Compiler Download
AIR 4 SDK & Compiler for Macintosh: 4.0.0.1628 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 3.9 SDK and ActionScript Compiler 2.0 in a single SDK called “Adobe AIR 3.9 SDK & Compiler”.
AIR SDK 4 (Compatible with Flex) for Windows: 4.0.0.1628 SDK Windows Download
AIR SDK 4 (Compatible with Flex) for Macintosh: 4.0.0.1628 SDK Macintosh Download
Previous versions of the AIR runtime and SDK can be found on the Archived AIR SDK and Runtimes page