[Tweener] Tween text color
Zeh Fernando
zeh at zehfernando.com
Tue Nov 11 17:06:43 PST 2008
Tweens a textfield from its current text color to 0xffgg00:
import caurina.transitions.properties.TextShortcuts;
TextShortcuts.init();
Tweener.addTween(mytextfield, {_text_color:0xffgg00, 1});
Or you can just wrap it on a movieclip/sprite and animate the
movieclip/sprite's tint. Same thing (usually better actually, because
animating the text color can fuck the text formatting if you have a custom
text format).
Zeh
On Tue, Nov 11, 2008 at 9:06 PM, kaan guryuva <kaanguryuva at gmail.com> wrote:
> hello
> how can i tween text color one to another. i tried to find any example but
> i cound't.
> do you have a basic example?
>
> thank you.
>
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20081111/ecbd4d18/attachment.htm>
More information about the Tweener
mailing list