7 Replies Latest reply on Jan 16, 2012 5:53 AM by thiagollo

    How to detect focusOut with custom comps in mobile app?

    Gregory Lafrance Level 6

      I have a custom component in a Flex 4.5 mobile app. It is a color picker that shows one color rect, and when clicked, changes state and displays nine color rects.

       

      I have added a mouse click event listener at the system manager level to detect when user touches (clicks) outside the color picker to close it, and that works fine, but now when the user clicks on one of the nine color rects to choose a color, nothing happens because the system manager eats the mouse event.

       

      I tried detecting is the event target was Skin, and then dispatching event from the color rect, but doesn't work.

       

      I'd rather use focusOut on the color picker, but doesn't seem to work. Do mobile comps dispatch focusOut events?