![]() |
|
||||||||||
|
|
|
|||||
|
Регистрация: Nov 2007
Сообщений: 165
|
Доброго времени суток.
![]() у меня имеется Фоновая "btn2" кнопка, над ней лежат 4 кнопки меню "menu.stg1, menu.stg2, menu.stg3, menu.stg4" и имеется код function bob() { if ((btn2.hitTest(_xmouse, _ymouse) == false) || (menu.stg1.hitTest(_xmouse, _ymouse) == false) || (menu.stg2.hitTest(_xmouse, _ymouse) == false) || (menu.stg3.hitTest(_xmouse, _ymouse) == false) || (menu.stg4.hitTest(_xmouse, _ymouse) == false)) { trace("OUT"); } } btn2.onRollOut = function() { bob(); }; menu.stg1.onRollOver = function() { this.gotoAndPlay("over"); trace(this._name); x += 2; menu.stg1.swapDepths(x); }; menu.stg1.onRollOut = function() { this.gotoAndPlay("out"); bob(); }; ///////////////// menu.stg2.onRollOver = function() { this.gotoAndPlay("over"); trace(this._name); x += 2; menu.stg2.swapDepths(x); }; menu.stg2.onRollOut = function() { this.gotoAndPlay("out"); bob(); }; ///////////////// menu.stg3.onRollOver = function() { this.gotoAndPlay("over"); trace(this._name); x += 2; menu.stg3.swapDepths(x); }; menu.stg3.onRollOut = function() { this.gotoAndPlay("out"); bob(); }; ///////////////// menu.stg4.onRollOver = function() { this.gotoAndPlay("over"); trace(this._name); x += 2; menu.stg4.swapDepths(x); }; menu.stg4.onRollOut = function() { this.gotoAndPlay("out"); bob(); }; ПРОБЛЕМА: столкнулся с тем, что когда уводиш быстро курсор с Меню с кнопками функция bob(); не выполняется из-за того что координата _xmouse залипает.....можно ли как-то решить эту проблему с быстрым уводом курсора?
__________________
Да здравствует то, благодаря чему мы не смотря ни на что! Последний раз редактировалось zveryuka; 12.10.2009 в 18:55. |
|
|||||
|
Модрон-ветеринар
|
Нет.
Если флешка опубликована на странице, попробуйте использовать для этого JS. |
![]() |
![]() |
Часовой пояс GMT +4, время: 23:21. |
|
|
« Предыдущая тема | Следующая тема » |
|
|