frame(s)
public function onEnterFrame(event:
Event
):void { ball.x += xspeed; ball.y = centerY + Math.sin(angle) * range; angle += yspeed; } } }