Audio on/off
September 18, 2006 12:00 AM
"Thanks for your reply but I am still having problems getting this to work. " => What problems other than below?"The button needs to flick between the two images of mute on and off." Changing what the button says is easy. You could add two actions to the button to switch from one object to another - i.e. you can change what is displayed by using a Change Contents action. But here is a simpler way.Create 2 buttons - Play and Mute. Make them the same size and place them one on top of the other. With this solution you do not need to use temp or conditions on the buttons.PLAY BUTTON:Action: Modify variable; Target: Audio_sw; value: OnAction: Play the audio Action: Show MUTE buttonAction: Hide PLAY buttonMUTE BUTTON:Action: Modify variable; Target: Audio_sw; value: Off Action: Stop the audioAction: Show PLAY buttonAction: Hide MUTE button
Discussions have been disabled for this post