Skip to main content
sebastianp39208198
Participating Frequently
February 12, 2022
Question

Mute button error

  • February 12, 2022
  • 1 reply
  • 282 views

I attached a graphic to better comprehension. I created a mute button (set up to be shown in the whole project) and I also tried with the mute button from the skin editor menu. In both cases I get the same result, when I click the button in slide 1, the sounds mute, but when slide 2 begins, the sound is on again. But if I click the mute button in slide 2, the sound is off for the rest of the project.
Any idea on how to resolve this? Thanks!

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    February 12, 2022

    Can you please tell which version you are using? The full version number can be found under Help, About Captivate. It will also tell on which OS you are.

    Can you post a screenshot of the action you used for the custom Mute button?

    sebastianp39208198
    Participating Frequently
    February 12, 2022

    Sure! Version 2019 (11.8.0.586) on Windows 11. I also attached the screens capture. Thanks a lot for your help!

    RodWard
    Community Expert
    Community Expert
    February 13, 2022

    I have occasionally found that trying to assign values to some of the System Variables doesn't always work as expected. With the cpCmndMute system variable the Toggle action works quite reliably.  

     

    So, if I need a button to change state according to whether or not the audio is currently muted, I use the Toggle on the first block of the Conditional Action like this:

    Then on the next Decision block I use the Condition to read the current value of the cpCmndMute variable and use that to determine the Object State of the button.

    This works quite reliably.  See the attached CPTX.