Button on/off

Hello all,

Does anyone know a good way to make buttons inactive and return them to active again?

I have a main.swf that has four buttons on it. I need to make any button inactive when clicked untill another button is clicked.

I hope that makes sense, ive seen it around and I know I could do it with 4 frames with the the different button combinatioins on each, but I think theres probably a way to do it with as.

Anyways, help appreciated as ever…

ATB