Actionscript nightmare

hI all.

I’m trying to create a navigational menu, but im having a serious serious problem getting it to work right.

IT would be great if someone could lend a hand or something.

What i have it 7 buttons on the top of the screen. When a button is selected it moves to the middle of the screen and all the other buttons slide over one, filling the empty space.

IF a second button is clicked the current one in the middle of the screen moves to the end of the line
(position 7).

I’ve attached an fla, can anyone figure this out? also my current code is kinda redundant…