/ Published in: ActionScript 3

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//TextAnim import flupie.textanim.*; TextAnim.create( _textField, {effects:StartTextEffect, delay:1000, interval:0, split:TextAnimSplit.CHARS, onComplete:ativar} ).start(); private function StartTextEffect( block:TextAnimBlock ):void { Tweener.addTween(block, {alpha:1, y:block.y, time:.4, transition:"easeOutCubic"}); block.alpha = 0; block.mouseEnabled = false; if (block.index % 2) { block.y -= 10; } else { block.y += 10; } }
Comments
