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

Summary

A script uses a set of symbols that you need to become familiar with to read and write ActionScript. Curly brackets surround segments of code that belong together. Dots, or periods, tie together objects and their properties.

There are two types of variables. Global variables are available to the entire movie level, whereas local variables are available only to the current function or script. You can set variable contents with =, and use +, -, /, and * to perform operations on variables and numbers. The shorthand ++ and -- will add and subtract 1 from a variable, whereas += and -= will add or subtract a specific number from the variable.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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