User Guide

116 ActionScript language elements
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 one or
both of the 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.
%= (modulo assignment) Assigns expression1 the value of expression1 %
expression2.
* (multiplication) Multiplies two numerical expressions.
*= (multiplication assignment) Assigns expression1 the value of expression1 *
expression2.
new Creates a new, initially anonymous, object and calls the
function identified by the constructor parameter.
ne (not equal (strings)) Deprecated since Flash Player 5. This operator was
deprecated in favor of the != (inequality) operator.
Returns true if expression1 is not equal to
expression2; false otherwise.
Operator Description