..), 82
isEmpty, lists, 47
is method, values, comparing types of, 40
isOnline, blog entries, 110
isSpace, 69
Iterable, typedef, 131??“133
iteration
arrays, 42, 98
database, with ResultSet, 285??“286
hash method, 49
over hash tables, 84
IntIter object, 81??“82
lists, 47, 98
and loops, 80
template loop expressions, 254??“256
iterator
method, 82??“83
typedef, 131??“133
J
JavaScript, 387??“423
AJAX, 414??“422
benefits to use, 422
compiling to, 6??“7, 21??“22
cross-browser event system solution, 397??“399
execution errors, redirecting, 392
external libraries, 159??“162
Flash content, embedding with, 319
FlashJsConnection, 435
Flash-to-JavaScript connection, 429??“431
functions, use of, 160
HTML, traversing with, 404??“414
HTML Document Object Model (DOM), 392??“396
HTML files, necessity of, 21??“22
JavaScript-to-Flash connection, 432
JavaScript-to-Neko HTTP server, 433
libraries, 391??“392, 399??“400
low-level access to, 396
magic, 478
Mozilla compared to Internet Explorer, 7
Object Notation (JSON), 414
OnLoad problem, 396??“399
output size, modifying, 390
Remoting API communication methods, 427??“428
SocketConnection, 436
switches, 24
table sorting, 401??“404
trace output, 180
Unicode support, 221??“222
join
arrays, 42, 68
lists, 47
jQuery library, 400
js package, 146
K
keyboard, events, Flash user interface,
372??“373
keying, color key, Neko Media Engine, 540
keys, hash tables, 48??“49
keywords
ActionScript/haXe comparison, 354??“358
of haXe, 28
kind method, Neko, 304
kother method, Neko, 304
L
labels
Flash user interface, 376
nGui Label control, 484??“485
Lambda class, 96??“98
array, 98
fold, 98
map, 97??“98
mapi, 97??“98
methods/description, 97
last, lists, 47
lastIndexOf, 67
insert, arrays
611
Index
lastInsertID method, 281
layout constructors, Flash user interface, 374
left shift (<<), binary operator, 55
length
arrays, 41
database property, 286
lists, 47
string, 66
less than (<), 55, 58??“59
less than or equal to (<=), 55
lhx project, 147
libraries, 145??“162
external libraries, 150??“162
features of, 8
GUI libraries, 480??“481
haxelib libraries, 146??“149
hxGtk library, 499??“503
JavaScript, 391??“392, 399??“400
Neko, 272??“273
from other projects, use of, 150
standard haXe, 145??“146
SysTools, 525??“530
line commenting, 37
links
dynamic links, 154??“156
HTML hyperlinks, 583
HTML link elements, 588
static links, 152??“154
Linux
HaXe installation on, 13??“14
Neko installation on, 16??“17
Ubuntu, Apache installation on, 233??“234
list(s), 46??“48
adding/removing items from, 48
filter method, 95
functions of, 46??“47
HTML, 581??“582
iterator, creating, 98
list fields/descriptions, 47
map method, 94??“95
querying values in, 48
List control, nGui, 491??“495
list method, lambda class, 98
list project, 148
LocalConnection, 435
local functions, 90??“96
multi-function recursion, 92??“93
passing functions to, 92
structure of, 90
type structure, 91
variable scope, 93??“94
Logger class
data requirements, 311??“312
Neko, 311??“314
stream for output, accepting, 311??“312
logical comparison operators, 58??“59
logical expressions, 254
Templo, 263
look-around constructs
regular expressions, 220??“221
syntax for, 221
loops, 79??“85
break and continue, 84??“85
for loop, 81??“82
looping over collections, 82??“84
recursive functions, 88??“90
ResultSet class iteration, 285??“286
template loop expressions, 254??“256
Templo loop expressions, 263??“264
while loops, 80??“81
Loops, output string data to stream, 313
lpad, 69??“70
Lsys project, 147
ltrim, 69??“70
M
macros
calling inside template, 256??“257
with Templo, 260, 266??“268
magic, 475??“478
boot classes, 475
Flash, 477??“478
Infos interface, 477
JavaScript, 478
Neko, 477
PosInfo, 477
Public interface, 477
???resolve method, 475??“477
???setfield method, 475??“477
static initialization, 475
main function
execution at startup, 85, 104
HaXe program structure, 23
search, storing location of, 68
-main switch
functions of, 19, 24
importance of, 19
make method, Manager class, extending, 295
Manager class
extending class, steps in, 294??“295
methods/description, 292??“293
Neko, 288, 291??“295
Neko Media Engine (NME), 534??“537
nGui library, 482??“484
map
, lists, 47
mapi method, lambda class, 97??“98
map method
Lambda class, 97??“98
lists, 94??“95
maps, HTML, 584
mask
Flash movie, 342??“344
Neko Media Engine (NME), 540
mask
612
matched method, regular expressions, 211??“213,
214??“215, 218??“219
math, 63??“66
divide by zero issue, 64??“65
float to int conversion functions, 65??“66
math fields/descriptions, 63??“64
numerical validity, testing for, 65
template numeric/calculation expressions, 253
menus
creating, nGui, 496??“499
creating, SysTools, 526??“529
submenus, 497, 528
message boxes
confirm box, 530
SysTools, 529??“530
message hooks, custom events with, 516??“517
methods, abstract methods, 119??“120
MochiKit library, 400
mod_neko
installing on Linux Ubuntu, 233??“234
installing on Windows, 232??“233
modulo operator (%), 55, 57
in Templo, 261
mootools library, 400
Motion-Twin ActionScript Compiler (MTASC), 6
mouse events, Flash user interface, 371??“372
movie clips.
Pages:
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132