1 Reply Latest reply on Apr 26, 2007 9:42 PM by GHMS

    Dropdown ComboBox

    BigdaddyVELTRI
      I want to jump to a frame label when a selection is made in a dropdown ComboBox.

      I tried this but it's not working. Any help will be much appreciated.

      if (contactForm.dropdown.text == "Design 1001b") {
      gotoAndStop ("a");
      } else {
      gotoAndStop ("b");
      }
        • 1. Re: Dropdown ComboBox
          GHMS
          You can try this.


          var cbListener:Object = new Object();

          cbListener.change = function() {
          if (contactForm.selectedItem.label == "Design 1001b") {
          gotoAndStop("a");
          } else {
          gotoAndStop("b");
          }
          };

          contactForm.addEventListener("change", cbListener);

          -----------------------------
          GHMS