Check if the mouse position is within (or outside) the container bounderies in 
the rollout event and act accordingly.

Look into: flash.geom.Rectangle
flash.display.DisplayObject.getBounds()
flash.display.DisplayObject.getRect()

regards,
Muzak

----- Original Message ----- From: "ali drongo" <alidro...@googlemail.com>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Tuesday, February 03, 2009 4:37 PM
Subject: Re: [Flashcoders] capturing mouse events for layered sprites


Thanks for your reply Dennis. I'm afraid this won't solve my problem as I
need all of the children to be mouseEnabled so they can receive mouse events
that are processed by their custom class.
Any other suggestions much appreciated.
Thanks!



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

Reply via email to