03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 1<br />

ActionScript language<br />

elements<br />

This section provides syntax, usage information, <strong>and</strong> code samples for global functions <strong>and</strong><br />

properties (those elements that do not belong to an ActionScript class); compiler directives;<br />

<strong>and</strong> for the constants, operators, statements, <strong>and</strong> keywords used in ActionScript <strong>and</strong> defined<br />

in the ECMAScript (ECMA-262) edition 4 draft language specification.<br />

Compiler Directives<br />

This section contains the directives to include in your ActionScript file to direct the compiler<br />

to preprocess certain instructions.<br />

Compiler Directives summary<br />

Directive Description<br />

#endinitclip Compiler directive; indicates the end of a block of initialization<br />

actions.<br />

#include Compiler directive: includes the contents of the specified file, as if the<br />

comm<strong>and</strong>s in the file are part of the calling script.<br />

#initclip Compiler directive; indicates the beginning of a block of initialization<br />

actions.<br />

#endinitclip directive<br />

#endinitclip<br />

Compiler directive; indicates the end of a block of initialization actions.<br />

Example<br />

#initclip<br />

...initialization actions go here...<br />

#endinitclip<br />

23<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!