[Flashcoders] nested MC not firing event

2006-01-26 Thread Kent Humphrey
This is a problem that has always plagued me, and I usually end up just using the timeline to get around it, but this time I want to do it properly! The situation is, I have a partially masked MC that on (rollOver) tweens to be fully revealed. on (rollOut) does the opposite, hiding it

Re: [Flashcoders] nested MC not firing event

2006-01-26 Thread Martin Wood
So you have something like this : MC_A --¬(uses mouse handlers) MC_B(also uses mouse handlers) Where A is B's parent but A has some handlers defined and none of the handlers in B will work. The way around it is to introduce a common parent to A and B which has no mouse

Re: [Flashcoders] nested MC not firing event

2006-01-26 Thread Roman Blöth
Martin Wood schrieb: So you have something like this : MC_A --¬(uses mouse handlers) MC_B(also uses mouse handlers) Where A is B's parent but A has some handlers defined and none of the handlers in B will work. The way around it is to introduce a common parent to A and B which

Re: [Flashcoders] nested MC not firing event

2006-01-26 Thread Kent Humphrey
On 26 Jan 2006, at 11:01, Roman Blöth wrote: Yes, that unfortunately is the only way to go - Director btw does this much better: With Lingo you can pass every event, so it reaches all objects that want to receive them... I'm a Lingo refugee, feel my pain... But one more comment on the

Re: [Flashcoders] nested MC not firing event

2006-01-26 Thread Roman Blöth
Kent Humphrey schrieb: On 26 Jan 2006, at 11:01, Roman Blöth wrote: Yes, that unfortunately is the only way to go - Director btw does this much better: With Lingo you can pass every event, so it reaches all objects that want to receive them... I'm a Lingo refugee, feel my pain... ;) -

Re: [Flashcoders] nested MC not firing event

2006-01-26 Thread Andreas Rønning
Kent Humphrey wrote: On 26 Jan 2006, at 11:01, Roman Blöth wrote: Yes, that unfortunately is the only way to go - Director btw does this much better: With Lingo you can pass every event, so it reaches all objects that want to receive them... I'm a Lingo refugee, feel my pain... But one

RE: [Flashcoders] nested MC not firing event

2006-01-26 Thread Tom Rhodes
instead of using a hitArea at all more than one way to skin this particular cat... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kent Humphrey Sent: 26 January 2006 12:09 To: Flashcoders mailing list Subject: Re: [Flashcoders] nested MC not firing event

Re: [Flashcoders] nested MC not firing event

2006-01-26 Thread Kent Humphrey
On 26 Jan 2006, at 11:38, Roman Blöth wrote: g - well, in my case I switched to a onEnterFrame-method checking the _mousex and _mousey relative to the mc itself (i.e. the background-mc) and only when the mouse is outside the mc's coordinates I let Flash do what else would be in a