code in frame 1 layer 1


ball.onEnterFrame = function(){

  ball._x += 5;

} // end function