I have a DisplayObject docked at the top of my interface, which displays debugging information (frames per second, etc.) and is translucent with 60% alpha.
I would like to interact with the elements beneath this surface, so when the mouse rolls over it, it dims to 10% alpha, and the mouse events pass through it to the base objects.
Typically, I have this mouseEnabled and mouseChildren debugging info panel set to false, so the objects below it receive mouse events.
The problem is that in order to hide it when the mouse flips it, it must have the mouseEnabled value for true. However, if mouseEnabled is true, mouse events are not picked up by the objects below it.
As far as I know, I cannot selectively activate mouseEvents, so it will either receive them all, or none of them. This means that I will have to process and forward ALL events if I accept this approach.
I really want the mouseEnabled property to have "peek" mode or something like that, so that it can receive events if it is on top, but also allows them to pass through the objects below it.
source share