Initializing an ArrayCollection using MXML with embedded data
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:ArrayCollection id="myAC"> <mx:Object label="A" data="a" /> <mx:Object label="B" data="b" /> <mx:Object label="C" data="c" /> </mx:ArrayCollection> </mx:Application>