User Guide

130 ActionScript language elements
++ (increment)
A pre-increment and post-increment unary operator that adds 1 to
expression .
!= (inequality) Tests for the exact opposite of the equality (== ) operator.
<> (inequality) Deprecated since Flash Player 5. This operator has been
deprecated. Macromedia recommends that you use the !=
(inequality) operator.
Tests for the exact opposite of the equality (==) operator.
instanceof Tests whether object is an instance of classConstructor or a
subclass of classConstructor.
< (less than) Compares two expressions and determines whether expression1 is
less than expression2 ; if so, the operator returns true.
lt (less than
(strings))
Deprecated since Flash Player 5. This operator was deprecated in
favor of the < (less than) operator.
Returns true if expression1 is less than expression2, false otherwise.
<= (less than or
equal to)
Compares two expressions and determines whether expression1 is
less than or equal to expression2 ; if it is, the operator returns true.
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.
Returns true if expression1 is less than or equal to expression2,
false otherwise.
// (line comment
delimiter)
Indicates the beginning of a script comment.
&& (logical AND) Performs a Boolean operation on the values of both expressions.
and (logical AND) Deprecated since Flash Player 5. Macromedia recommends that you
use the logical AND (&&) operator.
Performs a logical AND (&&) operation in Flash Player 4.
! (logical NOT) Inverts the Boolean value of a variable or expression.
not (logical NOT) Deprecated since Flash Player 5. This operator was deprecated in
favor of the! (logical NOT) operator.
Performs a logical NOT (!) operation in Flash Player 4.
|| (logical OR) Evaluates expression1 (the expression on the left side of the
operator) and returns true if the expression evaluates to true.
or (logical OR) Deprecated since Flash Player 5. This operator was deprecated in
favor of the || (logical OR) operator.
Evaluates condition1 and condition2, and if either expression is
true, the whole expression is true.
% (modulo) Calculates the remainder of expression1 divided by expression2.
Operator Description