1 Reply Latest reply on May 5, 2009 9:11 AM by robdillon

    Slide down menu not sliding up

    Christinkaj

      I created a slide down menu and for the most part it works when you click on each link, but for some reason, it hangs if you have one link expanded and you click on another link:

       

      http://www.christinakajtsa.com/red-nav.swf

       

      I used an old .fla file and it worked fine but when I added an extra category to it, the menu went all crazy. I'm not sure how to fix it. Help!

       

      I have buttons set up which call on frame names:

       

      on (release) {
          if (_global.state == "e") {
              _parent.gotoAndPlay("eclose");
              _parent.c.gotoAndPlay(1);
          }
              if (_global.state == "f") {
              _parent.gotoAndPlay("fclose");
              _parent.E.gotoAndPlay(1);
          }
         
          if (_global.state == "a") {
              _parent.gotoAndPlay("aclose");
              _parent.E.gotoAndPlay(1);
          }
          _global.state = "c";
          _parent.gotoAndPlay("copen");
          _parent._parent.section.gotoAndPlay("two");
          play();
      }

        • 1. Re: Slide down menu not sliding up
          robdillon Most Valuable Participant

          It's pretty difficult to tell what might be wrong without seeing the actual file. From your example, I'm guessing that each item in the menu is animated in its own layer, and that you have sections of the timeline that will animate each item open. You are telling one item to animate closed and then telling another item to animate open. The problem could be with the parent child relationships, or with the naming of the movieClips, or something else entirely.