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

Comments

Comments are lines of code the ActionScript reader skips over, but they are visible to people who open the file in the authoring environment. Comments are used to tell the story of ActionScript to the next person who looks at your code, (or to tell yourself later if you have to go back into the file). They are placed with variables to tell what those variables are used for. Comments are placed with functions to tell what the parameters are and what should go in them. And they are used to help narrow down bugs in code by commenting out specific lines.

To make a comment, you simply put two forward slashes (//) in front of your comment like this:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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