|
.roundedBezierSlideTo() Applies To MovieClip, TextField Availability Flash 6 and above, using AS1 or AS2. Usage <MovieClip|TextField>.roundedBezierSlideTo(control point x, control point y, x, y [, seconds, animation type, delay, callback, extra1, extra2]); Parameters control point x : x position of the desired control point Returns Nothing. Description Shortcut method; does a transition on the _x and _y properties of a MovieClip or TextField, sliding it on screen, but using a curve as its path (like the bezierSlideTo() method), but using only rounded positions when updating. This is useful when tweening "pixel" text or other type of pixel-aligned content. The curve is a simple curve with one bezier control point (BCP); the syntax and the concept is similar to actionScript's MovieClip.curveTo() drawing method. Examples // Moves a MovieClip from its current position to 200,200, with the bezier control point at 100,100, on 0.5 seconds <MovieClip>.roundedBezierSlideTo(100, 100, 200, 200, 0.5); See Also |