Components Flex



    
        
        public function showMsg(msg:String):void{
            mx.controls.Alert.show(msg);
        }
      
    

    
                    minYear="2006" selectedDate="{new Date(2008,10, 15)}"
            change="showMsg(thisDateChooser.selectedDate.toString())">