User Guide
492 Chapter 2: ActionScript Language Reference
Event handler summary for the MovieClip class
MovieClip._target
Read-only; the target path of a movie clip instance.
MovieClip._totalframes
Read-only; the total number of frames in a movie clip instance.
MovieClip.trackAsMenu
A Boolean value that indicates whether other movie clips can
receive mouse release events.
MovieClip._url
Read-only; the URL of the SWF file from which a movie clip
was downloaded.
MovieClip.useHandCursor
A Boolean value that determines whether the hand is
displayed when the mouse rolls over a movie clip.
MovieClip._visible
A Boolean value that determines whether a movie clip
instance is hidden or visible.
MovieClip._width
The width of a movie clip instance, in pixels.
MovieClip._x
The x coordinate of a movie clip instance
MovieClip._xmouse
Read-only; the x coordinate of the mouse pointer within a
movie clip instance.
MovieClip._xscale
The value specifying the percentage that the movie clip is
scaled horizontally.
MovieClip._y
The y coordinate of a movie clip instance.
MovieClip._ymouse
Read-only; the y coordinate of the mouse pointer within a
movie clip instance.
MovieClip._yscale
The value specifying the percentage for vertically scaling a
movie clip.
Event handler Description
MovieClip.onData
Invoked when all the data is loaded into a movie clip.
MovieClip.onDragOut
Invoked when the mouse button is pressed inside the movie
clip area and then rolled outside the movie clip area.
MovieClip.onDragOver
Invoked when the mouse pointer is dragged over the movie
clip.
MovieClip.onEnterFrame
Invoked continually at the frame rate of the SWF file. The
actions associated with the
enterFrame event are processed
before any frame actions that are attached to the affected
frames.
MovieClip.onKeyDown
Invoked when a key is pressed. Use the Key.getCode() and
Key.getAscii() methods to retrieve information about the last
key pressed.
MovieClip.onKeyUp
Invoked when a key is released.
MovieClip.onKillFocus
Invoked when focus is removed from a movie clip.
Property Description