Get data frolm ArrayCollection by using index and property name
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="myAC = new ArrayCollection(myData.book);"> <mx:Script> import mx.collections.ArrayCollection; [Bindable] private var myAC:ArrayCollection; </mx:Script> <mx:Label text="From ArrayCollection : {myAC.getItemAt(0).title}" /> <mx:Model id="myData"> <rootTag> <book> <title>Java</title> <author>Java2s</author> </book> <book> <title>Flex</title> <author>Flex2</author> </book> </rootTag> </mx:Model> <mx:Label text="{myData.book[0].title}" /> </mx:Application>