This content has been marked as final. Show 5 replies
the parent movieclip is intercepting mouse events so the child movieclips do not detect mouse events.
to remedy, you must either code for the youngest generation that needs mouse handlers or use a hitTest for one of the generations.
I'm having a similar problem, where a "play_mc", "stop_mc", "pause_mc" are nested inside a "controls_mc" to fade everything in and out on controls_mc.onRollOver.
Could you further explain the hitTest and "coding for the youngest generation"? It will be greatly appreciated.
"BeniRose" <email@example.com> wrote in message
> I'm having a problem with my onPress being triggered. I have a parent MC,
> hypothetically call it "sections". It has a bunch of MCs in it, let's say
> the name of "section_1", "section_2", "section_3". On the first frame of
> first and only layer inside my parent MC (sections) I have a bunch of
> code for my children section. It worked great until I added an onPress
> code for
> my parent MC on my _root timeline. Now only my parent's onPress code is
> triggered, and the onPress for the children aren't. Is there anyway to get
> these both to be triggered, perhaps with a mouse listener?
except for the additional wordiness and graphics in sencoluar's article, is there any difference between his article and my post?