Need help on button design

Hi I am new here.
Here’s a problem:
On a menu, I have like six buttons.
Each one plays its own menu (a slidingup menu) when it’s clicked.
I have it programmed so that when a menu(say like red ) is,
if I clicked the green button, it will close any other menu that’s not green and opens up green.

But, the button doesn’t close its own menu if it’s clicked twice. It just keeps opening itself up.

My friend told me to use var or otherstuff.
help!

http://students.ausd.net/group2/flash/workingonit1.fla

I did it in flash5.

Thx for ur time!

JACK