fillColors is set up to create a gradient fill, where one color is the start and the other is the end color.  I bet if you use the same color for both you will get a solid color.

 

My problem before was when to quote the color specs.  Clearly, in an array they stay hex, though in a setStyle(“color”,” 0xE6EEEE”) they get quoted.

 

Tracy

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 2:53 PM
To: [email protected]
Subject: Re: [flexcoders] How do you change the color of an array object

 

Ok, this works:

myButton[4].setStyle("fillColors", [0xE6EEEE,0xCC0066])

 

 

Thanks thats a huge help, but one question what does the [0xE6EEEE,0xCC0066] mean I know its the colors but why are there two variables instead of just one. I mean what does the 0xE6EEEE change and what does the 0xCC0066 change?




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to