




Intro
In spring 2019 I have posted several articles about the default design of Quiz slides, and how to tweak them. Today a user posted a question, which was not completely covered in the Tweak posts, although it is bit related with the post ‘Quiz Tweak 4: Submit Process‘. To understand this post, please make sure you have a full understanding of the Submit Process itself, explained in another post.
This was the question ‘Force Answer Feedback Audio to Play Through Before User Can Continue’. User wants to show feedback to the learner for any answer, correct or wrong and that feedback (image or text) has also an audio clip to emphasize the feedback. In the default setting, the learner cannot be forced to listen to the audio clip, since it is possible to click the slide immediately (or press Y) and skip it. That should be prevented. Even advanced answer option cannot force this.
Example
Just one question slide in this example file to show the result:

Setup
I will often point to the previous post about Tweaking Submit Process, where some identical steps are described in detail and with screenshots:
Step 1: create quizzing master slide
Duplicate the MCQ master slide, and take out all feedback messages. You can leave the Review area which is only used when a question has been skipped. More details in the post referred above.
Step 2: insert MCQ slides and apply new master slide
See the older post.
Step 3: Continue button
Create the Continue button, which has to be a shape button, looking exactly the same as the embedded Quiz buttons. Since it is a non-responsive project you can put that button under the Submit button. More details in the other blog post.
Step 4: Timing Continue button
Time it at 1.5 seconds as described in the other post.
Step 5: Custom feedback
The feedback needs to have a different content and an audio clip for each of the answers, correct or not. I used a multistate object (shape), where the normal state is invisible (Alpha an Stroke = 0), and each answer has its state. Here is a screenshot of the Object States panel:
It is possible to attach and audio clip to each state. It will play when that state appears. Use the Options tab, from within the state, and add the audio:
Step 6: (Advanced ) Actions
Hide the Continue button with the On Enter action of the slide. It is not a good idea to have two interactive objects at the same location and the same moment.
SuccessAct
There is only one correct answer in the MCQ. The advanced action will show the correct state of the feedback multistate object (in this case AnswerC), the audio clip will start playing and the Submit button remains visible but will not be active anymore. The command ‘Delay Next ….’ is used to keep it that way until the clip is finished, the delay time is equal to the duration of the clip (or it shorter).
You see that I show the Continue button after the delay, then release the playhead (which will pause again at the pausing point of the Continue button). This is necessary to let the effects applied to the Submit button be activated (see Step 7).
WrongAct
In this case there are two wrong answers possible. It would have been possible to achieve this with one decision in a conditional action. However to make the action more ‘universal’ I preferred to use two decisions. If you have more than 2 wrong answers, you’ll need to have a decision for each answer. The system quizzing variable cpQuizInfoAnswerChoice has been used to find which state is needed for each wrong answer, and the duration of the delay time has been edited, since not all clips have the same length.
Step 7: Effects on Continue button
Please have a look at the older post. To get the Submit button out of the way, and inactive, I applied an Alpha and an Exit effect. This is not possible with advanced actions, because the Submit button is an embedded object, has no ID.


