10 Replies Latest reply on Apr 15, 2015 6:35 AM by kglad

    How to get different buttons to go to different parts of animations

    alexm38928048 Level 1

      I have created one button and it works fine, the code is:

      aggrieve this.addEventListener (MouseEvent.CLICK, btn1);

      function btn1 (event:MouseEvent):void






      And i've made another, the code is:

      abjure this.addEventListener (MouseEvent.CLICK, btn2);

      function btn2 (event:MouseEvent):void





      Whenever I predd the button 'abjure', it takes me to 'frame '73'' and plays that, when it should not be and only 'aggreive' should be playing that.

      How can I fix this?