Im having a hard time trying to get the mute and unmute(replay) buttons to work. THis is what i want. A mute button, which mutes the music. and a “replay” button, that when its clicked on, it will replay the movie AS WELL as allow the user to hear the music again.
bg = the name of my background music. PLEASE HELP. thank you.
on(release){
currentVolume = bg.getVolume();
bg.setVolume(0);
}
And in the replay button here is the code, that im trying to set the volume back up at 100…