[Flash8] Problems with navigation

Hi all,

I’ve just started work on the second website I will ever be making entirely in flash. :beer:

As you can see from the vague illitration the website consists of a navigation and a cool slider that indicates to the user what page they are currently on. However. Although I have managed to write a piece of code that successfully slides the page indicator out of sight I want to make this generic.

Otherwise I will need to repeat this code for each instance of a page on each button.


on (release) {
 if (_root.about_us._currentframe == 40) {
 _root.about_us.play()
 }
}

Which would just be crazy.

I’ve looked into arrays but I dont see how I can place an array in the code instead of about_us.

Any ideas?
(just ask for more information) :huh: