child node 181
class files, creating 157
class members 114
and subclasses 167
created once per class 165
creating 165
example of using 166
classes
about compiling and exporting 174
and object-oriented programming 156
assigning to movie clips 133
classpaths 169
creating and using 161
creating external class files 157
creating properties and methods 161
creating subclasses 162
defined 26, 114
defined only in external files 157, 161
dynamic 173
example of creating 157
extending 162
extending at runtime 173
get/set methods 172
importing 171, 172
initializing properties at runtime 134
initializing properties inline 162
instance members and class members 165
interfaces 167–168
naming 161
organizing in packages 171
overloading not supported 164
public and private member attributes 164
resolving class references 169
specifying export frame 174
See also classes, built-in
classes, built-in 113–119
extending 162
classpaths
defined 169
global and document-level 169
modifying 170
search order of 169
code
displaying line numbers 67
formatting 67
selecting a line 75
stepping through lines 75
word wrapping 67
808
Index
code hints 61
manually displaying 65
not being displayed 65
specifying settings for 64
triggering 62, 63
using 63
collisions, detecting 105
between movie clip and Stage point 106
between movie clips 106
colors
in Actions toolbox 61
in Script pane 61
values, setting 100
combining operations 48
comments 32
communicating with the Flash Player 185
comparison operators 46
compile time, defined 10
component-based architecture, defined 121
concatenating strings 34
conditions, checking for 56
constants 27, 33
constructor functions, sample 800
constructors
defined 27
overview 163
conversion functions 34
converting data types 34
counters, repeating action with 56, 57
creating objects 114
CSS. See cascading style sheets
curly braces 31
checking for matching pairs 67
cursors, creating custom 94
custom functions 51
D
data types 34
assigning to elements 37
automatically assigning 37
Boolean 35
casting 39
converting 34
declaring 38
defined 27
determining 37
MovieClip 36
null 36
Number 35
Object 36
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers