import mx.controls.Alert;
public function showMsg(msg:String):void
{
Alert.show('You just clicked on ' + msg);
}
dataProvider="{['One','Two','Three']}"
click="showMsg('left side')"
itemClick="showMsg('right side with ' + event.label)" />