Developing Webs logo
Google
Web DW-Main DW-Photoshop
Visit the message board for solutions or post a question Check out the Classes offered for free at Developing Webs Voice Chat submit a tutorial, resources, article, font for publication consideration and earn a one way link back to your site Get more specifics about the Developing Webs Voice chat room and its room members View the current news at Developing Webs alternative sites which are resources for your d3evelopment needs Join Developing Webs Chat Link to us on your web page to help support this resource! Check out Developing Webs At yahoo groups! Developing Webs Home Adobe Photoshop Tutorials Macromedia Flash Tutorials Jasc Paint Shop Pro Tutorials Adobe Illustrator Animation basics Some Basic PHP tutorials Perl Tutorials HTML Tutorials Cascading Style Sheets javascript Front Page Tutorials Macromedia Dream Weaver Tutorials dreamweaver Publishing your site, FTP, ChMod, Promotions Tools to help you create your site Free and shareware fonts to download Photographs to use in your projects Shop for your site needs Free Online classes REcommend this site to others Log in or edit your information when logged in Developingwebs Log Out Change My Account details and preferences
RSS Newsfeed
for your site
DW News
Calendar
DW Forum
Right click on button and copy shortcut

Add to My Yahoo!

Reminder
Remember to book mark this site!



Request a Tutorial

Commenting in Flash

We can put comments in our flash movies that are not compiled into the movie. They do not increase movie sized, however give important information about the movie to someone examining the fla. We use comments for several reasons/

  1. We can use comments to denote frames in the timeline not used in scripts. Often we will label frames for scripting to point to and to navigate to frames in a movie. In the frame label box of the property inspector we can simply put a // in front of the frame name, and the name on the timeline will be a comment, denoted by a green //.


     
  2. When you script, it is important to leave comments as to what you are doing so others will be able to understand what the script is doing. This will help even you if you are the only one to ever view the script since one often forgets what we did in a movie when we open it a year later.
    Single line action script comment tags are preceeded with a // and will show up in the action script panel as grey. This comments do not export with the movie so do not increase the size of your movie. They are there for editing helps.


     
  3. The third type of commenting you can do in your flash fla movie is a multiline comment on the action script panel. This type of comment may have copyright information, or instructions on how to use and adjust the scripts. The multiline comments starts with a /* and ends with a */. It would appear like this:
    /* your comments are here and can be as many lines as you want */

 



"Building The Web Into a Nicer Place -- One Site At A Time"
Developing Webs Group Copyright © 2001-2008 All Rights Reserved
Privacy and Legal