Change Event
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:Script> [Bindable] private var changeMessage:String="None selected"; private function changeHandler(event:Event):void { if (event.target.selectedItem == null) { changeMessage = "None selected"; } else { changeMessage = "You selected " + event.target.selectedItem; } } </mx:Script> <mx:Array id="myData"> <mx:String>Small</mx:String> <mx:String>Medium</mx:String> <mx:String>Large</mx:String> </mx:Array> <mx:List id="sizeList" width="200" dataProvider="{myData}" change="changeHandler(event)"/> <mx:Label text="{changeMessage}" fontSize="12"/> </mx:Application>