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

Using Dot Syntax

Since ActionScripts are the heart and soul of a Flash movie, it’s important to understand the syntax required to create good scripts. ActionScripts, just like any human language, has rules you should follow. However, in ActionScripts, you have to follow the rules or it won’t work.

One of the more important rules to follow is the use of dot syntax. The use of dots (.) in a script serve several purposes. First, is to specify the target path to a particular Timeline. For example, _root.america.kansas.wichita defines a movie clip on the main (_root) Timeline with the name america, containing a movie clip named kansas, which in turn contains a movie clip named wichita. Dot syntax is used to create a road map for Flash to follow.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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