Skip to main content
Participant
October 28, 2024
Question

Publish Failed after adding audio to buttons

  • October 28, 2024
  • 1 reply
  • 503 views

Hello all,

I am working on a presentation using Captivate Classic. Before anyone says to use the new one, I need the classic version for the 360 slides for this project. I am using version 11.8.3.8, using a windows 11 pro (version 22631.4169) Dell laptop.

 

The issue I am having is that it published fine until I add audio to an advanced action. Here is the action.

Conditional Tab:

  • if Var_Fences is equal to 0

Action:

  • Show Fences
  • Increment Var_Fences by 1
  • Play Audio Fences

Else

  • Hide Fences
  • Stop Triggered Audio
  • Decrement Var_Fences by 1

 

If I don't have the action to play the audio it is fine. But adding the audio causes the error.

For the record, I used the built in text to speech option as this is a proptype version of the course for the SME's to evaluate. It is a WAV audio file.

Thanks

Scott

This topic has been closed for replies.

1 reply

RodWard
Community Expert
Community Expert
October 29, 2024

Try using Assign to set the variable to 1 or 0 instead of increment.

 

Increment and Decrement are only useful actions when you need to know the number of times something happens or does not happen.  But if you are relying on the value being either 0 or 1 then Increment or Decrement can get you into trouble if there is any way something else in your navigation or project actions might inadvertently change that value.

 

The Assign action explicitly sets the value of the variable to one or other possible boolean value.  It's far more reliable.

Participant
October 29, 2024

Thank you for that feedback. However that did not correct the publishing error for the audio being added to the button.

 

Any other thoughts?

RodWard
Community Expert
Community Expert
October 29, 2024

Can you be a bit more specific about this "publishing error"?

 

Does the project fail to publish at all, or does it simply not play the audio when you expect? Does it show an error message of some kind?

 

Any information might help debug the issue.