User Guide
340 Index
P
packages 260
coding conventions 73
naming 260
parameters
defined 27
in parentheses 31
passing to functions 62
parent movie clips, defined 205
parentheses 31
checking for matching pairs 151
passing values
by content 47
by reference 48
passwords and remote debugging 155
pausing (stepping through) code 160
pinning scripts in place 143
Player, ActionScript 85
playing movie clips 180
pointer. See cursors
policy files 290
must be named crossdomain.xml 290
See also security
polymorphism 250
prefixes 102
super 87
primitive data types 34
private attribute for class members 256
programming classes 102
projectors, executing applications from 286
properties
accessing 56
constant 34
declaring 256
defined 27
initializing at runtime 219
of movie clips 209
of objects, accessing 198
Properties tab, Debugger 158
public attribute for class members 256
punctuation balance, checking for 151
Q
quotation marks, including in strings 35
R
readability, formatting code 81
reference data types 34
registration point, and loaded images 209
remote
debugging 155
files, communicating with 275
sites, continuous connection 284
removing
loaded SWF files 207
movie clips 212
repeating actions 59
reserved words
coding conventions 75
See keywords
resources, additional 9
return statement 93
_root 96
_root property and loaded movie clips 208
runtime, defined 9
S
sample script 195
scenes, best practices 67
scope 95
avoiding_lockroot 96
avoiding_root 96
this keyword 96
Script navigator 142
Script pane
about 141
buttons above 142
working with scripts in 142
Script window (Flash Professional only) 140
scripts
about writing and debugging 139
commenting 31
controlling execution 140
controlling flow 140
correcting text display problems 152
debugging 153
declaring variables 47
importing and exporting 152
keyboard shortcuts for pinned scripts 143
organizing 82
pinning in place 143
porting to Flash Player 7 13, 294
sample 195
testing 153