値が事前定義された ArrayCollection があります。arrayCollection の項目に新しい値を割り当てたいのですが、方法がわかりません。基本的に私は次のようなことをしたい: acGuages.itemUpdated(0).thevalue = 90; (値を 25 から 90 に変更します)。ありがとう。
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;