Hello I have this array:
private var all_array:Array = [
{ symbol: "ADBE", name: "Adobe Systems Inc.", price: 49.95 },
{ symbol: "MACR", name: "Macromedia Inc.", price: 39.95 },
{ symbol: "MSFT", name: "Microsoft Corp.", price: 25.95 },
{ symbol: "IBM", name: "IBM Corp.", price: 42.55 }
];
I want another array which takes the values of the price from the 1st Array.
Can we do something like this?
private var another_price_array:Array = [all_array.price];
This second array will be used to populate a ComboBox, or can I populate the combo directly from the first array itself?
Thanks
Thx
MX ComboBox:
Spark ComboBox:
To use this code without changes make sure your
all_arrayis bindable.