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

Hour 4. Writing Code in Flash > Local and Global Variables

Local and Global Variables

In Hour 3, “Learning to Program,” I mentioned variables. They are little containers for storing information.

Setting Variables

Using variables in ActionScript is easy. All you need to do is assign a value to a variable name. Here is an example:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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