onClipEvent (load) { var targetX = 6; } // onClipEvent (enterFrame) { xDiff = targetX-this._x; this._x += xDiff/4; }