7 Replies Latest reply: Mar 7, 2012 9:13 AM by kglad RSS

    multi-level roll over drop down menu problem!!

    i2004shinc Community Member

      i got the drop down menu to come down once rolled over but it cancels out all other actions meaning it cancels the functions of the rest of the menu none of my other buttons work now. how can i fix this?

       

      each button has its own action ie:

       

      onClipEvent (load) {

                num = 3;

      }

      on (rollOver) {

                if (_root.link != num) {

                                    this.gotoAndPlay("over");

                }

      }

      on (releaseOutside, rollOut) {

                if (_root.link != num) {

                          this.gotoAndPlay(_totalframes - _currentframe);

                }

      }

      on (release) {

                if (_root.link != num and _root.animation == 1) {

                          _root.animation = 0;

                          _root.link_prev = _root.link;

                          _parent[("item" + _root.link)].gotoAndPlay("out");

                          _root.link = num;

                          _root.main.play();

                }

      }

       

      then i created a button to frame the drop down movie and gave it the following action:

       

      on(rollOver){

                PastorMenu.play();

      }

       

      when i try to put in the same as the main button it doesnt come down when rolled over. but done this way it will come down but none of the other main menu buttons work.

       

      thanks in advance to anyone who can help