Mega Code Archive
Categories
/
Flex
/
Data Model
Use XPath to get data
private var xmlItems:XML =
A
3.9
B
1.5
private function init():void { xmlLabel.text = xmlItems.item.(@id == "2").menuName; }