Packageflupie.textanim
Classpublic class TextAnimEvent
InheritanceTextAnimEvent Inheritance Object

Events thats TextAnim instances dispatches.



Public Constants
 ConstantDefined By
  COMPLETE : String = complete
[static] Dispatched when dispatche blocks was completed.
TextAnimEvent
  PROGRESS : String = progress
[static] Dispatched when the dipatch blocks is on progress each blocks.
TextAnimEvent
  START : String = start
[static] Dispatched when TextAnim start to dispatche blocks.
TextAnimEvent
Constant Detail
COMPLETEConstant
public static const COMPLETE:String = complete

Dispatched when dispatche blocks was completed.

Example:


		import flupie.textanim.TextAnim;
		
		var myTextAnim:TextAnim = new TextAnim(myTextField);
		myTextAnim.effects = myEffect;
		myTextAnim.addEventListener(TextAnimEvent.COMPLETE, completeHandler);
		myTextAnim.start();
		
		function myEffect(block:TextAnimBlock):void {
			block.scaleY = 2;
		}
		
		function completeHandler(e:Event):void {
			trace("COMPLETE");
		} 

PROGRESSConstant 
public static const PROGRESS:String = progress

Dispatched when the dipatch blocks is on progress each blocks.

Example:


		import flupie.textanim.TextAnim;
		
		var myTextAnim:TextAnim = new TextAnim(myTextField);
		myTextAnim.effects = myEffect;
		myTextAnim.addEventListener(TextAnimEvent.PROGRESS, progressHandler);
		myTextAnim.start();
		
		function myEffect(block:TextAnimBlock):void {
			block.scaleY = 2;
		}
		
		function progressHandler(e:Event):void {
			trace("PROGRESS");
		} 

STARTConstant 
public static const START:String = start

Dispatched when TextAnim start to dispatche blocks.

Example:


		import flupie.textanim.TextAnim;
		
		var myTextAnim:TextAnim = TextAnim.create(myTextField, {effect:myEffect});
		myTextAnim.addEventListener(TextAnimEvent.START, startHandler);
		myTextAnim.start();
		
		function myEffect(block:TextAnimBlock):void {
			block.scaleY = 2;
		}
		
		function startHandler(e:Event):void {
			trace("START!");
		}