Editable ComboBox
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:ArrayCollection id="sizeData"> <mx:String>Small</mx:String> <mx:String>Medium</mx:String> <mx:String>Large</mx:String> </mx:ArrayCollection> <mx:Label text="selectedIndex: {sizeCB.selectedIndex}"/> <mx:Label text="selectedItem: {sizeCB.selectedItem}"/> <mx:Label text="Text: {sizeCB.text}"/> <mx:ComboBox id="sizeCB" dataProvider="{sizeData}" prompt="Select an item" editable="true"/> </mx:Application>