Mute and unmute

Hello. I'm new to this so if this is a very easy question, I apologize. I tried to figure this out, but I couldn't. I just need the touch of a button to mute all sound and another touch to unmute the sound. Thanks.

Nathan

add a
 audio.setVolume(0)
when muting and
 audio.setVolume(1)
when unmuting

Okay. Thank you!

Nathan

views:1394 update:2011/12/30 9:10:41
corona forums © 2003-2011