Adobe Integrated Runtime (AIR) for JavaScript Developers Pocket Reference

(nextflipdebug5) #1
Index | 151

command line tools, 24
system path, placing in, 25
command-line arguments,
capturing, 127–129
conflicting user interfaces, 4
cookies, 46
Creative Commons Attribution-
Noncommercial-Share
Alike 3.0 License, xiv
cross domain data loading, 53


D
databases (see embedded
databases)
dataTransfer object, 110
desktop aliases, 147
desktop integration, 14
document technologies, 9
drag and drop,
enabling, 108–113
AIR limitations relating
to, 111


E
embedded databases, 113–127
connecting to, 114–115
data, accessing, 123–127
data, storing in, 119–121
tables, creating, 116–119
errors, 36
event aliases, 144
Event.COMPLETE event, 134,
135
events, 56


F
file aliases, 144
file API, 76–94
asynchronously reading text
from a file, 82–86


directory contents,
iterating, 91
synchronous reading of text
from a file, 79–82
temporary files, creating, 89
writing text from a
string, 76–79
XML files, loading data
from, 86–88
File class, 76, 94
File I/O API, 105
file pickers, 94–101
directories, browsing
for, 99–101
multiple files, browsing
for, 97–99
one file, browsing for, 94–96
file references, 76
File.browseForDirectory( )
method, 99
File.browseForOpen( )
method, 94
File.browseForOpenMultiple( )
method, 97
File.resolve( ) method, 77
FileStream class, 77
FileStream.open( ) method, 77
FileStream.writeMultiByte( )
method, 77
Flash, viii
Flash Player, 8
APIs, accessing from
JavaScript, 55
events, 56
Flex Builder, viii
Flex Framework, viii

G
Geometry Aliases, 146
Free download pdf