Hi to all
I need dynamically generate blend colors from one color to another.
For example RGB:
1Mc 255 255 255
2?
3?
4?
5?
6?
7 136 114 141
Is there a way to calculate blend colors for 5 steps?
Thanks you for any help or links.
___
Flashcoders mailing
Have a look at the Greensock Tween classes - they might help.
natalia Vikhtinskaya wrote:
Hi to all
I need dynamically generate blend colors from one color to another.
For example RGB:
1Mc 255 255 255
2?
3?
4?
5?
6?
7 136 114 141
Is there a way to calculate blend colors for 5 steps?
Thanks you
Thank you. Yes this class allows to create gradient. But I need code
that allows to have N MovieClips with blend colors from one to
another.
2009/5/1 Glen Pike g...@engineeredarts.co.uk:
Have a look at the Greensock Tween classes - they might help.
natalia Vikhtinskaya wrote:
Hi to all
I
Hi,
mask out the r,g, b and tween them individually.
eg write a class:
RGBTween.getRGB (source, dest, 0..1);
The getRGB should mask out the r,g,b values, calculate the result r,g,b
based on source, dest and a 0..1 factor and combine the parts into a new rgb
value.
It will do the trick, but Im
I am sorry. I did not understand your advice. I am working with AS2.
2009/5/1 Hans Wichman j.c.wich...@objectpainters.com:
Hi,
mask out the r,g, b and tween them individually.
eg write a class:
RGBTween.getRGB (source, dest, 0..1);
The getRGB should mask out the r,g,b values, calculate
generate blend colors
Thank you. Yes this class allows to create gradient. But I need code
that allows to have N MovieClips with blend colors from one to
another.
2009/5/1 Glen Pike g...@engineeredarts.co.uk:
Have a look at the Greensock Tween classes - they might help.
natalia Vikhtinskaya
Vikhtinskaya [mailto:natavi.m...@gmail.com]
Sent: Friday, May 01, 2009 7:38 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Dynamically generate blend colors
Thank you. Yes this class allows to create gradient. But I need code
that allows to have N MovieClips with blend colors from one
7 matches
Mail list logo