I have an ArrayCollection with values predefined. I want to assign a new value to items in the arrayCollection but can not figure out how. Basically I want to do something like this: acGuages.itemUpdated(0).thevalue = 90; (Changing the value from 25 to 90). Thanks.
private var arrayGuages:Array=[
{thevalue:"25",height:"115"},
{thevalue:"45",height:"115"},
{thevalue:"15",height:"115"},
{thevalue:"95",height:"115"},
];
[Bindable]
public var acGuages:ArrayCollection=new ArrayCollection(arrayGuages);
acGuages.itemUpdated(0).thevalue = 90;