This content has been marked as final. Show 3 replies
child (or descendant) movieclips cannot respond to mouse events if mouse handlers have been assigned for a parent (or ancestor) moviecip because those mouse events are intercepted.
to remedy define all your handler for the youngest generation that needs a handler or use a hitTest() for one of the generations.
You'd be correct.
MC1 Zoom / MC2 Pan
MC3 MC with buttons
Because MC1 and 2 have actions attached to them, any actions associated with the MC3, will effectively be ignored or rather, be inaccessible. The way to handle this is checking for bounds on the same level as the MC1 and 2 and delete their handlers so that MC3s handlers become accessible. When you're done with the handlers (outside the bounds of being able to do so) you just recreate the pan and zoom handlers. There is a tutorial at gotoandlearn.com that can show you exactly how something like this is done with a thumbnail scroller. try that if it is at all possible in your setup
Thanks for quick response. What I had in mind is to use a button at the top level to toggle between handlers in MC1 and MC3 removing them when I need to access MC3. Just not sure how to do it. Let me check the tutorial you suggest.