*TypeError:*
Error #1034: Type Coercion failed: cannot convert
mx.events::closeev...@3103741 to flash.events.MouseEvent.
*Code:*

 myTitleWindow = new TitleWindow();
           myTitleWindow.showCloseButton=true;
         *** myTitleWindow.addEventListener(MouseEvent.click,
closeTitleWindow);
          PopUpManager.addPopUp(myTitleWindow, this, true);

public function closeTitleWindow(event:MouseEvent):void {
                PopUpManager.removePopUp(event.currentTarget.parent);
            }

is my coding for closing title window is right?

please help me

-- 
Thanks & Regards
Navaneetha

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to