Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 243
If you pointed your pick whip to an object that doesn’t support the particular code
snippet, your pick whip will rebound and the code snippet will remain unmodified.
8 Highlight the blue number within the parentheses in the code.
The blue number indicates which frame of the Timeline that Flash will display
when you click on the Home button.
9 Replace the blue number with the number 1.
10 Click Insert.
Flash adds the code snippet to the current keyframe on the Timeline. A flag
appears on the Timeline to let you know that the code has been added, and to
indicate where on the Timeline it’s been placed.
Click on the flag to open the Actions panel to view the code. You should be familiar
with the syntax since you hand-coded your restaurant buttons earlier in this lesson.
The Code Snippets panel, however, can make adding code quick and easy.
234
Lesson 6
Creating Interactive navigation