Action Name
(–) subtract
-= (subtraction
assignment)
* (multiply)
*= (multiplication
assignment)
/ (divide)
/= (division
assignment)
= (numeric equality)
26
Appendix A: Supported ActionScript
Description
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.
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;
Operator (arithmetic); multiplies two numerical
expressions.
Operator (arithmetic); assigns to expression1 the value of
expression1 * expression2
For example, the following two expressions are the same:
x *= y;
x = x * y;
Operator (arithmetic); divides expression1 by
expression2.
For example, the following statement sets the value of x
to 25:
y = 50;
x = y/2;
Operator (arithmetic); assigns to expression1 the value of
expression1 / expression2
For example, the following two statements are the same:
x /= y;
x = x / y;
A numeric equality operator used to test two expressions
for equality. The result is true if the expressions are equal.
Support
Fully supported
Fully supported
Fully supported
Fully supported
Fully supported
Fully supported
Fully supported
Need help?
Do you have a question about the FLASH MX 2004 - FLASH LITE AUTHORING GUIDELINES FOR THE I-MODE SERVICE and is the answer not in the manual?
Questions and answers