1 Reply Latest reply on Sep 29, 2010 5:25 PM by kglad

    If statement, how to add a condition OR.

    JoséMaríaColina

      Hey, I'm making a simple animation in flash, but I need to make an OR statement:

       

      if (xxxxx or yyyyy){

      }

       

      this is my code, but an error appears because of the "or", I had the same problem with "AND", but it was fixed by replacing it with &&...

      is there a syntax code for OR?

      thanks

      jsmrcaga