1 Reply Latest reply on Jul 7, 2007 3:04 PM by avonova

    I have a Scrolling Button problem

    smoothcanvas
      OK I created a movie clip and placed it on the stage. Inside this movie clip I have menu buttons that drop down when you hover over the right areas. This part works fine. What do I do so that when I click on a button that drops down it goes to the main timeline and tells it to go to a specific frame?
        • 1. Re: I have a Scrolling Button problem
          avonova Level 1
          have you tried something along the lines of:-

          this."mybutton".onRelease = function() {
          _parent.gotoAndStop("myframe number or label")
          }

          it is recommended that the use of the keyword _root is avoided so as to minimise unintended pathname problems if your movie clip is loaded into another movie clip.

          _root is an absolute reference to be mostly avoided

          _parent is a relative reference to be mostly prefered

          good luck with your code