This topic provides an overview of the new functionality in Adobe® AIR™ that is not available to SWF content running in Adobe® Flash® Player.
The following runtime classes are new in Adobe AIR. They are not available to SWF content running in the browser:
|
Class |
Package |
|---|---|
|
flash.events |
|
|
flash.desktop |
|
|
flash.desktop |
|
|
flash.desktop |
|
|
flash.utils |
|
|
flash.desktop |
|
|
flash.events |
|
|
flash.events |
|
|
flash.events |
|
|
flash.data |
|
|
flash.filesystem |
|
|
flash.events |
|
|
flash.filesystem |
|
|
flash.filesystem |
|
|
flash.display |
|
|
flash.html |
|
|
flash.html |
|
|
flash.html |
|
|
flash.html |
|
|
flash.events |
|
|
flash.html |
|
|
flash.desktop |
|
|
flash.desktop |
|
|
flash.events |
|
|
flash.desktop |
|
|
flash.desktop |
|
|
flash.events |
|
|
flash.desktop |
|
|
flash.desktop |
|
|
flash.display |
|
|
flash.display |
|
|
flash.display |
|
|
flash.events |
|
|
flash.display |
|
|
flash.events |
|
|
flash.display |
|
|
flash.display |
|
|
flash.display |
|
|
flash.display |
|
|
flash.desktop |
|
|
flash.events |
|
|
flash.security |
|
|
flash.display |
|
|
flash.events |
|
|
flash.security |
|
|
flash.security |
|
|
flash.data |
|
|
flash.data |
|
|
flash.data |
|
|
flash.data |
|
|
flash.errors |
|
|
flash.events |
|
|
flash.errors |
|
|
flash.events |
|
|
flash.data |
|
|
flash.data |
|
|
flash.data |
|
|
flash.data |
|
|
flash.data |
|
|
flash.data |
|
|
flash.data |
|
|
flash.data |
|
|
flash.events |
|
|
flash.data |
|
|
flash.desktop |
|
|
flash.desktop |
|
|
flash.net |
|
|
flash.utils |
Also, the flash.security package includes the IURIDereferencer interface.
The following classes are available to SWF content running in the browser, but AIR provides additional properties or methods:
|
Class |
Property or Method |
|---|---|
|
DISPLAYING EXITING HTML_BOUNDS_CHANGE HTML_DOM_INITIALIZE HTML_RENDER LOCATION_CHANGE NETWORK_CHANGE USER_IDLE USER_PRESENT |
|
|
uploadUnencoded() |
|
|
HTTP_RESPONSE_STATUS responseURL responseHeaders |
|
|
commandKey controlKey |
|
|
allowLoadBytesCodeExecution |
|
|
parentSandboxBridge childSandboxBridge |
|
|
resetDRMVouchers() setDRMAuthenticationCredentials() |
|
|
followRedirects manageCookies shouldAuthenticate shouldCacheResponse userAgent userCache setLoginCredentials() |
|
|
httpResponseStatus event |
|
|
nativeWindow |
|
|
APPLICATION |
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.
The air.net package contains classes for network detection. This package is only available to content running in Adobe AIR. It is included in the ServiceMonitor.swc file.
The package includes the following classes:
Send me an e-mail when comments are added to this page | Comment Report