The simple answer is, you can't. Parent button events always override child button events. What you're looking for is event bubbling, which is not natively supported in AS2.

Here are some links to get you started on that:
http://www.helpqlodhelp.com/blog/archives/000144.html
http://www.helpqlodhelp.com/blog/archives/000145.html
http://www.helpqlodhelp.com/blog/archives/000146.html
http://www.peterelst.com/blog/2006/01/07/Event-Bubbling/

__________________________________________________________

Joseph Balderson, Flash Platform Developer
http://www.joeflash.ca | 416-768-0987
Writing partner, Community MX | http://www.communitymx.com
Consultant, New Toronto Group | http://www.newyyz.com

Doug Tangren wrote:
Hi. My question is how do you access events of clips that are nested inside of other clips with event handlers attached. Lets say you have clip A that has an onRollOver event handled. Within clip A, you have clip B and clip C both of which you want onRollOver/onRelease/ect events handled. Since the onRollOver state of clip A is being fired, it blocks the event of clip B or C's events from ever being fired. How do you get around this?

example

clipA.onRollOver = function(){
    doSomething();
}

clipA.clipB.onRollOver = function(){
    doSomethingElse();
}

Doug Tangren
[EMAIL PROTECTED]



_______________________________________________
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