Copy link to clipboard
Copied
I have viewed this page though I have not tried to implement the example in a running flash file:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/motion/Color.html
What I would like to know is let us suppose:
1) I create a grid or polar grid of random squares or circles, random in the fact that they have random colors
2) I push each random color that is defined at the init() stage of the function call (I create the init function myself) into an Array so as not to lose the color values
3) I then click a button and the squares or circles tween into position in order of their hue value on a color wheel so that they are sorted and arranged like a rainbow.
How is this achieved? I know this seems like a classic question that has been done before but I am just now getting around to making this sort of thing known to myself.
Any answers to this question will be helpful. Thanks in advance.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Wow kglad. Thanks for this resource. I have sometimes visited this page in other situations but forgot that they might have an example suited for my question. I will try to implement some of these techniques outlined there to get at my solution.
Copy link to clipboard
Copied
you're welcome.
Copy link to clipboard
Copied
There is also this page:
AS3 Flash: Color Effects with a Custom InterpolateColorTransform AS3 Class
Copy link to clipboard
Copied
There is also this flipbook that I made in a 3D app. It's quite easily done there but in Flash there are other scripting considerations to be made to achieve the same results.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now