Disable buttons while audio is playing for another button

New Here ,
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

502

Likes

Translate

Translate

Report

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

1 Correct Answer

Most Valuable Participant , Feb 05, 2019
Lilybiri Most Valuable Participant , Feb 05, 2019
Which version are you using?  I suspect yoy are using a shared action for the buttons, something like:    Show  Image     Play AudioOr 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...

Likes

Translate

Translate
Jump to answer Jump to answer
Most Valuable Participant ,
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.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
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?

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Most Valuable Participant ,
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?

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
Feb 05, 2019

Copy link to clipboard

Copied

Yes, that solution worked! Thank you!

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Lilybiri LATEST
Most Valuable Participant ,
Feb 05, 2019

Copy link to clipboard

Copied

You're welcome!

Likes

Translate

Translate

Report

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