EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE - (Increment)

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE
162 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
++ (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
expression++
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 (
expression++) adds 1 to
expression and returns the initial value of expression (the value before the addition).

Table of Contents

Related product manuals