Overview > Sample entry for most ActionScript elements
Sample entry for most ActionScript elementsThe following sample dictionary entry explains the conventions used for all ActionScript elements that are not objects.
All entries are listed alphabetically. The alphabetization ignores capitalization, leading underscores, and so on.
Syntax
The "Syntax" section provides correct syntax for using the ActionScript element in your code. The code portion of the syntax is in code font
, and the arguments you must provide are in italicized code font
. Brackets indicate optional arguments.
Arguments
This section describes any arguments listed in the syntax.
Description
This section identifies the element (for example, as an operator, method, function, or other element) and then describes how the element is used.
Player
This section tells which versions of the Player support the element. This is not the same as the version of Flash used to author content. For example, if you are creating content for the Flash 4 Player using the Flash 5 authoring tool, you cannot use ActionScript elements that are only available to the Flash 5 Player.
With the introduction of Flash 5 ActionScript, some Flash 4 (and earlier) ActionScript elements have been deprecated. Although deprecated elements are still supported by the Flash 5 Player, it is recommended that you use the new Flash 5 elements.
In addition, operator functionality has been greatly expanded in Flash 5. Not only have many new mathematical operators been introduced, but some of the older operators are now capable of handling additional data types. To maintain data type consistency, Flash 4 files are automatically modified when imported into the Flash 5 authoring environment, but these modifications will not affect the functionality of the original script. For more information, see the entries for +
(addition), <
(less than), >
(greater than), <=
(less than or equal to), >=
(greater than or equal to), !=
(inequality), and =
(equality).
Example
This section provides a code sample demonstrating how to use the element.
See also
This section lists related ActionScript dictionary entries.