5 Replies Latest reply on Jul 27, 2006 11:58 PM by Newsgroup_User

    Need help with botton script

    SpaceMonkey07
      In my flash document, i have a movie clip with a button inside of it. How do i apply a funtction to the button that will affect the main timeline of the document?

      For example, the code i put on the button is:

      on(press) {
      gotoAndPlay(2);
      }

      All that did was affect the timeline of the movie clip that the button was in.