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

Disable buttons while audio is playing for another button

New Here ,
Feb 05, 2019 Feb 05, 2019

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
915
Translate
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

LEGEND , 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

...
Translate
LEGEND ,
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 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.

Translate
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

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?

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

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

Translate
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

Yes, that solution worked! Thank you!

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

You're welcome!

Translate
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