Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 223
Placing the button instances
The buttons need to be put on the Stage and given names in the Properties inspec-
tor so that ActionScript can identify them.
1 On the main Timeline, insert a new layer and rename it buttons.
2 Drag each of your buttons from the Library panel to the middle of the Stage,
placing them in a horizontal row. Don’t worry about their exact position
because you’ll align them nicely in the next few steps.
3 Select the first button, and in the Properties inspector, set the X value to 100.
4 Select the last button, and in the Properties inspector, set the X value to 680.
5 Select all four buttons. In the Align panel (Window > Align), deselect the Align
to stage option, click the Space Evenly Horizontally button, and then click the
Align Top Edge button.
All four buttons are now evenly distributed and aligned horizontally.
214
Lesson 6
Creating Interactive navigation