Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   Общие вопросы (http://www.flasher.ru/forum/forumdisplay.php?f=10)
-   -   Что такое onClipEvent? (http://www.flasher.ru/forum/showthread.php?t=40066)

x_blade 25.11.2002 16:43

Что такое onClipEvent?
 
Всем привет!!!
Кто-нибудь может ясно объяснить, что такое onClipEvent, как он работает, для чего применяют и что это за параметры enterFrame, data, load и т.д.???

lexass 25.11.2002 16:53

отвечаю:
 
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.


Часовой пояс GMT +4, время: 03:19.

Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.