xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical">
private var xmlItems:XML =
A
3.5
B
1.45
private var arr:Array;
private function init():void {
arr = new Array();
for each ( var xml:XML in xmlItems) {
arr.push(xmlItems.item.(/\d\d\d/.test(@id)).price);
}
trace(arr);
}