0 Replies Latest reply on Apr 30, 2010 12:35 PM by Yogi_K

    Multiple Listeners in a container and its children?

    Yogi_K

      Hi guys,

      I have been struggling with that one for a quite a while and I don't understand how that works with those three event phases of Flex.

       

      I would like to have container created in action script and that one should have at least two other elements (such as buttons). Both elements as well as the container itself should have different mouse click listeners. But whenever I click on a child-element, the parent element is also captured.

       

      Same is for mouse overs. When I move the mouse to a child-element I don't want the parent element to be responding to clicks or mouse movements. How can I do that?