I guess I should have noted that I also need to know which objects are underneath too.

On 3/10/2010 10:38 AM, Anthony Pace wrote:
if I have a thousand objects in in a container,
and each object is on the layer stack of the display list,
what is the best way to find out which child object is being rendered as the top most layer at a given x,y position?

I don't want to have a thousand contained objects with a thousand active listeners, I only want to have 1 listener in the container monitoring for mouse movement, click, releases, etc... and knowing which child object the mouse is hovering over/clicking etc...

What is the fastest way to do this?
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to