import com.greensock.*; TweenLite.to(mc, baseDelay*Math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)), {x:mc1.x, y:mc1.y})