Hi,

I am trying catch mouse double click event from UIComponent, it seems like I
am missing some thing to make it work. Here is my code, any idea

<mx:Canvas width="100%" height="100%" doubleClickEnabled="true">

            <mx:Canvas width="100%" height="100%" doubleClickEnabled="true"
>

                        <mx:UIComponent width="100%" height="100%"
mouseChildren="true" buttonMode="true"  doubleClickEnabled="true"
doubleClick="{onMouseTextDoubleClick(event)}" >



                        </mx:UIComponent>

            </mx:Canvas>

      </mx:Canvas>



      <mx:Script>

            <![CDATA[

                  *import* mx.controls.Alert;

                  *private* *function*onMouseTextDoubleClick(ev:MouseEvent):
*void*{

                        Alert.show(*"helllo"*);

                  }

            ]]>

      </mx:Script>

-- 
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