User Guide
Table Of Contents
- Contents
- Introduction
- Optimizing Content
- Working with Sound
- ActionScript Enhancements for Flash Lite 1.1
- New FSCommand and FSCommand2 commands
- Creating Content
- Testing Content
- Development Kit Examples
- Resources and Support
- Supported ActionScript
- Supported ActionScript Properties
- Warning and Error Messages

64 Appendix A: Supported ActionScript
<> (inequality) Operator (equality); tests the opposite of the equality
operator. If
expression1 is equal to expression2, the
result is
false.
The following examples illustrate
true and false returns
for the
<> operator.
3 < > 10;
// true
3 <> 3;
// false
Fully supported
% (modulo) Operator; calculates the remainder of expression1
divided by
expression2.
For example, the following statement sets the value of
x
to 3:
x = 45 % 6;
Fully supported
%= (modulo
assignment)
Operator (assignment); assigns to expression1 the value
of
expression1 % expression2.
For example, the following two expressions are the same:
x %= y
x = x % y
Fully supported
|| (logical OR) Operator (logical); evaluates expression1 and, if
expression1 is false, evaluates expression2. The result is
true if either or both expressions evaluate to true; the
result is
false only if both expressions evaluate to false.
The following example uses the
|| operator in an if
statement. The second expression evaluates to
true so
the final result is
true:
x = 10;
y = 250;
if (x > 25 || y > 200) {
z = 5;
}
else {
z=0;
}
// z has a value of 5 after the code above has
executed.
Fully supported
! (logical NOT) Operator (logical); inverts the Boolean value of a variable
or expression.
Fully supported
Action name Description Support