16 Replies Latest reply: Sep 13, 2012 6:28 PM by LooneyAnimator RSS

    Trying to create a button inside a movie clip that will go back to Scene 1

    LooneyAnimator Community Member

      I am trying to create a button inside a movie clip that will go back to Scene 1.

       

      Here is my code

       

      stop();

       

       

      sback1_btn.addEventListener(MouseEvent.CLICK,film1);

       

       

      function film1(event:MouseEvent):void{

                gotoAndStop("shorts");

      }

       

      I keep getting Access of undefined property error.

       

      Can anyone help?

       

      Thank you.