Table of Contents

Typographical Conventions

In order to indicate the various syntactic components of ActionScript, this book uses the following conventions:

Menu options

Menu options are shown using the figs/U2192.gif character, such as File figs/U2192.gif Open.

Constant width

Indicates code samples, clip instance names, frame labels, property names, and variable names. Variable names often end with the suffixes shown in Table 2-1 (such as _mc for variables that refer to movie clip instances). Although using these suffixes is considered the best practice, we sometimes avoided them when we found they made the surrounding text substantially more difficult to read. For brevity, therefore, the preferred suffixes have sometimes been omitted.

Italic

Indicates function names, method names, class names, layer names, URLs, filenames, and file suffixes such as .swf. In addition to being italicized, 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.

In the ActionScript Language Reference, we played around with some font conventions. The following conventions looked the best, while maintaining consistency with our overall approach, so we went for them:

If any or all of this is confusing now, it will be clear by the time you get to the ActionScript Language Reference, having read about objects, classes, and movie clips in Chapter 12, Chapter 13, and Chapter 14.

Pay special attention to notes and warnings set apart from the text with the following icons:

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.


Table of Contents