User Guide

342 Index
Test Mov i e
and keyboard controls 153
and Unicode 153
testing. See debugging
text
assigning to text field at runtime 222
determining required size of TextField object 226
encoding 153
getting metric information 226
scrolling 244
using <img> tag to flow around images 239
See also text fields
text fields 221
and HTML text 231
applying cascading style sheets 230
avoiding variable name conflicts 223
creating and removing at runtime 223
default properties 225
determining required size 226
displaying properties for debugging 164
flowing text around embedded images 236, 239
formatting 224
formatting with cascading style sheets 226
instance and variable names compared 222
See also TextField class, TextFormat class,
TextField.StyleSheet class
TextField class 221
creating scrolling text 244
TextField.StyleSheet class 226
and cascading style sheets 228
and TextField.styleSheet property 226, 230
creating text styles 229
TextFormat class 224
this keyword 96, 196
Timeline
best practices 66
variables 46
tooltips. See code hints
trace, writing ActionScript 87
transferring variables between movie and server 279
troubleshooting. See debugging
try-catch statement 93
try-catch-finally statement 93
typing variables 39
typographical conventions 9
U
undefined data type 39
Unicode
and Test Movie command 152, 153
support 152
URL-encoded format, sending information 276
user event, defined 167
UTF-8 (Unicode) 152
V
values, manipulating in expressions 49
variables
about 44
and Debugger Variables tab 157
and Debugger Watch list 158
assigning multiple 55
avoiding name conflicts 223
checking and setting values 44
converting to XML 281
defined 27
determining data type 43
modifying in Debugger 157
naming 70, 145
naming rules 44
passing content 47
referencing value 48
sending to URL 181
setting dynamically 56
suffixes 145
testing 44
transferring between movie and server 279
using in scripts 47
writing ActionScript 88
Variables tab, Debugger 157
version control, best practices 68
video, alternative to importing 299
View Options pop-up menu 150, 152
volume, creating sliding control 190
W
Watch tab, Debugger 158
web applications, continuous connection 284
with statement 87
word wrapping in code, enabling 152
writing ActionScript 85
initialization 86
super prefix 87
trace 87
with statement 87
writing syntax 89