Today we're pleased to announce that the next version of AIR is available for immediate download. This update includes the following new features and improvements:
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:
- [3559420] [Win8] inconsistent freeze in performance moments after your finger(s) leave the touch screen (touch display only, not mouse)
- [3632481] Flash App created using Flex sdk 3.3 take about 10 seconds longer on Windows 7 thank on the Windows XP
- [3613482] [Mac]MouseEvent.MOUSE_DOWN/MOUSE_UP does not be fired when is pressed
- [3597533] [Mac] PDF doesn't render when rendermode is set to direct or gpu on Mac OS
- [3635216][Win8] Certain MouseEvents are either not dispatched or dispatched at incorrect times.
- [3635356] compiling in "ipa-debug-interpreter" mode results in PackageExtractionFailed
- [3511656] [Mac]Packaging multiple SWFs fails
- [3667964] Improve error message when app update fails due to certificate issues
- [3682685] when switching video quality, the audio quality changes, but not the video quality
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.1390 SDK & Compiler Download
AIR 4 SDK & Compiler for Macintosh: 4.0.0.1390 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.1390 SDK Windows Download
AIR SDK 4 (Compatible with Flex) for Macintosh: 4.0.0.1390 SDK Macintosh Download
Previous versions of the AIR runtime and SDK can be found on the Archived AIR SDK and Runtimes page