Flash CS3 Documentation |
|||
| Learning ActionScript 2.0 in Adobe Flash > Syntax and Language Fundamentals > About constants and keywords > 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.
Several words, although they are not reserved words, should not be used as identifiers (such as variable or instance names) in your ActionScript code. These are words that are used by the built-in classes that make up the ActionScript language, which are called language constructs. Therefore, do not use the names of properties, methods, classes, interfaces, component class names, and interface names as identifiers in your code (such as when you name variables, classes, or instances).
For more information about reserved keywords that can cause errors in your scripts and protected keywords for future use by ActionScript or the ECMAScript (ECMA-262) edition 4 draft language specifications see Avoiding reserved words and language constructs.
To learn the names of language constructs, refer to the ActionScript 2.0 Language Reference.
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00000698.html