dot operators 56
dot syntax 29
dragging movie clips 210
drawing
lines and fills 194
shapes 216
duplicating, movie clips 212
dynamic classes 259
E
ECMA-262
compliance 14
specification 24
encapsulation 249
encoding text 152
equality operators 54
different from assignment operators 54
strict 55
errors
list of error messages 305
name conflict 46
escape sequences 35
Escape shortcut keys 149
event handler methods 167
in ActionScript 2.0 176
event handlers
and on() and onClipEvent() 171
assigning functions to 169
attaching to buttons or movie clips 171
checking for XML data 277
defined 25, 167
defined by ActionScript classes 168
scope 174
event listeners 169
classes that can broadcast 170
scope 174
event model
for event handler methods 168
for event listeners 170
for on() and onClipEvent() handlers 171
events, defined 25, 167
exception handling 12
execution order
operator associativity 49
operator precedence 49
scripts 140
exporting scripts and language encoding 152
expressions
assigning multiple variables 55
comparing values 52
336
Index
defined 25
manipulating values in 49
Extensible Markup Language. See XML
external class files
creating 251
using classpaths to locate 268
external media 66, 295–303
loading MP3 files 297
loading SWF files and JPEG files 296
overview of loading 295
playing FLV files 299
preloading 300, 301, 302
reasons for using 66, 295
external sources, connecting Flash with 275
F
FLA files, best practices 66
Flash Player
coding standards 85
communicating with 285
debugging version 154
dimming context menu 286
displaying context menu 286
displaying full screen 286
getting latest version 165
methods 287
normal menu view 286
scaling SWF files to 286
Flash Player 7
and ECMA-262 compliance 14
new and changed language elements 12
new security model 13, 15, 18, 19
porting existing scripts 13, 294
FLV (external video) files 299
preloading 302
for statement 92
formatting code 76, 151, 152
comments 77
recommended suffixes 80
spacing 81
suffixes 78
formatting guidelines 95
fscommand() function
commands and arguments 286
communicating with Director 287
using 285
function keys, ASCII key code values 315
functions 25
and methods 26
asynchronous 276
Need help?
Do you have a question about the FLASH MX 2004-USING ACTIONSCRIPT IN FLASH and is the answer not in the manual?
Questions and answers