Taken a look at the comments on here:
http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html after a
quick search on Google.
coltw:GTween = new GTween(theclip.transform.colorTransform, 0.5, {
redOffset:255, greenOffset:255, blueOffset:255 }, { ease:Circular.easeOut }
);
coltw.setAssignment(theclip.transform, "colorTransform");
I've not tested it since I use TweenLite/Max - it should at least give you
some idea.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jiri
Sent: 10 April 2009 10:39
To: Flash Coders List
Subject: Re: [Flashcoders] ColorTransform GTween
Is there really nobody that knows how to do it?
Jiri
Karl DeSaulniers wrote:
> Oh yeah, TweenLite is really easy and a realy great class.
> TweenMax too. They definately have tween for color. And MUCH more.
> Worth its weight in gold.
>
> Karl DeSaulniers
> Design Drumm
> http://designdrumm.com
>
> On Apr 8, 2009, at 7:27 PM, Muzak wrote:
>
>>> but is there really nobody out there who knows how to do it ?
>>
>> I'm sure Mr. Google knows.
>>
http://www.google.com/search?hl=en&q=tween+colortransform&meta=&aq=1&oq=twee
n+color
>>
>>
>> And I'm pretty sure AnimationPackage has some color stuff.
>> http://www.alex-uhlmann.de/flash/animationpackage/
>>
>> ----- Original Message ----- From: "Jiri" <[email protected]>
>> To: "Flash Coders List" <[email protected]>
>> Sent: Wednesday, April 08, 2009 8:11 PM
>> Subject: Re: [Flashcoders] ColorTransform GTween
>>
>>
>>> Thanx Ashum...,but is there really nobody out there who knows how to
>>> do it ?
>>> Jiri
>>> Ashim D'Silva wrote:
>>>> Never used GTween before, but Grant is joining forces with Jack Doyle
>>>> of TweenLite, and that library is incredibly easy to use. If the
>>>> possibility exists, you might want to switch libraries, and soon, you
>>>> should get the best of both worlds.
>>>> 2009/4/9 Jiri <[email protected]>:
>>>>> I am experimenting with GTween from Grant Skinner. I cant seem to
>>>>> figure out
>>>>> how to do a color transform. Does somebody know how to do that?
>>>>> Here is what i have:
>>>>>
>>>>> import fl.motion.easing.*;
>>>>> import com.gskinner.motion.*
>>>>>
>>>>> var colorInfo:ColorTransform = clip.transform.colorTransform;
>>>>>
>>>>> trace(colorInfo);
>>>>>
>>>>> var myTween:GTween = new GTween(clip,2,{color:0xFFcc00});
>>>>> myTween.setAssignment(clip.transform,"colorTransform");
>>>>>
>>>>> //resulting in flickering of color of the clip.
>>>>>
>>>>> Jiri
>>
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders