![]() |
|
||||||||||
|
|||||
|
Регистрация: Jun 2013
Сообщений: 133
|
Я бы просто расширил стандартный таймер:
package { import flash.events.TimerEvent; import flash.utils.Timer; public class ExtendedTimer extends Timer { public function ExtendedTimer(delay:Number, repeatCount:int=0) { super(delay, repeatCount); } override public function stop():void { super.stop(); if(currentCount != repeatCount) dispatchEvent(new TimerEvent(TimerEvent.TIMER_COMPLETE)); } } } |
![]() |
Часовой пояс GMT +4, время: 13:56. |
|
|
« Предыдущая тема | Следующая тема » |
|
|