User Guide

Table Of Contents
62 Appendix A: Supported ActionScript
(–) subtract Operator (arithmetic); used for negating or subtracting.
When used for negating, it reverses the sign of the
numerical expression. When used for subtracting, it
performs an arithmetic subtraction on two numerical
expressions, subtracting
expression2 from expression1.
Example 1: The following statement reverses the sign of
the expression 2 + 3.
-(2 + 3)
The result is -5.
Example 2: The following statement subtracts the integer
2 from the integer 5.
5 - 2
The result is 3.
Fully supported
-= (subtraction
assignment)
Operator (arithmetic); assigns to expression1 the value of
expression1 - expression2
For example, the following two statements have the
same result:
x -= y;
x = x - y;
Fully supported
* (multiply) Operator (arithmetic); multiplies two numerical
expressions.
Fully supported
*= (multiplication
assignment)
Operator (arithmetic); assigns to expression1 the value of
expression1 * expression2
x *= y;
x = x * y;
Fully supported
/ (divide) Operator (arithmetic); divides expression1 by
expression2.
For example, the following statement sets the value of x
to 25:
y = 50;
x = y/2;
Fully supported
/= (division
assignment)
Operator (arithmetic); assigns to expression1 the value of
expression1 / expression2
For example, the following two statements are the same:
x /= y;
x = x / y;
Fully supported
= (numeric equality) A numeric equality operator used to test two expressions
for equality. The result is
true if the expressions are
equal.
Fully supported
Action name Description Support