Yeah I contemplated that option too. But my problem is that the second clip
is smaller than the container, so I will have to use the hitTest method to
get around it. But assuming both clips were the same size that would have
worked :)

                        Pat




-------------------------------------------------------------------
Subject: RE: [Flashcoders] Modifying flash's chain of events

just a guess, but wouldn´t it be possible to call the parent´s event handler
method from the child that recieved
the event like

this._parent.__f_click();

work for you?

This works for click events, don´t know about others though,...
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick Jean
Sent: Tuesday, April 11, 2006 10:02 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Modifying flash's chain of events

Oh, I thought about it. Ok, I guess I'll have to use that method. I wish
there was a "pass" method. Maybe in version 9. 

thanks for your time


Patrick Jean
Directeur de projets internet
Monac'OH Data Mercantour
http://www.monacoh.com

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Julian
'Julik' Tarkhanov
Sent: Tuesday, April 11, 2006 3:48 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Modifying flash's chain of events


On 11-apr-2006, at 20:40, Patrick Jean wrote:

> Greetings. Is there a way to force flash' events to keep going down  
> the
> chain even if a clip is trapping the message ?
>
> by example, if you have CLIP A , and CLIP B contained within CLIP A.
>
> CLIP A simply have a on(rollOver)
> CLIP B have a on(Press)
>
> By default, CLIP B will never receive the onPress event.
>
> Is there a work-around that problem ? In Director I was using the  
> "pass"
> method, very convenient for things like that as you specify that  
> you want
> the chain of messages to keep going down.


In Flash all events are captured. You can try to forward the event to  
the member manually using hitTest.
Here is a good article that might get you started:

http://www.senocular.com/flash/tutorials/buttoncapturing/
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to