28.04.2016 Views

Adobe AIR Building Apps

Adobe AIR Building Apps AS3 Actionscript

Adobe AIR Building Apps AS3 Actionscript

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

BUILDING ADOBE <strong>AIR</strong> APPLICATIONS<br />

Working with the <strong>AIR</strong> APIs<br />

15<br />

Package Class Property, method, or event Added in <strong>AIR</strong> version<br />

flash.system Capabilities languages 1.1<br />

LoaderContext allowLoadBytesCodeExecution 1.0<br />

Security APPLICATION 1.0<br />

flash.ui KeyLocation D_PAD 2.5<br />

Most of these new properties and methods are available only to content in the <strong>AIR</strong> application security sandbox.<br />

However, the new members in the URLRequest classes are also available to content running in other sandboxes.<br />

The ByteArray.compress() and ByteArray.uncompress() methods each include a new algorithm parameter,<br />

allowing you to choose between deflate and zlib compression. This parameter is available only to content running in <strong>AIR</strong>.<br />

<strong>AIR</strong>-specific Flex components<br />

The following <strong>Adobe</strong>® Flex MX components are available when developing content for <strong>Adobe</strong> <strong>AIR</strong>:<br />

• FileEvent<br />

• FileSystemComboBox<br />

• FileSystemDataGrid<br />

• FileSystemEnumerationMode<br />

• FileSystemHistoryButton<br />

• FileSystemList<br />

• FileSystemSizeDisplayMode<br />

• FileSystemTree<br />

• FlexNativeMenu<br />

• HTML<br />

• Window<br />

• WindowedApplication<br />

• WindowedSystemManager<br />

Additionally, Flex 4 includes the following spark <strong>AIR</strong> components:<br />

• Window<br />

• WindowedApplication<br />

For more information about the <strong>AIR</strong> Flex components, see Using the Flex <strong>AIR</strong> components.<br />

Last updated 2/22/2016

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!