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!


On Thu, Jan 29, 2009 at 12:00 PM, Dennis - I Sioux <den...@isioux.nl> wrote:

> you could set mouseChildren = false; on the the container.
> This way the child mc's won't capture any mouse events.
>
> Dennis
> Isioux
>
> ----- Original Message ----- From: "ali drongo" <alidro...@googlemail.com>
> To: <flashcoders@chattyfig.figleaf.com>
> Sent: Thursday, January 29, 2009 11:21 AM
> Subject: [Flashcoders] capturing mouse events for layered sprites
>
>
>  Hi there, I have a square sprite that contains a background sprite on one
>> layer with another layer containing various shaped sprites. Each of these
>> sprites is a custom class that gives a mouse event.
>> My problem is that if I capture the mouse_over event for the container
>> sprite for some reason i get the mouse_out and and another mouse_over
>> event
>> each time the mouse runs off one of the smaller sprites and over the
>> background.
>>
>> Is there any way I can avoid this without using the mouse position?
>>
>> Thanks in advance :)
>> _______________________________________________
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> __________ NOD32 3809 (20090129) Informatie __________
>>
>> Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem.
>> http://www.nod32.nl
>>
>>
>>
> _______________________________________________
> 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