Appendix A. AIR JavaScript Aliases

Table A-1 through Table A-15 show the JavaScript aliases created in AIRAliases.js and the AIR and Flash Player APIs to which they correspond.

Note

All non-aliased ActionScript APIs are accessed through the window.runtime property in JavaScript.

Table A-1. Top-level aliases

Alias

ActionScript API

air.trace

trace

air.navigateToURL

flash.net.navigateToURL

air.sendToURL

flash.net.sendToURL

Table A-2. File aliases

Alias

ActionScript API

air.File

flash.filesystem.File

air.FileStream

flash.filesystem.FileStream

air.FileMode

flash.filesystem.FileMode

Table A-3. Event aliases

Alias

ActionScript API

air.AsyncErrorEvent

flash.eventsAsyncErrorEvent

air.BrowserInvokeEvent

flash.events.BrowserInvokeEvent

air.DataEvent

flash.events.DataEvent

air.DRMAuthenticateEvent

flash.events.DRMAuthenticateEvent

air.DRMStatusEvent

flash.events.DRMStatusEvent

air.Event

flash.events.Event

air.EventDispatcher

flash.events.EventDispatcher

air.FileListEvent

flash.events.FileListEvent

air.HTTPStatusEvent

flash.events.HTTPStatusEvent

air.IOErrorEvent

flash.events.IOErrorEvent

air.InvokeEvent

flash.events.InvokeEvent

air.NetStatusEvent

flash.events.NetStatusEvent

air.OutputProgressEvent

flash.events.OutputProgressEvent

air.ProgressEvent

flash.events.ProgressEvent

air.SecurityErrorEvent

flash.events.SecurityErrorEvent

air.StatusEvent

flash.events.StatusEvent ...

Get Adobe AIR for JavaScript Developers Pocket Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.