Packageflupie.textanim
Classpublic class TextAnimAnchor
InheritanceTextAnimAnchor Inheritance Object

TextAnimAnchor configures the point of registration of each TextAnimBlock.

Use to change anchor properties. TOP and BOTTOM works with vertical orientation. LEFT and RIGHT works with horizontal. CENTER can set either.

                  
	import flupie.textanim.TextAnim;
	
	var myTextAnim:TextAnim = new TextAnim(myTextField);
	myTextAnim.effects = myEffect;
	myTextAnim.anchorY = TextAnimAnchor.TOP; //changes the vertical registration to TOP, and keeps horizontal registration.
	myTextAnim.start();
	
	function myEffect(block:TextAnimBlock):void {
		block.scaleY = 2;
	}
	
               

You can use TextAnimTools.showAnchors(myTextAnim) to visualize the anchor points.



Public Constants
 ConstantDefined By
  BOTTOM : String = B
[static]
TextAnimAnchor
  CENTER : String = C
[static]
TextAnimAnchor
  LEFT : String = L
[static]
TextAnimAnchor
  RIGHT : String = R
[static]
TextAnimAnchor
  TOP : String = T
[static]
TextAnimAnchor
Constant Detail
BOTTOMConstant
public static const BOTTOM:String = B

CENTERConstant 
public static const CENTER:String = C

LEFTConstant 
public static const LEFT:String = L

RIGHTConstant 
public static const RIGHT:String = R

TOPConstant 
public static const TOP:String = T