User Guide
30 Appendix A: Supported ActionScript
& (string
concatenation)
Operator; used for concatenating strings. Fully supported
add Operator; concatenates (combines) two or more strings. Fully supported
and Operator; performs a logical AND operation. If both
expressions evaluate to true, then the entire expression is
true.
Fully supported
break Action; appears within a loop (for, for...in, do...while or
while). The break action skips the rest of the loop body,
stopping the looping action, and executes the statement
following the loop statement. Use the break action to
break out of a series of nested loops.
Fully supported
call Action; switches the context from the current script to the
script attached to the frame being called.
Fully supported
case Keyword; defines a condition for the switch action. Fully supported
chr() String function; converts ASCII code numbers to
characters.
Fully supported
continue Action; used to control code execution in loops. Fully supported
do... while Action; executes the statements inside the loop, and then
evaluates the condition of the loop for as long as the
condition is true.
Fully supported
duplicateMovieClip Action; creates an instance of a movie clip while the
movie is playing.
Fully supported
else Action; specifies the actions, clauses, arguments, or
other conditional to run if the initial if statement returns
false.
Fully supported
else if Action; evaluates a condition and specifies the
statements to run if the condition in the initial if statement
returns false.
Fully supported
eq (string equal) Comparison operator; compares two expressions for
equality and returns true if expression1 is equal to
expression2; otherwise, returns false. This action is string
specific.
The following examples illustrate true and false results for
the eq operator:
x =”Amy”;
y=”Fred”;
x eq “Amy”;
// true
x eq y;
// false
Fully supported
eval() Function; accesses variables - the value of the variable is
returned.
Fully supported
Action Name Description Support