accelerateToXY(displayObject, x, y, speed, xSpeedMax, ySpeedMax) → {number}
Sets the acceleration.x/y property on the display object so it will move towards the x/y coordinates at the given speed (in pixels per second sq.)You must give a maximum speed value, beyond which the display object won't go any faster.Note: The display object does not continuously track the target. If the target changes location during transit the display object will not modify its course.Note: The display object does