4 Replies Latest reply on Dec 5, 2012 11:09 AM by resdesign

    Can i place an "if" statement into a trigger?

    267354uytwerjhgw

      I have tried the following code with no success:

       

      if(variable1==1){

      sym.play("anim1");

      }

      else

      sym.play("anim2");

       

       

      Is there a different code for triggers?

      thanks.