Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 225
naming the button instances
Name each button instance so that it can be referenced by ActionScript. This is a
crucial step that many beginners forget to do.
1 Click on an empty part of the Stage to deselect all the buttons, and then select
just the first button.
2 Type gabelloffel_btn in the Instance Name field in the Properties inspector.
3 Name each of the other buttons garygari_btn, ilpiatto_btn, and
pierreplatters_btn.
Make sure that you use all lowercase letters, leave no spaces, and double-check
the spelling of each button instance. Flash is very picky and one typo will
prevent your entire project from working correctly!
4 Lock all the layers.
216
Lesson 6
Creating Interactive navigation