++ (increment)
89
Description
Operator; used to navigate movie clip hierarchies to access nested (child) movie clips,
variables, or properties.
Example
The following example identifies the current value of the variable
hairColor
in the
movie clip
person_mc
:
person_mc.hairColor
This is equivalent to the following slash notation syntax:
/person_mc:hairColor
See also
/ (Forward slash)
++ (increment)
Availability
Flash Lite 1.0.
Usage
++expression
exp+
Operands
None.
Description
Operator (arithmetic); a pre-increment and post-increment unary operator that adds 1 to
expression
. The expression can be a variable, element in an array, or property of an object.
The pre-increment form of the operator (
++expression
) adds 1 to
expression
and returns
the result as a number. The post-increment form of the operator (
exp+
) adds 1 to
expression
and returns the initial value of
expression
(the value before the addition).
Содержание FLASH 8-FLASH
Страница 1: ...Flash Lite 1 x ActionScript Language Reference...
Страница 6: ...6 Contents...
Страница 46: ...46 Flash Lite Global Functions...
Страница 62: ...62 Flash Lite Properties...
Страница 76: ...76 Flash Lite Statements...
Страница 110: ...110 Flash Lite Operators...
Страница 162: ...162 Index...