Hi Misa,

My EasyTween class has functionality to tween color tints the way you're
wanting.

A description of use is found here:
http://blog.dcholth.com/2007/02/23/easytween-explained/

And you can download the EasyTween.as file here:
http://blog.dcholth.com/downloads/

The only problem with tweening colors, is you may notice it tweens
through what looks like random colors before it gets to the one you
want.  This will depend on which color your tweening to and from because
its actually tweening the individual hex values of the color.  Tweening
from the original tint (which is none) of the MovieClip shouldn't have
this problem and should go right to the color you want.

If you end up using it, please let me know your thoughts on it, as
you'll probably be the first person to use it besides me :)

Hope it helps!
-DC

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of misa
Sent: Tuesday, February 27, 2007 8:54 AM
To: [email protected]
Subject: [Flashcoders] ColorMatrix

Hello flash coders,

I need some help with color transformations. I want to change dynamicly
the hue of a MC with a transition/tween, something like fading from one
image to another with different colors. I tried both G. Skinner's and M.

Klingman's colorMatrix class, but the tweening they use is bound to some

object. In G.S's demo there's a scroll bar, and in M.K's he uses two
images. I want to use one of their classes but be able to transform the
color of one MC just with a function: onSomeEvent ... { tweenHue for
myMC from thisHUE to newHUE }.

Thanks in advance
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

This e-mail and its attachments are intended only for the use of the 
addressee(s) and may contain privileged, confidential or proprietary 
information. If you are not the intended recipient, or the employee or agent 
responsible for delivering the message to the intended recipient, you are 
hereby notified that any dissemination, distribution, displaying, copying, or 
use of this information is strictly prohibited. If you have received this 
communication in error, please inform the sender immediately and delete and 
destroy any record of this message. Thank you.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to