144
APPENDIX B APPENDIX B
AIR JavaScript Aliases
Tables B-1 through B-12 show the JavaScript aliases created
inAIRAliases.jsand the AIR and Flash Player APIs to which
they correspond.
TIP
All nonaliased ActionScript APIs are accessed through the
window.runtime property in JavaScript.
Table B-1. Top-level aliases
Alias ActionScript API
air.trace trace
air.navigateToURL flash.net.navigateToURL
air.sendToURL flash.net.sendToURL
Table B-2. File aliases
Alias ActionScript API
air.File flash.filesystem.File
air.FileStream flash.filesystem.FileStream
air.FileMode flash.filesystem.FileMode
Table B-3. Event aliases
Alias ActionScript API
air.Event flash.events.Event
air.FileListEvent flash.events.FileListEvent