MovieClip.slideTo() , TextField.slideTo()

Availability

Flash Player 6.

Usage

my_mc.slideTo(x,y, seconds, animtype, delay, callback, extra1, extra2);

Parameters

x, y numbers or strings specifing end _x and _y properties of movieclip or textfield

Optionally you may now pass a string for relative value (like "-20" to end tween at 20 less than existing position).

Other parameters follow the tween() method.

Returns

Nothing.

Description

Shortcut method, following commands are identical:
my_mc.slideTo(_root._xmouse, _root._ymouse);
my_mc.tween(["_x","_y"],[_root._xmouse, _root._ymouse]);