i wouldn't use the timeline, i would use the 'ball_mc_1' _x positioning. so give 'ball_mc_1' an instance name of 'ball' if the button is in the 'ball_mc' movieclip it would have an on Mouse rollover command which would contain ball._x += 5, and on rollout ball._x -= 5, stick these commands inside an if conditional which would have the maximum and minimum distances (if (ball._x>20)&&(ball._x<300){})