Advertisement
Guest User

Untitled

a guest
May 14th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. private function timerTick(e:TimerEvent):void
  2. {
  3. if (_score == 30)
  4. {
  5. _time += 4;
  6. }
  7. _time += 2;
  8. _timeBox.text = String(_time);
  9. if (_time == 0)
  10. {
  11. stage.removeEventListener(MouseEvent.MOUSE_DOWN, checkGrid)
  12. _timer.stop();
  13. }
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement