1 Reply Latest reply on Apr 2, 2009 1:49 PM by Ned Murphy

    movie clip buttons

    wuzhishan
      I have a navigation menu with movie clip bottons. When each botton gets release, it will get a popup widow in a labeled frame on the root level. The buttons work fine. My question is how do I make the popup window stays when a next button gets roll over and disappears when this next button get release, so the popup window associated with this button will appear. Now the popup window disappears when the next botton gets roll over. The following is the actionscript code:
      on (rollOver) {
      gotoAndStop (2);
      _parent.gotoAndStop ("BP_ov");
      }

      on (rollout) {
      gotoAndStop (1);
      }

      on (release) {
      gotoAndStop(3);
      _parent.gotoAndStop("BP_dn");

      if (_parent.btn_PI._currentFrame == "3") {
      _parent.btn_PI.gotoAndPlay(1);
      }
      if (_parent.btn_JB._currentFrame == "3") {
      _parent.btn_JB.gotoAndPlay(1);
      }
      if (_parent.btn_DCWASA._currentFrame == "3") {
      _parent.btn_DCWASA.gotoAndPlay(1);
      }
      if (_parent.btn_BPSA._currentFrame == "3") {
      _parent.btn_BPSA.gotoAndPlay(1);
      }
      if (_parent.btn_BPSADC._currentFrame == "3") {
      _parent.btn_BPSADC.gotoAndPlay(1);
      }
      }

      Any help will be greatly appreciated.

      Ming
        • 1. movie clip buttons
          Ned Murphy Adobe Community Professional & MVP
          I can't tell where the popups come into play in your code, so I can't answer for them as yet. Unless _currentFrame is some variable you've defined for those button mc's, the correct syntax is "_currentframe", no capped F. And _currentframe return a Number type, so you shouldn't be quoting the values.