2 Replies Latest reply on Nov 3, 2009 10:06 AM by TheBladeRoden

    What do I use instead of _root?

    TheBladeRoden

      My journey into trying to convert my school learnings of actionscript 2 into 3 have hit another roadblock. How do I access the main timeline from within a movie clip? Here's what I have so far.

       

      myButton.addEventListener(MouseEvent.CLICK, myButtonFunction);
      function myButtonFunction(event: MouseEvent) {
      _root.gotoAndPlay(2);
      }