[flexcoders] programatically change headerColors? Re: Control Bar Background Color

2005-07-28 Thread stevenkeys2003
How would you programatically change headerColors and footerColors? Need some examples... I'm assuming it involves setStyle somehow? Thx, -Steve --- In flexcoders@yahoogroups.com, jwc_wensan [EMAIL PROTECTED] wrote: Andrew: Yes, I was using the headerColors attribute and was placing it in

[flexcoders] programatically change headerColors? Re: Control Bar Background Color

2005-07-28 Thread Andrew Spaulding
Hi Steve, Yep, you're on the right track, it does involve use of the setStyle method. Use the following to retrieve the current settings if need be - myPanel.getStyle('headerColor'); Setting the header colours requires an array, so it would be done like this -

[flexcoders] programatically change headerColors? Re: Control Bar Background Color

2005-07-28 Thread stevenkeys2003
Nevermind.. got it.. setStyle(headerColors, [0xFF,0x94FA6A]); --- In flexcoders@yahoogroups.com, stevenkeys2003 [EMAIL PROTECTED] wrote: How would you programatically change headerColors and footerColors? Need some examples... I'm assuming it involves setStyle somehow? Thx, -Steve