Most of the best programmers on the world will tell you that: always
comment on your code. For yourself and for the others. This is absolutely
vital. Personally, before writing any line of code, I write in commentary
everything I want to do. All the functions, and what they are doing.
It is a very good habit because it gives you a clear idea of what you have to
do, if you want to modify something a year later, you'll be happy to know what
all your functions do, and if you give your fla to someone, it will be a great
help for him to understand it.
There are two ways to comment:
And the other:
Of course, any code put in there will NOT be executed. That's why it is also
useful for debugging your code (you can try to take out parts that might not
work in order to test the fla).