![]() |
|
||||||||||
|
|||||||
|
|
« Предыдущая тема | Следующая тема » |
| Опции темы | Опции просмотра |
|
![]() |
|
|||||
|
Модрон-ветеринар
|
Тогда так попробуйте, без класса Tween:
but.onPress = function() { smoke.gotoAndPlay(1); smoke._alpha = 100; smoke._x = 251; smoke._y = 180 }; but.onRelease = but.onReleaseOutside = function() { this.useHandCursor = false ; this.enabled = false ; smoke.onEnterFrame = smokeHide; }; function smokeHide() { if (this._alpha > 0) { this._alpha -= 5; } else { delete this.onEnterFrame ; but.enabled = true ; but.useHandCursor = true ; } } |
![]() |
Часовой пояс GMT +4, время: 22:49. |
|
|
« Предыдущая тема | Следующая тема » |
| Теги |
| enabled , условие нажатия |
| Опции темы | |
| Опции просмотра | |
|
|