How do I hide a flash button?

Hi, I have a question about hiding a flash button. I have 2 buttons (one for muting and one for unmuting). When I click on the mute one, I want to make it so that it hides the mute one and makes the unmute button visible and vice-versa. I have tried using the ._alpha on release for actions but its not working. I also tried using ._visible. Can someone help me out on this? Thank you.