# Help with some navigation using actionscript

**URL:** https://forum.kirupa.com/t/help-with-some-navigation-using-actionscript/262710
**Category:** flash
**Created:** [June 9, 2008, 12:37pm UTC](https://forum.kirupa.com/t/help-with-some-navigation-using-actionscript/262710 "2008-06-09T12:37:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![badpunk](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@badpunk](https://forum.kirupa.com/u/badpunk)
#### Post date: [June 9, 2008, 12:37pm UTC](https://forum.kirupa.com/t/help-with-some-navigation-using-actionscript/262710/1 "2008-06-09T12:37:54Z")

</div>

[LEFT]Hey all,

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

![](http://forum.kirupa.com/uploads/kirupa/4796/08cfa699b78134ab.jpg)

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]

---

<div class="post-metadata">

### Author: ![matthewjumps](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)
#### Post date: [June 9, 2008, 1:53pm UTC](https://forum.kirupa.com/t/help-with-some-navigation-using-actionscript/262710/2 "2008-06-09T13:53:19Z")

</div>

I recommend using [TweenLite](http://blog.greensock.com/tweenliteas2/)- theres nothing wrong with creating a few tweens now and then 😉

---

<div class="post-metadata">

### Author: ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)
#### Post date: [June 9, 2008, 2:01pm UTC](https://forum.kirupa.com/t/help-with-some-navigation-using-actionscript/262710/3 "2008-06-09T14:01:58Z")

</div>

its called an accordion interface search the forums… and tuts

---

<div class="post-metadata">

### Author: ![badpunk](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@badpunk](https://forum.kirupa.com/u/badpunk)
#### Post date: [June 10, 2008, 8:08am UTC](https://forum.kirupa.com/t/help-with-some-navigation-using-actionscript/262710/4 "2008-06-10T08:08:02Z")

</div>

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