Operands
expression1, expression2
Description
Operator (arithmetic compound assignment); assigns
expression1 * expression2
For example, the following two expressions are the same:
x *= y
x = x * y
Example
Usage 1: The following example assigns the value 50 to the variable
x = 5;
y = 10;
trace (x *= y);// output: 50
Usage 2: The second and third lines of the following example calculate the expressions on the
right side of the equals sign (=) and assign the results to
i = 5;
x = 4 - 6;
y = i + 2;
trace(x *= y);// output: -14
* (multiply)
Availability
Flash Lite 1.0.
Usage
expression1 * expression2
Operands
expression1, expression2
Description
Operator (arithmetic); multiplies two numeric expressions. If both expressions are integers,
the product is an integer. If either or both expressions are floating-point numbers, the product
is a floating-point number.
Numbers or expressions that evaluate to numbers.
.
Numeric expressions.
the value of
expression1
:
x
and
:
x
y
* (multiply)
95
Need help?
Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?