ping pong on actionscript 3.0