Understanding the ActionScript Language > About variables > Naming a variable |
Naming a variable
A variable's name must follow these rules:
It must be an identifier. |
|
It cannot be a keyword or an ActionScript literal such as |
|
It must be unique within its scope. (See Scoping a variable.) |