资 源 简 介
What is?
The TextAnim is an open source code for dynamic text animation in Flash - ActionScript 3, it"s events based and tween engine independent.
How does it work?
The library has no ready-made animation, the idea is only break apart the TextField (split TextField) and dispatch blocks sequence, to be free to make the animation you want. Doesn"t matter which tween engine that you like: Tweener, BTween, GTween, Tweensy, TweenLite (...)
Just don"t forget to embed the font that you want to use.
Example 1:
```
import flupie.textanim.*;
var myTextAnim:TextAnim = new TextAnim(myTextField);
myTextAnim.effects = myEffect;
myTextAnim.blocksVisible = false;
myTextAnim.start();
function myEffect(block:TextAnimBlock):void
{
block.alpha = 0;
Tweener.addTween(block, {alpha:1, time:.5});
}
```
Example 2:<