Using the Actions panel buttons to add and remove comments


show more Using the Actions panel buttons to add and remove comments provides you with in-depth training on Developer. Taught by Todd Perkins as part of the ActionScript 3.0 in Flash Professional CS5 Essential Training show less
please wait ...

Using the Actions panel buttons to add and remove comments

Comments allow you to organize your code, temporarily disable code, and to write messages for yourself and for other programmers. Flash Pro lets you insert and remove comments with the click of a button. I will show you how that works in the Actions panel. I click the first keyframe in the actions layer and press option F9 on the Mac or F9 on the PC to open the Actions panel. Let's say I wanted to make a comment to tell another developer where the code is that starts the game. So I can click on line 6 in my code, type two forward slashes, and then I can type, "click or press a key to start the game." So line 7 and 8 are the code that does that.

They set up the code to click or to press a key to start the game. Again, you don't have to know what this code means right now; just understand the part about the comment - this is just a simple note to somebody. Notice that this line of code is gray, and if I delete those two forward slashes, then some of these words turn blue. Th...

Using the Actions panel buttons to add and remove comments
Video duration: 2m 33s 7h 8m Beginner Updated May 23, 2012

Viewers:

Using the Actions panel buttons to add and remove comments provides you with in-depth training on Developer. Taught by Todd Perkins as part of the ActionScript 3.0 in Flash Professional CS5 Essential Training

please wait ...