486 Chapter 12: ActionScript Dictionary
Event handler summary for the MovieClip class
Event handler Description
MovieClip.onData Invoked when all the data is loaded into a movie clip.
MovieClip.onDragOut Invoked while the pointer is outside the button; the mouse
button is pressed inside, and then rolls outside the button area.
MovieClip.onDragOver Invoked while the pointer is over the button; the mouse button
has been pressed then rolled outside the button, and then
rolled back over the button.
MovieClip.onEnterFrame Invoked continually at the frame rate of the SWF file. The
actions associated with the enterFrame clip 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 button.
MovieClip.onLoad Invoked when the movie clip is instantiated and appears in
the Timeline.
MovieClip.onMouseDown Invoked when the left mouse button is pressed.
MovieClip.onMouseMove Invoked every time the mouse is moved.
MovieClip.onMouseUp Invoked when the left mouse button is released.
MovieClip.onPress Invoked when the mouse is pressed while the pointer is over
a button.
MovieClip.onRelease Invoked when the mouse is released while the pointer is over
a button.
MovieClip.onReleaseOutside Invoked when the mouse is released while the pointer is
outside the button after the button is pressed while the pointer
is inside the button.
MovieClip.onRollOut Invoked when the pointer rolls outside of a button area.
MovieClip.onRollOver Invoked when the mouse pointer rolls over a button.
MovieClip.onSetFocus Invoked when a button has input focus and a key is released.
MovieClip.onUnload Invokes in the first frame after the movie clip is removed from
the Timeline. The actions associated with the Unload movie
clip event are processed before any actions are attached to
the affected frame.