下拉菜单赋值
[Bindable]
private var subjectDataProvider:ArrayCollection = new ArrayCollection([{label:"Standard",data:1},
{label:"Clock",data:2}
])
<mx:HBox width="100%" height="100%">
<mx:ComboBox id="subject" width="150" labelField="label" dataProvider="{subjectDataProvider}" prompt="" />
</mx:HBox>
取出ArrayCollection中某字段的值
tempList = httpData.getDataToArrayCollection("TEMP_LIST");
save_interval.text = tempList[0]["save_interval"]; //第一行的save_interval字段的值
subject.selectedIndex = 1;