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

Code Hinting

The Flash MX ActionScript Editor supports code hinting and code completion to help you script your applications. Table 12.2 provides a complete list of the Communication object suffixes that will automatically invoke the code hint and code completion tools. As a convenience, the entire scope of ActionScript suffixes are listed in the table.

These suffixes are not just useful for code hinting; use them for all your code to help self-document it. Understanding what type of data is stored within the variable will help you debug any application you create. Suffixes are added to the end of ActionScript variable names. For example, consider a variable name that might be used for a RecordSet object. The variable name myDatabaseData does not invoke code hints in the ActionScript Editor, but myDatabaseData_rs invokes the code hint for the object in both Flash MX and Dreamweaver MX (if you used Dreamweaver to edit Flash or server-side ActionScript).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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