|
||||||||||||||||||||||
| |
Navigational
Buttons |
|||||||||||||||||||||
| 1. Open a new document by clicking on File -> New. | ||||||||||||||||||||||
| 2.
Insert New Button from Insert>New Symbol. Create a samll button and
make it look different for each of Up, Over, Down and Hit states
like this: |
||||||||||||||||||||||
![]() |
![]() |
![]() |
![]() |
|||||||||||||||||||
|
|
||||||||||||||||||||||
Up State |
Over State |
Down State |
Hit State |
|||||||||||||||||||
| 3. Now Place three of these buttons from Library in a row on the stage. | ||||||||||||||||||||||
![]() |
||||||||||||||||||||||
| 4.
Create a new movieclip called "buttontext"
in this movie and add the word text1 at position 0.0,0.0 using Info panel.
|
||||||||||||||||||||||
| 5. Go the main stage and drag the buttontext movieclip out of the library to where we want it to be, infront of first button: | ||||||||||||||||||||||
![]() |
||||||||||||||||||||||
| 6.
Go back into buttontext and add one new keyframe. Add a new layer called
actions and give that one keyframe too: |
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| 7.
In frame 1 of the actions layer add a Stop();
action. In frame 1 of the actions layer ,
delete text. In frame 1 change the text to "tutorials" |
||||||||||||||||||||||
| 8. Now go back to the main stage. Notice that Buttontext movieclip had been replaced by a small circle. Add two more Buttontext movieclip for each button. | ||||||||||||||||||||||
![]() |
|
|||||||||||||||||||||
| 9. With the Instance panel, give buttontext a Name: of tutorials. | ||||||||||||||||||||||
| 10. Click on the first button and bring up the Actions window and add the following script. | ||||||||||||||||||||||
![]() |
|
|||||||||||||||||||||
| 11. Add two more buttontext to the remaining buttons and insert following script: | ||||||||||||||||||||||
![]() |
![]() |
|||||||||||||||||||||
Result: |
||||||||||||||||||||||
| |
||||||||||||||||||||||
|
||||||||||||||||||||||