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

Chapter 11. Variables > Naming Variables

Naming Variables

Flash variables must have unique names. You want your variable names to be as descriptive as possible so you can more easily keep track of them and, more specifically, what type of information they hold. Below are three key factors to remember when naming variables:

  • The name must be unique within its scope.

  • The name must be a valid identifier.

  • The name cannot be a Flash keyword, nor a Boolean keyword.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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