Object array for ComboBox
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:HBox> <mx:ComboBox id="level"> <mx:Array> <mx:Object label="A" data="1" /> <mx:Object label="B" data="2" /> <mx:Object label="C" data="3" /> <mx:Object label="D" data="4" /> </mx:Array> </mx:ComboBox> <mx:TextInput id="selectedLevel" /> </mx:HBox> </mx:Application>