I am sure I must be doing something very stupid but here goes:
This is for a navigation bar.
I have a main movie (mcMenu) on my stage which holds all the main buttons (btnHome, btnAbout, etc…).
Inside mcMenu, when I roll over say btnAbout, the movie plays from 10 to 20th frames during which time a submenu fades into view.
Inside this submenu, I have the sub-section buttons. It is these buttons that I am having problems with. Basically, I can’t get them to respond to onRelease events.
I would guess that the problem lies in your pathing. When using event handlers on nested MC’s you must either use _root to access the main timeline and continue your path from there or _parent to access the MC that’s holding the sub-select buttons depending on what you’re trying to do.
Well the code I have on the button is a pretty simple onRelease code for changing URL of the browser (this is all a navigation bar for a website).
The code is (on the first frame of the submenu’s 1st layer):
Thanks Wizard.
I figured out what the root of my problem was. ALthough I don’t know how to remmedy it totally. See I wanted to have a rollout effect on the submenus, so that when you rolled out of any submenu, the play would move to the first frame of the main movie. So on the frame that I had a submenu come up, I added a code like this: