timer(s)


    private function onTimer(event:TimerEvent):void
    {
     ball.x += ball.vx;
     event.updateAfterEvent();
    }
   }
  }