CHAPTER 7
. . . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
ActionScript Dictionary
This dictionary describes the syntax and use of ActionScript elements in Flash 5.
The entries in this guide are the same as those in ActionScript Dictionary Help.
To use examples in a script, copy the example text from ActionScript Dictionary
Help and paste it in the Actions panel in Expert Mode.
The dictionary lists all ActionScript elements-operators, keywords, statements,
actions, properties, functions, objects, and methods. For an overview of all
dictionary entries, see Contents of the dictionary; the tables in this section are a
good starting point for looking up symbolic operators or methods whose object
class you don't know.
ActionScript follows the ECMA-262 Standard (the specification written by the
European Computer Manufacturers Association) unless otherwise noted. Some
Flash 4 (and earlier) ActionScript elements have been deprecated and replaced
with new ActionScript elements that correspond to the ECMA Standard. It is
recommended that you use the new Flash 5 elements, although deprecated
elements are still supported by the Flash 5 Player.
There are two types of entries in this dictionary:
•
Individual entries for operators, keywords, functions, variables, properties,
methods, and statements
•
Object entries, which provide general information about predefined objects
Use the information in the sample entries to interpret the structure and
conventions used in these two types of entries.
Chapter 7
158
Sample entry for most ActionScript
elements
The following sample dictionary entry explains the conventions used for all
ActionScript elements that are not objects.
Entry title
All entries are listed alphabetically. The alphabetization ignores capitalization,
leading underscores, and so on.
Syntax
This section provides correct syntax for using the ActionScript element in your
code. The required portion of the syntax is in
code font
, and the optional code is
italicized code font
. Brackets (
[]
)indicate optional arguments.
Arguments
This section describes any parameters listed in the syntax.
Description