Hey all,

I found a good article on the devnet that fried my brain, and will need a
couple more times over before I get my head around it. In the meantime if
anyone has other links that can get me the results I meantioned below,
please share.

This is the article I found, by grant:
http://www.adobe.com/devnet/flash/articles/bitwise_operators.html

Thx!
a  


On 10/30/06 3:10 PM, "Aaron Buchanan" <[EMAIL PROTECTED]> wrote:

> Hello all!
> 
> I am looking for a reference to read up on comparing two or more color
> values. I have not done a whole lot of work with color math so any
> foundation articles would be great.
> 
> What I am trying to accomplish, say I have a var "myColor" which represents
> the color I would like to find the closest match for, I also have an array
> of other colors that are all shades of yellow:
> 
> --
> 
> var myColor:Number = 0xffcc00
> var similarColors:Array = [ 0xfce427, 0xdcb30a, 0xa48611];
> 
> --
> 
> What would be the best way to loop the array and find the best match to
> myColor?
> 
> Thanks in Advance!


_______________________________________________
Flashcoders@chattyfig.figleaf.com
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