|
Your makefivered() function is referencing
an item in the dataProvider, not a button in the repeater. Put an id on the button in the repeater: “myButton”
, then in the function, reference it using the array index: myButton[4].setStyle("color","0xCC0066"); I believe you must use setStyle to ser
colors. I couldn’t get anything but black when I tried to use
fillColors, but you can probably figure that out, From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] I have been trying to make an array of buttons and have one
button change the color of one of them. But for some reason this code does not
work and I was wondering if someone could explain this to me. <?xml version="1.0"
encoding="utf-8"?> public function makefivered() ]]> <mx:Object label="2" /> </mx:Array>
</mx:HBox> </mx:Application>
Yahoo! Groups Links
|
- Re: [flexcoders] How do you change the color of an ar... Tracy Spratt
- Re: [flexcoders] How do you change the color of ... nostra72
- RE: [flexcoders] How do you change the color of ... Tracy Spratt
- Re: [flexcoders] How do you change the color of ... nostra72
- RE: [flexcoders] How do you change the color of ... Tracy Spratt
- [flexcoders] internal representation of an a... Krzysztof Szlapinski

