Class
Button
Camera
Color
ContextMenu
ContextMenuItem
CustomActions
Date
Error
Function
Key
Description
The Button class provides methods, properties, and event handlers for
working with buttons. See Button. Note that the built-in Button
class is different from the Button component class, associated with the
version 2 component, Button.
The Camera class provides access to the user's camera, if one is
installed. When used with Flash Communication Server, your SWF file
can capture, broadcast, and record images and video from a user's
camera. See Camera.
The Color class lets you set the RGB color value and color transform of
movie clip instances and retrieve those values after you set them. The
Color class is deprecated in Flash Player 8 in favor of the
ColorTransform class. For information on color transforms, see
ColorTransform (flash.geom.ColorTransform).
The ContextMenu class lets you control the contents of the Flash
Player context menu at runtime. You can associate separate
ContextMenu objects with MovieClip, Button, or TextField objects by
using the
property available to those classes. You can also add
menu
custom menu items to a ContextMenu object by using the
ContextMenuItem class. See ContextMenu.
The ContextMenuItem class lets you create new menu items that
appear in the Flash Player context menu. You add new menu items that
you create with this class to the Flash Player context menu by using the
ContextMenu class. See ContextMenuItem.
The CustomActions class lets you manage any custom actions that are
registered with the authoring tool. See CustomActions.
The Date class shows how dates and times are represented in
ActionScript, and it supports operations for manipulating dates and
times. The Date class also provides the means for obtaining the current
date and time from the operating system. See Date.
The Error class contains information about runtime errors that occur in
your scripts. You typically use the
condition, which you can handle using a
statement. See Error.
The Function class is the class representation of all ActionScript
functions, including those native to ActionScript and those that you
define. See Function.
The Key class provides methods and properties for getting information
about the keyboard and key presses. See Key.
statement to generate an error
throw
try..catch..finally
About top-level and built-in classes
289
Need help?
Do you have a question about the FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH and is the answer not in the manual?