[Tweener] Positive to negative problems

Gerry Creighton gerry at thespikeranch.com
Fri Oct 3 05:59:06 PDT 2008


Is this AS2 or AS3? Can you provide some Tween code ?

To test this out I opened a fla in CS3 and made a box on the stage  
that was red and gave it an instance name of "box".
I then put this code in frame one on the timeline:
import caurina.transitions.Tweener;
import caurina.transitions.properties.ColorShortcuts;
ColorShortcuts.init();

Tweener.addTween(box,{_color:0x000000,time:1,transition:"linear"});

That works. Hope that helps.

-Gerry
www.thespikeranch.com





On Oct 3, 2008, at 5:07 AM, Dave Lenz wrote:

> Hi all...
>
> I'm trying to Tween the _color property of a black background to  
> white and a white text to black, but there's some kind of bug in it  
> which gives me a sporadic 'green' and 'magenta' colors instead of  
> black/white and white/black.
> I am using the latest version of Tweener (1.31.72) and I saw that  
> this behaviour is supposingly solved in this latest version.
>
> Is there another way to Tween a positive MovieClip to a negative one  
> (and the other way around)?
>
> Goetjes,
> Dave Lenz
>
> RANDOM - User driven web experiences
> ------------------------------------------------------------
> A Weesperzijde 93 hs | 1091 EK  Amsterdam | T/F 020-779 77 35
> M 06- 2601 4790 | E dave at random.nu | www.random.nu
> ------------------------------------------------------------
>
>
>
>
>
> _______________________________________________
> 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/20081003/ba2540fe/attachment.htm>


More information about the Tweener mailing list