# TextAnim class - brilliant - but I have a problem

**URL:** <https://forum.kirupa.com/t/textanim-class-brilliant-but-i-have-a-problem/326110>\
**Category:** flash\
**Created:** [November 23, 2011, 11:37am UTC](https://forum.kirupa.com/t/textanim-class-brilliant-but-i-have-a-problem/326110 "2011-11-23T11:37:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeancnicolas](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Post date:** [November 23, 2011, 11:37am UTC](https://forum.kirupa.com/t/textanim-class-brilliant-but-i-have-a-problem/326110/1 "2011-11-23T11:37:52Z")

</div>

Anyone tried [TextAnim](http://code.google.com/p/textanim/)? It’s brilliant for making your own text effects.

I am making something real simple but cannot get it to work. I am sure just pure AS3 thinkers could probably solve this without even knowing the class.

I store some lines of text in an array, and each time I click the stage - the text anim kicks into do its magic on the new line of text pushed at it.  
here’s the code - i have an instance of myTextField already on the stage

```auto
var t1:String = "This is my first line to write";var t2:String = "This is the black hole I was talking about";
var t3:String = "And now TO END WITH CAPITALS";
var txt_ary:Array = new Array(t1,t2,t3);
var textLine:uint = 0;
var TA:TextAnim;

stage.addEventListener(MouseEvent.MOUSE_DOWN,proceed);
function proceed(e:MouseEvent):void
{
    myTextField.text = "";
    myTextField.text = txt_ary[textLine];
    TA.create(myTextField, {interval:50}).start();
    textLine++;
}

```

help?!
