T-W > updateAfterEvent
updateAfterEventSyntax
updateAfterEvent(
movie clip event
);
Arguments
movie clip event
You can specify one of the following values as a movie clip event:
![]() |
mouseMove The action is initiated every time the mouse is moved. Use the _xmouse and _ymouse properties to determine the current mouse position. |
![]() |
mouseDown The action is initiated if the left mouse button is pressed. |
![]() |
mouseUp The action is initiated if the left mouse button is released. |
![]() |
keyDown The action is initiated when a key is pressed. Use the Key .getCode method to retrieve information about the last key pressed. |
![]() |
keyUp The action is initiated when a key is released. Use the key .getCode method to retrieve information about the last key pressed. |
Description
Action; updates the display (independent of the frames per second set for the movie) after the clip event specified in the arguments has completed. This action is not listed in the Flash Actions panel. Using updateAfterEvent
with drag actions that specify the _x
and _y
properties during the mouse move allows objects to drag smoothly without a flickering screen effect.
Player
Flash 5 or later.
See also
onClipEvent