OnClipEvent is a script that is used by a movie clip to execute some other commands in a block event. Event parameters can contains:
- load command will be executed when first movie clip loaded by the time line.
- unload command will be executed when a movie clip is removed (omitted) from the time line.
- enterFrame command will run continuously throughout the active frame.
- mouseMove command will be executed when the mouse is moved.
- mouseDown command will be executed when the mouse is pressed.
- mouseUp command will be executed when the mouse is released.
- keydown command will be executed when it detects a button pressed by using the action Key.getCode.
- keyUp command will be executed when it detects a button released by using the action Key.getCode.
Advance understanding about this script will be formed in line with our practice in processing the action script.
0 Comments