In order to indicate the various syntactic components of ActionScript, this book uses the following conventions: -
- Menu options
-
Menu options are shown using the character, such as File Open. -
- Constant width
-
Indicates code examples, code snippets, clip instance names, frame labels, property names, variable names , and symbol linkage identifiers. -
- Italic
-
Indicates function names, method names, class names, package names, layer names, URLs, filenames, and file suffixes such as .swf . In addition to being italicized in the body text, method and function names are also followed by parentheses, such as duplicateMovieClip( ) . -
-
Constant width bold -
Indicates text that you must enter verbatim when following a step-by-step procedure. Constant width bold is also used within code examples for emphasis, such as to highlight an important line of code in a larger example. -
- Constant width italic
-
Indicates code that you must replace with an appropriate value (e.g., your name here ). Constant width italic is also used to emphasize variable, property, method, and function names referenced in comments within code examples. | This is a tip. It contains useful information about the topic at hand, often highlighting important concepts or best practices. | | | This is a warning. It helps you solve and avoid annoying problems or warns you of impending doom. Ignore at your own peril. | | This is a note about ActionScript 1.0. It compares and contrasts ActionScript 1.0 with ActionScript 2.0, helping you to migrate to ActionScript 2.0 and to understand important differences between the two versions of the language. |