Finding A Child Control Based On X & Y Coordinate in ActionScript

In Flex/Actionscript

When writing an on mouseMove event on a Canvas control for example, how could I check to see what control if any is under the mouse pointer at a particular coordinate?


You can call getObjectsUnderPoint on your Canvas to determine what children of that canvas are under the current mouse point. You have to make sure the point you pass in is in stage coordinates. Hope that helps.

Need Your Help

Segmentation fault dealing with pointers c++ (more code this time)

c++ pointers segmentation-fault

I was hoping someone could help me with a segmentation fault I'm getting, I'm posting more code this time in hopes everyone can see what I'm trying to do. I'm sure it has to do with how I point to