Help with some navigation using actionscript

[LEFT]Hey all,

I really need help in creating a navigational menu with some actionscript.

As seen in the image, there are 6 different tabs and i need them to open when i click on them. But after clicking on the yellow tab as seen in 3rd pic, how do i close the green tab using actionscript? If i were to create the different motion tweens for each possibility (eg. closing green and opening yellow, closing green and opening red), i would be creating a lot of tweens which isn’t very feasible.

Thanks
badpunk
[/LEFT]

I recommend using TweenLite - theres nothing wrong with creating a few tweens now and then :wink:

its called an accordion interface search the forums… and tuts

thanks all for ur replies, i will try out the accordion component…