2 Replies Latest reply on Mar 3, 2014 1:49 AM by Sudeshnasarkar27

    Play symbol more than one time

    poufou7558

      I have 1 "master"symbol and within a animation

       

      This symbol is 2 times on the timeline, hidden at beginning of the timeline

       

      there is 2 buttons on the stage with 2 actions

      first button

      sym.$("mySymbol1").show();

      sym.$("mySymbol1").play(0);

       

      second button

      sym.$("mySymbol2").show();

      sym.$("mySymbol2").play(0);

       

      and inside the "master" symbol, a button with 2 actions

      sym.getComposition().getStage().$("mySymbol1").hide();

      sym.getComposition().getStage().$("mySymbol2").hide();

       

      The animation is played well at the first click, but not after a second clik on the same button or on the other button