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

Flash lite 1.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

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
in the
hairColor
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
. The expression can be a variable, element in an array, or property of an object.
expression
The pre-increment form of the operator (
) adds 1 to
and returns
++expression
expression
the result as a number. The post-increment form of the operator (
) adds 1 to
expression++
and returns the initial value of
(the value before the addition).
expression
expression
++ (increment)
89

Advertisement

Table of Contents
loading
Need help?

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?

Subscribe to Our Youtube Channel

Table of Contents