Skip to main content
Participant
July 12, 2006
Answered

Movie Clip Event Handler block button event handlers

Hello - really needing some help!

I have a movie clip that contains a button. (i.e. my_mc.my_btn)

I have some event handlers for the movie clip (my_mc.onRollOut, my_mc.onRelease, etc..) and they are working fine.

However, after I add these event handlers to deal with the movie clip, my buttons inside my movie clip quit working all together. It's like the movie clip handlers are overridding the button functionality.

How can I use movie clip handlers and my buttons inside continue to work?

Help!
This topic is closed to new replies. Start a new post to keep the conversation going.
blemmoCorrect answer
Inspiring
July 12, 2006
You're right, parent events are overriding, or stealing, the events of nested children. See this article for ways to deal with that: http://www.senocular.com/flash/tutorials/buttoncapturing/.

greets,
blemmo

3 replies

Participant
July 12, 2006
blemmo - Thank you SO much! This looks like it has what I need!
Translate
Inspiring
July 12, 2006
You're welcome. The senocular site has some great in-depth tutorials covering basic but important things, well worth a bookmark. ;)

cheers,
blemmo
Translate
blemmoCorrect answer
Inspiring
July 12, 2006
You're right, parent events are overriding, or stealing, the events of nested children. See this article for ways to deal with that: http://www.senocular.com/flash/tutorials/buttoncapturing/.

greets,
blemmo
Translate