Components Flex


    xmlns:s="library://ns.adobe.com/flex/spark" 
    xmlns:mx="http://www.adobe.com/2006/mxml">
    
        
        import mx.controls.Alert;
        public function showMsg(msg:String):void {
            Alert.show(msg);
        }