Obscured components and mouseDown

If a component obscures another component (both members of the same parent component), is it possible to trigger the mouseDown events for both (but still based on their hitAreas)?



If you want more than one component to get the mouseDown, you're better off having an "owning" component (possibly your parent component) which takes the mouseDown callback and passes the information needed onto the other components.

Hope this helps!

Aye it does indeed Josh thanks!


For anyone else curious:

1. Add children to the owner component

2. Register each child as a mouse listener for the owner component

3. setInterceptsMouseClicks to false on each child


Mouse events will trigger for each child