MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 237

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

* (multiplication)
Availability
Flash Player 4.
Usage
expression1 * expression2
Parameters
None.
Returns
Nothing.
Description
Operator (arithmetic); multiplies two numerical 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.
Example
Usage 1: The following statement multiplies the integers 2 and 3.
2 * 3
The result is
, which is an integer.
6
Usage 2: This statement multiplies the floating-point numbers 2.0 and 3.1416.
2.0 * 3.1416
The result is 6.2832, which is a floating-point number.
*= (multiplication assignment)
Availability
Flash Player 4.
Usage
expression1 *= expression2
Parameters
None.
Returns
Nothing.
Description
Operator (arithmetic compound assignment); assigns
. For example, the following two expressions are the same:
expression2
x *= y
x = x * y
the value of
expression1
*= (multiplication assignment)
expression1 *
237

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents