|
.roundedXSlideTo() Applies To MovieClip, TextField Availability Flash 6 and above, using AS1 or AS2. Usage <MovieClip|TextField>.roundedXSlideTo(x [, seconds, animation type, delay, callback, extra1, extra2]); Parameters x : Desired _x position for this object. Returns Nothing. Description Shortcut method; does a transition on the _x property of a MovieClip or TextField, sliding it on screen horizontally (like the xSlideTo() method), but using only rounded positions when updating. This is useful when tweening "pixel" text or other type of pixel-aligned content. Examples // Moves a MovieClip to _x=10. <MovieClip>.roundedXSlideTo(10, 0.5); See Also |