EasyManua.ls Logo

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH - Page 139

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
830 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
About constants and keywords 139
About reserved words
Reserved words are words that you cannot use as identifiers in your code because the words are
reserved for use by ActionScript. Reserved words include keywords, which are ActionScript
statements, and words that are reserved for future use. That means you should not use them
for naming your variables, instances, custom classes, and so on; doing so can lead to technical
problems in your work.
The following table lists reserved keywords in Flash that cause errors in your scripts:
The following table lists keywords that are reserved for future use by ActionScript or the
ECMAScript (ECMA-262) edition 4 draft language specification. You should also avoid
using these keywords in your code:
add and break case
catch class continue default
delete do dynamic else
eq extends finally for
function ge get gt
if ifFrameLoaded implements import
in instanceof interface intrinsic
le lt ne new
not on onClipEvent or
private public return set
static switch tellTarget this
throw try typeof var
void while with
abstract enum export short
byte long synchronized char
debugger protected double volatile
float throws transient goto

Table of Contents

Related product manuals