Home / Articles / Adobe Flash / Deprecated Items in ActionScript 2.0 and Some Suggested Alternatives

Deprecated Items in ActionScript 2.0 and Some Suggested Alternatives

Chapter Description

The evolution of ActionScript has deprecated many elements of the language. This section lists the deprecated items and suggests alternatives when available.

Deprecated Operator summary

Operator Description
<> (inequality) Deprecated since Flash Player 5. This operator has been deprecated. Macromedia recommends that you use the != (inequality) operator.
add (concatenation (strings)) Deprecated since Flash Player 5. Macromedia recommends that you use the add (+) operator when creating content for Flash Player 5 or later. This operator is not supported in Flash Player 8 or later.
and (logical AND) Deprecated since Flash Player 5. Macromedia recommends that you use the logical AND (&&) operator.
eq (equality (strings)) Deprecated since Flash Player 5. This operator was deprecated in favor of the == (equality) operator.
ge (greater than or equal to (strings)) Deprecated since Flash Player 5. This operator was deprecated in favor of the >= (greater than or equal to) operator.
gt (greater than (strings)) Deprecated since Flash Player 5. This operator was deprecated in favor of the > (greater than) operator.
le (less than or equal to (strings)) Deprecated since Flash Player 5. This operator was deprecated in Flash 5 in favor of the <= (less than or equal to) operator.
lt (less than (strings)) Deprecated since Flash Player 5. This operator was deprecated in favor of the < (less than) operator.
ne (not equal (strings)) Deprecated since Flash Player 5. This operator was deprecated in favor of the != (inequality) operator.
not (logical NOT) Deprecated since Flash Player 5. This operator was deprecated in favor of the! (logical NOT) operator.
or (logical OR) Deprecated since Flash Player 5. This operator was deprecated in favor of the || (logical OR) operator.