[Tweener] lookiing for some equation class documentation

Eduardo Omine eduardo.omine at gmail.com
Thu May 1 09:18:38 PDT 2008


Suppose you want to fade in a sprite, but its alpha == 1.
Instead of:

sprite.alpha = 0;
Tweener.addTween(sprite, { alpha:1 });


You have:

TweenLite.from(sprite, 1, { alpha:0 });



On 5/1/08, Baluta Cristian <cristi.baluta at gmail.com> wrote:
> what is from() doing?

-- 
Eduardo Omine
http://blog.omine.net/
http://www.omine.net/


More information about the Tweener mailing list