Use getDisplayObjectsUnderPoint() or break on SystemManager.mouseDownHandler 
and see what the target is.

From: [email protected] [mailto:[email protected]] On Behalf 
Of Jesse Warden
Sent: Tuesday, December 16, 2008 3:33 PM
To: [email protected]
Subject: [flexcoders] Shape blocking mouse down


I'm drawing a horizontal timeline graph, my own component, not Flex charting.  
The horizontal bars are blocking the mouse down event from reaching a component 
in a lower depth.  I'm confused because I've set the parent, the children, and 
everything near there's mouseChildren and mouseEnabled to false, yet the 
contents of the rows, little squares, block the mouse down event.  Doing tests 
in Flash, I've proven those are the only 2 properties you need to set to false, 
even with nested containers, and cacheAsBitmap set to true.  I have no events 
on this children; they are just a bunch of Shapes inside a Sprite, with his 
mouseChildren and mouseEnabled set to false as well.

So, I'm confused.

I know UIComponent sets your doubleClickEnabled to true, but tracing my 
components out, they seem to all say false for those values.  What could 
possibly be causing those Shapes in a Sprite to be blocking the mouse down 
events?

Reply via email to