Question
Buttons in nested MovieClips
Forum,
I'm making a zoomable and panable graphic and I have used four nested MCs as follows: main_mc->zoom_mc->pan_mc->content_mc. Main is top level and contains everything, zooming is done on zoom_mc, panning on pan_mc and my content is in content_mc. The zooming and panning works perfectly. The trouble I run into is that the buttons in content_mc do not respond and this I believe is because they are shadowed by the events on the higher MCs. I need them in this MC because I want the buttons to pan and zoom too. What is the mechanism here and is there any way of dealing with this? I live my buttons to respond when I rollover and click them and also be able to pan and zoom using the other MCs. I would not mind being able to switch the panning/zooming on and off to enable the buttons to work when needed. Is this asking too much of it? Any ideas appreciated.
I'm making a zoomable and panable graphic and I have used four nested MCs as follows: main_mc->zoom_mc->pan_mc->content_mc. Main is top level and contains everything, zooming is done on zoom_mc, panning on pan_mc and my content is in content_mc. The zooming and panning works perfectly. The trouble I run into is that the buttons in content_mc do not respond and this I believe is because they are shadowed by the events on the higher MCs. I need them in this MC because I want the buttons to pan and zoom too. What is the mechanism here and is there any way of dealing with this? I live my buttons to respond when I rollover and click them and also be able to pan and zoom using the other MCs. I would not mind being able to switch the panning/zooming on and off to enable the buttons to work when needed. Is this asking too much of it? Any ideas appreciated.