4 Replies Latest reply on Nov 22, 2008 7:07 PM by Ned Murphy

    Drop Down Sub Buttons

    85kris
      I am using on (release) {
      gotoAndStop("Marketing", 1);
      }
        • 1. Re: Drop Down Sub Buttons
          Ned Murphy Adobe Community Professional & MVP
          That's fine, what's the problem?

          If I have to assume there is one and guess what you've designed, I'd say your submenu is a movieclip containing some button so it doesn't live in the same timeline as the one you are trying to get to move. So your code is probably telling the submenu itself to go somewhere that doesn't exist for it. So if I'm right, then the following might fix it... but if it doesn't, try to offer a little more information about the design scenario.

          on (release) {
          _root.gotoAndStop("Marketing", 1);
          }
          • 2. Re: Drop Down Sub Buttons
            85kris Level 1
            Okay sorry. I am new at this I created a drop down bar just like this http://www.youtube.com/watch?v=VHVYWcNitq4 and the two actions above do not work. I am wanting to just link my sub buttons to a new scene. Thanks for your help.
            • 3. Re: Drop Down Sub Buttons
              85kris Level 1
              Any suggestions???
              • 4. Drop Down Sub Buttons
                Ned Murphy Adobe Community Professional & MVP
                If my original suggestion didn't work, try...

                on (release) {
                _parent.gotoAndStop("Marketing", 1);
                }

                and if that doesn't fly, try another _parent...

                on (release) {
                _parent._parent.gotoAndStop("Marketing", 1);
                }

                There's really no telling how you implemented the menu in your movie, so I can only guess. And make sure you actually have a scene named Marketing with a stop(); in its first frame (just for good luck).