• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Mute button error

Community Beginner ,
Feb 12, 2022 Feb 12, 2022

Copy link to clipboard

Copied

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!

Views

66

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 12, 2022 Feb 12, 2022

Copy link to clipboard

Copied

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?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 12, 2022 Feb 12, 2022

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 12, 2022 Feb 12, 2022

Copy link to clipboard

Copied

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:

SystemVars_ToggleMute.png

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.

SystemVars_Conditional1.png

SystemVars_Conditional2.png

This works quite reliably.  See the attached CPTX.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 13, 2022 Feb 13, 2022

Copy link to clipboard

Copied

LATEST

@RodWard Interesting.  Since Toggle was added as command (and simple action) I always use it for any Boolean variable, also in the shared action I was referring to in my answer. Especially for shared actions it will be lot more trustworthy as well. Moreover I prefer Go to Next State instead of indicating the state for toggle buttons to spare on parameters. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines