Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

Capturing all events

 
Jump to:  
 
terablade2001
PostPosted: 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
PostPosted: 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).
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

Projektowanie Stron internetowych muzyka gry do pobrania Sklep zoologiczny Odzyskiwanie danych