MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 244

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

Advertisement

/= (division assignment)
Availability
Flash Player 4.
Usage
expression1 /= expression2
Parameters
expression1,expression2
Returns
Nothing.
Description
Operator (arithmetic compound assignment); assigns
. For example, the following two statements are the same:
expression2
x /= y
x = x / y
Example
The following code illustrates using the
x = 10;
y = 2;
x /= y;
// x now contains the value 5
[] (array access)
Availability
Flash Player 4.
Usage
my_array = ["a0", a1,...aN]
myMultiDimensional_array = [["a0",...aN],...["a0",...aN]]
my_array[E] = value
myMultiDimensional_array[E][E] = value
object["value"]
Parameters
The name of an array.
my_array
a0, a1,...aN
myMultiDimensional_array
The number (or index) of an element in an array.
E
The name of an object.
object
A string or an expression that evaluates to a string that names a property of the object.
value
244
Chapter 12: ActionScript Dictionary
A number or a variable that evaluates to a number.
Elements in an array.
The name of a simulated multidimensional array.
expression1
operator with variables and numbers.
/=
the value of
expression1 /

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?

Table of Contents