MovieClip.rotateTo() , TextField.rotateTo()

Availability

Flash Player 6.

Usage

my_mc.rotateTo(rotation, seconds, animtype, delay, callback, extra1, extra2)

Parameters

rotation A number , end value of movieclip _rotation property

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

Other parameters follow the tween() method.

Returns

Nothing.

Description

Shortcut method, following commands are identical:

my_mc.rotateTo(180,3,"easeoutback");
my_mc.tween("_rotation",180,3,"easeoutback");