|  | Capturing all events |  | |
| | | terablade2001 |  |
| Posted: Wed Jul 09, 2008 6:25 pm Post subject: Capturing all events |  |
Hi.
In a few words I want to add some mouse listeners on an instance Object to take some actions. I also want to add mouse listeners to objects inside the instance Object to also take some actions. However the events seems not to pass to the internal objects. Any solution?... To be more detailed I have upload an example:
I describe my problem here: LINK .... while the FLA file is here: LINK (Flash 8 compatible mode) Can anyone find a solution, make the FLA file to work properly (the way I want it) and share it with us?
Thanks. |
| |
| | | kglad |  |
| Posted: Wed Jul 09, 2008 7:00 pm Post subject: Re: Capturing all events |  |
you can't assign mouse handlers to a child and parent in as2. the parent will intercept mouse events so the child cannot respond.
to resolve, use a loop and hittest on the parent (or the child). |
| |
|
|