Highlighted

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?

Most Valuable Participant
Correct answer by Lilybiri | Most Valuable Participant

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.

Topics

Advanced

Views

434

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

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?

Most Valuable Participant
Correct answer by Lilybiri | Most Valuable Participant

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.

Topics

Advanced

Views

435

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

Copy link to clipboard

Copied

Yes, that solution worked! Thank you!

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
Reply
Loading...
Lilybiri LATEST
Most Valuable Participant ,
Feb 05, 2019

Copy link to clipboard

Copied

You're welcome!

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
Reply
Loading...
Resources
Captivate User Guide
New Group