Adobe Integrated Runtime (AIR) for JavaScript Developers Pocket Reference

(nextflipdebug5) #1
Index | 153

O
onInvoke function, 128
onSocketOpen function, 131
output.txt example, 55


P
path setup, 25
Macintosh, 27
Windows, 25
PDF (Portable Document
Format), viii, 9
.profile file, 27
programming APIs, 13
ProgressEvent.PROGRESS
event, 134


R
readUTFBytes( ) method, 131
RIA (Rich Internet Applications)
AIR and, 6
RIAs (Rich Internet
Applications), 2
root application files, 32–33
root content files, 29
(see also root application files)
runtime JavaScript errors, 36
runtime property, 33, 55, 60
runtime.trace, 38


S
script bridging, 12
SDK, 18, 21
command line tools, 24
system path, placing in, 25
command-line tools, 141–143
installing, 24
setting up, 24
security, 15–17, 51
trusted versus untrusted
applications, 17


service and server
monitoring, 101–105
HTTP servers, monitoring
connectivity to, 101
Jabber servers, monitoring
connectivity to, 103
servicemonitor.swf file, 60, 101,
103
Socket class, 129
socket connections,
implementing
unsupported protocols
using, 129
SocketMonitor class, 103
Sound API, 137
sound files, playing, 137
source .profile or source .bashrc
commands, 28
SQL / database aliases, 148
SQLite database, 113
(see also embedded databases)
SQLStatement class, 116
accessing data with, 124
storing data with, 119
SQLStatement.execute( )
method, 118
Stage, 70
system aliases, 146

T
technology integration, 11
text editors, 21
top level aliases, 144
trace function, 33, 38
trusted versus untrusted
applications, 17

U
Universal Resource Identifiers
(URIs), 49
upload( ) method, 133
Free download pdf