import mx.transitions.Tween; import mx.transitions.easing.*; _root.onMouseDown = function() { tx = new Tween(clip, "_x", Regular.easeOut, clip._x, _xmouse, 2, true); ty = new Tween(clip, "_y", Regular.easeOut, clip._y, _ymouse, 2, true); };