Easy. Store the buttons in an array. Shift the level of the "active" button so that it is in a layer higher than all the others.
Take a look at the navigation in www.missweblash.com and see how the active button is always above.

Featured Post

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3.
In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…

While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…