|
TextAnimTools
Extra tools for special treatment of TextAnim instance.
Featured Can convert the blocks to bitmap, set patterns, gradient. Read more. ExamplestoBitmapConverts each block of a TextAnim to bitmap, smoothed or not: var txtanim:TextAnim = new TextAnim(myTextField); TextAnimTools.toBitmap(txtanim, true); txtanim.split = TextAnimSplit.LINES; txtanim.effects = jump; txtanim.start(); setPatternApplies an image (movieclip, bitmap, etc.) as texture. This sample spent more than a function like effect, you can pass an array with as many effects as you want. var txtanim:TextAnim = new TextAnim(myTextField); TextAnimTools.setPattern(txtanim, new MyPattern()); anim.mode = TextAnimMode.CENTER_EDGES; txtanim.effects = [alphaIn, scaleIn]; txtanim.interval = 200; txtanim.start(); setGradientLinearPrints in text a linear gradient with many colors as you want. This example is experiencing a delay to start the animation in the start method. And multiple effects. var txtanim:TextAnim = TextAnim.create(myTextField, {effects:otherEffect});
TextAnimTools.setGradientLinear(txtanim, [0x000000, 0xFF0000], 180);
txtanim.start(2000);
|
► Sign in to add a comment
fffffffffffff
Really great Framework.
I tried to use with flex 3.5. I can compil , but in flex 3.5 how to use a Flash.text.TextField? it's not a component of gui .... Do you have a small exemple with mxml to use your great library