
31.07.2003, 16:12
|
|
Регистрация: May 2001
Сообщений: 1,042
|
onClipEvent (load) {
buttonOn = false;
}
//----------------------------------------
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
buttonOn = true;
}
}
//----------------------------------------
onClipEvent (mouseUp) {
buttonOn = false;
}
//----------------------------------------
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
this.useHandCursor = true;
}
if (buttonOn == true) {
//_root.scrollingRabochegoPolya(-1, "scrollPoY"); - в данном случае я вызываю свою собственную функцию
}
}
|