Actionscript Help/Pointers

Hi,

Was hoping someone can help me as I have little experience with Actionscript and I cannot seem to get my head around this navigation I am trying to design.

Firstly the file attached has 5 buttons each of which when clicked will open an external movieclip of a menu opening and closing.

When the menu is on its open state, it can only be closed by clicking the button on the opened menu OR by clicking any other button- which will result in the menu closing before another one is opened.

(only 1 of the 5 menus can open at any 1 time - so any that are open will close if another is clicked)

Lastly, when a menu button is opened, the button that opened it will either stay dark or not be selectable again until another button is clicked.

Catch my drift, would really apreciate some input people!

K