Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-09-03 Thread Matthias Dittgen
Thanks for all the answers!!! So I went back to a solution where the upper MovieClip listens to the MouseMove event and hittest while the lower MovieClip is using Rollover now. That works for me. But nonetheless it is frustrating that there is no other way to get an ROLLOVER event for two or even

Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-09-03 Thread allandt bik-elliott (thefieldcomic.com)
yeh hittests are the slowest way of doing things but they have their place On Wed, Sep 3, 2008 at 9:26 AM, Matthias Dittgen [EMAIL PROTECTED]wrote: Thanks for all the answers!!! So I went back to a solution where the upper MovieClip listens to the MouseMove event and hittest while the

Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-09-02 Thread Arka Roy
Here's a very good article about how mouse events propagate. http://www.adobe.com/devnet/actionscript/articles/event_handling_as3.html You should be able to have more than one MC capture a single event, although I haven't tried it. A On Fri, Aug 29, 2008 at 8:03 PM, Matthias Dittgen [EMAIL

Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-09-02 Thread Meinte van't Kruis
in a movieclip and add an event Listener to that --Original Message-- From: Matthias Dittgen Sender: To: Flash Coders List ReplyTo: Flash Coders List Sent: Aug 29, 2008 6:03 AM Subject: [Flashcoders] MouseEvents on overlapping siblings in AS3 Hello

Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-09-02 Thread Meinte van't Kruis
Message-- From: Matthias Dittgen Sender: To: Flash Coders List ReplyTo: Flash Coders List Sent: Aug 29, 2008 6:03 AM Subject: [Flashcoders] MouseEvents on overlapping siblings in AS3 Hello, this was probably asked before, but I can't find. Imagine two or more

Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-09-02 Thread Glen Pike
] MouseEvents on overlapping siblings in AS3 Hello, this was probably asked before, but I can't find. Imagine two or more sibling MovieClips. Both listen to MouseEvent.ROLL_OVER. When the mouse rolls over the overlapping region I would like the event to be dispatched to both of them and not only

Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-09-02 Thread EECOLOR
Just a guess, but you could change the listener to MOUSE_OVER instead of ROLL_OVER. The difference between the two is very subtle and explained at the reference documentation of InteractiveObject. I am not sure if it is applicable to the problem posed. Greetz Erik

Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-09-02 Thread Meinte van't Kruis
I think rollover means it will fire once, wether or not it 'rolls' over a child of that parent. With mouseover, the event will fire each time the mouse also get's over a child of the parent which is listening to the event. (in short; rollover is like a parent with mouseover only with mousechildren

[Flashcoders] MouseEvents on overlapping siblings in AS3

2008-08-29 Thread Matthias Dittgen
Hello, this was probably asked before, but I can't find. Imagine two or more sibling MovieClips. Both listen to MouseEvent.ROLL_OVER. When the mouse rolls over the overlapping region I would like the event to be dispatched to both of them and not only to the one above the other? How can I achieve

Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-08-29 Thread davidorog
drop them in a movieclip and add an event Listener to that --Original Message-- From: Matthias Dittgen Sender: To: Flash Coders List ReplyTo: Flash Coders List Sent: Aug 29, 2008 6:03 AM Subject: [Flashcoders] MouseEvents on overlapping siblings in AS3 Hello, this was probably asked

Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-08-29 Thread Matthias Dittgen
, 2008 6:03 AM Subject: [Flashcoders] MouseEvents on overlapping siblings in AS3 Hello, this was probably asked before, but I can't find. Imagine two or more sibling MovieClips. Both listen to MouseEvent.ROLL_OVER. When the mouse rolls over the overlapping region I would like the event

Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-08-29 Thread eric e. dolecki
to that --Original Message-- From: Matthias Dittgen Sender: To: Flash Coders List ReplyTo: Flash Coders List Sent: Aug 29, 2008 6:03 AM Subject: [Flashcoders] MouseEvents on overlapping siblings in AS3 Hello, this was probably asked before, but I can't find. Imagine

Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-08-29 Thread Cedric Muller
Poetry!!! and yet, a good answer Le 29 août 08 à 15:31, eric e. dolecki a écrit : Think you need to drink some bubbly - bubbling events On Fri, Aug 29, 2008 at 8:40 AM, Matthias Dittgen [EMAIL PROTECTED]wrote: but imagine one of the mc overlapping the whole other mc. MovieClips: A and