I have a SolidColor fill for a ColumnSeries object:
<mx:ColumnSeries displayName="Staff" yField="People" id="peopleCol">
<mx:fill>
<mx:SolidColor id="peopleColColor"
color="{_peopleColColor}" />
</mx:fill>
</mx:ColumnSeries>
In an ActionScript function I'd like to change the color of this fill,
however neither data binding seems to work, nor directly accessing the
property:
function changeColor()
{
peopleColColor.color = 0xffff00; // DOES NOT WORK
_peopleColColor = 0xffff00; // DOES NOT WORK (and is bindable)
}
Any hint?