User Guide

Table Of Contents
77
4
CHAPTER 4
Flash Lite Operators
This section describes the syntax and use of the Macromedia Flash Lite 1.x ActionScript
operators. All entries are listed alphabetically. However, some operators are symbols and are
alphabetized by their text descriptions.
The operators in this section are summarized in the following table:
Operator Description
add (string
concatenation)
Concatenates (combines) two or more strings.
+= (addition
assignment)
Assigns expression1 the value of expression1 + expression2.
and
Performs a logical AND operation.
= (assignment)
Assigns the value of expression2 (the operand on the right) to the
variable or property in
expression1.
/* (block comment)
Indicates one or more lines of script comments. Any characters that
appear between the opening comment tag (/*) and the closing
comment tag (*/) are interpreted as a comment and ignored by the
ActionScript interpreter.
, (comma)
Evaluates expression1, then expression2, and returns the value
of
expression2.
// (comment)
Indicates the beginning of a script comment. Any characters that
appear between the comment delimiter (//) and the end-of-line
character are interpreted as a comment and ignored by the
ActionScript interpreter.
?: (conditional)
Instructs Flash Lite to evaluate expression1, and if the value of
expression1 is true, the operator returns the value of expression2;
otherwise, it returns the value of
expression3.