Thankyou Sunil for replying to my question. your example uses flash player 10, i can not view the example or the code for it.
as it breaks my Flex builder, (still using Flex 3.0) I'm at a delicate stage of my project and can't afford Flex builder breaking and having to reinstall it all! Do you happen to have the code snipit, which i can see without using FlashPlayer 10. I expect to go to 10 in a month or so. But am trying to solve this issue now. Your help is greatly appriciated. Once again thank you for responding. :-) --- In flexcoders@yahoogroups.com, "sunild999999" <sunilbd...@...> wrote: > > --- In flexcoders@yahoogroups.com, "gr33neye501" <devarc@> wrote: > > > > Hi guys > > > > I'm trying to generate a series of random colours, but would like to > > exclude certain colour and closely related shade. > > > > For example, i'd like create any colours except red or similar shades. > > Anyone know of how I could do this. It's a really subjective thing I > > know. > > > > Help really appreciated > > ;-) > > > > Hi, > > I had to do something similar recently. I used HSB color values to generate distinct colors, > and then converted them to RGB. > > I saw you message this morning, and whipped up an example of my ColorManager class > using Degrafa: > http://blog.sunild.com/2009/01/generating-many-different-colors-with.html > > To exclude colors, you can modify the code that generates colors to omit the hues you > don't want. > > HTH, > Sunil > > PS: sorry if this is a repost (Yahoo's beta Rich-Text Editor broke on me) >