You can set the mouseEnabled property to false on this UIComponent and get rid of this behavior.
Yes but I want the mouse enabled, I need to know when to disable it...
There is no function for that, but if the dialog is modal, things underneath
should not be receiving mouse events. Maybe the custom UIComponent is doing
non-standard mouse behavior?
ok then thanks.
The mouse behaviour is non-standard - it is receiving stage mouse move events because there is a bug in windows meaning I don't get local mouse move events when mouseX is equal to 0 which I require (bug has been submitted).
Then I would add code that calls getObjectsUnderPoint to see if anything is
above you. You could also monitor add/remove from SystemManager.