AIR 3 introduces Native Extension libraries allowing developers to create ActionScript libraries implemented with native code. This feature opens up the ability to access device specific functionality such as gyroscope or platform specific functionality such as in-app purchases and iAds on iOS.
Native extensions are a combination of ActionScript classes and native code. Native extension developers package the native extension into an ANE file for distribution. The ANE file is added to a Flash project the same way a SWC library is added using the Advanced ActionScript 3.0 Settings dialog box (see Figure 1). Once an ANE is added to a project, the developer uses the ActionScript classes to implement the native extension while gaining the coding benefits of code hinting and code completion.
Prebuilt native extensions can be downloaded at no charge (see Figure 2). New extensions are added as new devices and capabilities become available in the market.
For more information, see Using native extensions for Adobe AIR in the Adobe AIR help pages.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License
Flash User Forum |
More |
| 04/23/2012 | Auto-Save and Auto-Recovery |
|---|---|
| 04/23/2012 | Open hyperlinks in new window/tab/pop-up ? |
| 04/21/2012 | PNG transparencies glitched |
| 04/01/2010 | Workaround for JSFL shape selection bug? |
Flash Cookbooks |
More |
| 02/13/2012 | Randomize an array |
|---|---|
| 02/11/2012 | How to create a Facebook fan page with Flash |
| 02/08/2012 | Digital Clock |
| 01/18/2012 | Recording webcam video & audio in a flv file on local drive |