Usage of statements, operators and keywords specific to ActionScript 2 does not allow to migrate to ActionScript 3. This includes "intrinsic" keyword, set variable statement and following list of operators:
<> (inequality) - use != instead add (concatenation (strings)) - use + instead eq (equality (strings)) - use == instead ne (not equal (strings)) - use != instead lt (less than (strings)) - use < instead le (less than or equal to (strings)) - use <= instead gt (greater than (strings)) - use > instead ge (greater than or equal to (strings)) - use >= instead and (logical and) - use && instead or (logical or) - use || instead not (logical not) - use ! instead
if (true != false) { // Compliant
}
if (true <> false) { // Noncompliant
}
set("varName", value); // Noncompliant
varName = value; // Compliant