In the Script pane, type the following:
// Declare variables and values for car part prices.
The parallel slashes (//
) indicate that the text that follows is a comment. As a best practice, always add comments that offer an explanation of your ActionScript.
As you take this lesson, you might find that you'd like to turn off code hints-the tooltips that prompt you with the correct ActionScript syntax. If so, you can turn off code hinting by clicking the pop-up menu in the upper-right corner of the Actions panel. Select Preferences, and then deselect Code Hints on the ActionScript tab.