User Guide

31
1
CHAPTER 1
ActionScript language
elements
This section provides syntax, usage information, and code samples for global functions and
properties (those elements that do not belong to an ActionScript class); compiler directives;
and for the constants, operators, statements, and keywords used in ActionScript and defined
in the ECMAScript (ECMA-262) edition 4 draft language specification.
Compiler Directives
This section contains the directives to include in your ActionScript file to direct the compiler
to preprocess certain instructions. Do not place a semicolon (;) at the end of the line that
contains the directive.
Compiler Directives summary
#endinitclip directive
#endinitclip
Indicates the end of a block of initialization actions.
Do not place a semicolon (;) at the end of the line that contains the #endinitclip directive.
Availability: ActionScript 1.0; Flash Player 6.0
Example
#initclip
...initialization actions go here...
#endinitclip
Directive Description
#endinitclip Indicates the end of a block of initialization actions.
#include Includes the contents of the specified file, as if the commands in the
file are part of the calling script.
#initclip Indicates the beginning of a block of initialization actions.