Working with the AIR APIsAdobe® AIR® includes functionality that is not available to SWF content running in Adobe® Flash® Player. ActionScript 3.0 DevelopersThe Adobe AIR APIs are documented in the following two books: HTML DevelopersIf you’re building HTML-based AIR applications, the APIs that are available to you in JavaScript via the AIRAliases.js file (see Accessing AIR API classes from JavaScript) are documented in the following two books: AIR-specific ActionScript 3.0 classesThe following table contains runtime classes are specific to Adobe AIR. They are not available to SWF content running in Adobe® Flash® Player in the browser. HTML DevelopersThe classes that are available to you in JavaScript via the AIRAliases.js file are listed in Adobe AIR API Reference for HTML Developers.
Flash Player classes with AIR-specific functionalityThe following classes are available to SWF content running in the browser, but AIR provides additional properties or methods:
Most of these new properties and methods are available only to content in the AIR application security sandbox. However, the new members in the URLRequest classes are also available to content running in other sandboxes. The ByteArray.compress() and ByteArray.uncompress() methods each include a new algorithm parameter, allowing you to choose between deflate and zlib compression. This parameter is available only to content running in AIR. AIR-specific Flex componentsThe following Adobe® Flex™ MX components are available when developing content for Adobe AIR: Additionally, Flex 4 includes the following spark AIR components: For more information about the AIR Flex components, see Using the Flex AIR components. |
|