
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.
Содержание FLASH MX 2004 - ACTIONSCRIPT
Страница 1: ...ActionScript Reference Guide...
Страница 8: ...8 Contents...
Страница 12: ......
Страница 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Страница 54: ...54 Chapter 2 ActionScript Basics...
Страница 80: ...80 Chapter 3 Writing and Debugging Scripts...
Страница 82: ......
Страница 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Страница 112: ......
Страница 120: ...120 Chapter 6 Using the Built In Classes...
Страница 176: ......
Страница 192: ...192 Chapter 10 Working with External Data...
Страница 202: ...202 Chapter 11 Working with External Media...
Страница 204: ......
Страница 782: ...782 Chapter 12 ActionScript Dictionary...
Страница 793: ...Other keys 793 221 222 Key Key code...
Страница 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Страница 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Страница 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Страница 816: ...816 Index...