• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

15.4. Reserved Words

Some reserved words are used by the ActionScript interpreter to denote specific built-in language features, such as statements and operators. They are reserved for use by the interpreter, and we must avoid using them as identifiers in our code. Using a reserved word for any purpose other than its reserved internal purpose causes an error in most cases. ActionScript's reserved words are listed in Table 15-1.

Table 15-1. ActionScript's reserved words
add[1] delete ge[1] le[1] onClipEvent this
and[1] do gt[1] lt[1] or[1] typeof
break else if ne[1] return var
case eq[1] ifFrameLoaded[1] new super void
continue for in not[1] switch while
default function instanceof on tellTarget[1] with


[1] Flash 4 reserved words that have been deprecated as of Flash 5.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint