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

Disable buttons while audio is playing for another button

New Here ,
Feb 05, 2019 Feb 05, 2019

Copy link to clipboard

Copied

Hi Everyone,

I've created an interaction where participants can click 6 different buttons, each button allows a different object to appear and audio will play. Is there a way to disable the 5 other buttons while the audio for the clicked button is play and then enable them again when the audio is over and the object disappears again?

TOPICS
Advanced

Views

718

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

correct answers 1 Correct answer

Community Expert , Feb 05, 2019 Feb 05, 2019

Which version are you using?  I suspect yoy are using a shared action for the buttons, something like:

    Show  Image

     Play Audio

Or are you using object audio, audio attached to the image?

You cannot disable a group, which is a pity, but you can hide a group. Is it really neessary that the buttons remain visible?

One of the solutions could be to use the Delay Next Actions command:

    Show Image

     Play Audio

     Hide Gr_Buttona

     Delay Next actions by  x  seconds        where x is the durati

...

Votes

Translate

Translate
Community Expert ,
Feb 05, 2019 Feb 05, 2019

Copy link to clipboard

Copied

Which version are you using?  I suspect yoy are using a shared action for the buttons, something like:

    Show  Image

     Play Audio

Or are you using object audio, audio attached to the image?

You cannot disable a group, which is a pity, but you can hide a group. Is it really neessary that the buttons remain visible?

One of the solutions could be to use the Delay Next Actions command:

    Show Image

     Play Audio

     Hide Gr_Buttona

     Delay Next actions by  x  seconds        where x is the duration of the audio clip

     Show Gr_Buttons     

      Hide Image

If you want to have the buttons remaining visible, you have to replace the Hide command by Disable, one for each of the buttons, and the Show by Enable commands for the buttons.

Votes

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
New Here ,
Feb 05, 2019 Feb 05, 2019

Copy link to clipboard

Copied

I'm using captivate 9 and using the object audio with the button's action set to "show." Would the Delay Next Actions command work for this set up?

Votes

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 05, 2019 Feb 05, 2019

Copy link to clipboard

Copied

Sorry, don't have CP9 anymore. Can you check in the Advanced Actions dialog box if it is available?

Votes

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
New Here ,
Feb 05, 2019 Feb 05, 2019

Copy link to clipboard

Copied

Yes, that solution worked! Thank you!

Votes

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 05, 2019 Feb 05, 2019

Copy link to clipboard

Copied

LATEST

You're welcome!

Votes

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
Resources
Help resources