Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Operators | |||
This section describes the syntax and use of Adobe's 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 |
and
|
Performs a logical AND operation. |
= (assignment)
|
Assigns the value of |
/* (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 |
// (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 |
-- (decrement)
|
Subtracts 1 from |
/ (divide)
|
Divides |
/= (division assignment)
|
Assigns |
. (dot)
|
Used to navigate movie clip hierarchies to access nested (child) movie clips, variables, or properties. |
++ (increment)
|
Adds 1 to |
&& (logical AND)
|
Evaluates |
! (logical NOT)
|
Inverts the Boolean value of a variable or expression. If |
|| (logical OR)
|
Evaluates |
% (modulo)
|
Calculates the remainder of |
%= (modulo assignment)
|
Assigns |
*= (multiplication assignment)
|
Assigns |
* (multiply)
|
Multiples two numeric expressions. |
+ (numeric add)
|
Adds numeric expressions. |
== (numeric equality)
|
Tests for equality; if |
> (numeric greater than)
|
Compares two expressions and determines whether |
>= (numeric greater than or equal to)
|
Compares two expressions and determines whether |
<> (numeric inequality)
|
Tests for inequality; if |
< (numeric less than)
|
Compares two expressions and determines whether |
<= (numeric less than or equal to)
|
Compares two expressions and determines whether |
() (parentheses)
|
Groups one or more parameters, performs sequential evaluation of expressions, or surrounds one or more parameters and passes them as parameters to a function outside the parentheses. |
" " (string delimiter)
|
When used before and after a sequence of zero or more characters, quotation marks indicate that the characters have a literal value and are considered a |
eq (string equality)
|
Compares two expressions for equality and returns |
gt (string greater than)
|
Compares the string representation of |
ge (string greater than or equal to)
|
Compares the string representation of |
ne (string inequality)
|
Compares the string representations of |
lt (string less than)
|
Compares the string representation of |
le (string less than or equal to)
|
Compares the string representation of |
- (subtract)
|
Used for negating or subtracting. |
-= (subtraction assignment)
|
Assigns |
|
|
|
|