SHARE
TWEET

Untitled

a guest Jul 17th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private function onStartClick(e:MouseEvent):void
  2.         {  
  3.             _timer = new Timer(1000, 100);
  4.             _timer.addEventListener(TimerEvent.TIMER, timer);
  5.             _timer.start();
  6.            
  7.         }
  8.        
  9.         private function timer(event:TimerEvent):void
  10.         {
  11.            
  12.             _timeText.text = String(_timer.currentCount);
  13.         }
RAW Paste Data
Top