
Common Global Functions and Directives
ActionScript Description
trace(message) Prints message to the Output window.
include “filename.as” Includes the ActionScript file as though it were written in
the frame.
import
package.class Imports external class as defined in package for use in
ActionScript.
function name(parameter1, parameter2, etc.):returnType{} Creates a method to perform a certain task.
336
Commonly Used
ActionScript Commands
Common ActionScript Statements
ActionScript Description Syntax
break Exits a loop or switch statement. break;
do while A while loop where the statements are always do {
executed once before the condition is evaluated. ...