288 Classes
Other language elements
There are other language elements that make up ActionScript, outside of classes. These
include directives, constants, global functions, global properties, operators, and statements.
For information on how to use each of these language elements, see the following topics:
■ Chapter 5, “Syntax and Language Fundamentals”
■ Chapter 6, “Functions and Methods”
You can find a list of these language elements in the following sections of the ActionScript 2.0
Language Reference:
■Compiler Directives
■Constants
■Global Functions
■Global Properties
■Operators
■Statements
Top-level classes
The top level contains the ActionScript classes and global functions, many of which provide
core functionality for your applications. Core classes, borrowed directly from ECMAScript,
include Array, Boolean, Date, Error, Function, Math, Number, Object, String, and System.
To find more information on each class, see the following table.
NOTE
The CustomActions and XMLUI classes are available only in the Flash authoring
environment.
Class Description
Accessibility The Accessibility class manages communication between SWF files
and screen reader applications. You use the methods of this class with
the global
_accProps property to control accessible properties for movie
clips, buttons, and text fields at runtime. See Accessibility.
Array The Array class represents arrays in ActionScript and all array objects
are instances of this class. The Array class contains methods and
properties for working with array objects. See Array.
AsBroadcaster Provides event notification and listener management capabilities that
can be added to other objects. See AsBroadcaster.
Boolean The Boolean class is a wrapper for Boolean (
true or false) values. See
Boolean.>.