|
|
|||||
Что такое onClipEvent?
Всем привет!!!
Кто-нибудь может ясно объяснить, что такое onClipEvent, как он работает, для чего применяют и что это за параметры enterFrame, data, load и т.д.???
__________________
Требуется программист с навыками работы на компьютере |
|
|||||
отвечаю:
onClipEvent(movieEvent);{
... }Arguments A movieEvent is a trigger event that executes actions that are assigned to a movie clip instance. Any of the following values can be specified for the movieEvent argument: load The action is initiated as soon as the movie clip is instantiated and appears in the Timeline. unload The action is initiated 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. enterFrame The action is initiated as each frame is played, similar to actions attached to a movie clip. The actions associated with the OnEnterFrame movie clip event are processed after any actions that are attached to the affected frames. 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 when the left mouse button is pressed. mouseUp The action is initiated when 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. data The action is initiated when data is received in a loadVariables or loadMovie action. When specified with a loadVariables action, the data event occurs only once, when the last variable is loaded. When specified with a loadMovie action, the data event occurs repeatedly, as each section of data is retrieved.
__________________
Старый плюс лучше новых двух. I like RTFM попросил - подожди - обработай Chr(255) == '\xFF' - это про "я" lexass |
Часовой пояс GMT +4, время: 03:20. |
|
« Предыдущая тема | Следующая тема » |
|
|