Up till now Captivate doesn't allow to attribute a partial score to a question that is partially correct. In this tip a Hotspot question will be constructed, with partial scoring. Same principles can be used p.e. for Multiple Choice questions, Fill-in-the-Blank questions with multiple blanks, Matching questions. Before showing the score, a customized feedback, including the given 'wrong' and 'correct' answers will appear.
Play this SWF for better understanding the workflow. There is only one hotspot question, with 9 possible 'hotspots' over the City names in Belgium (Brussel, Brugge, Gent, Antwerpen, Hasselt, Mons, Liège, Namur, Arlon). You'll see the Hand cursor over the hit areas. For each correct click the score is incremented with 5 points, for each incorrect click it is decremented with 5 points. When submitted, you will be directed to either the feedback for a totally correct answer, either to slides where you'll see the correct and incorrect answers marked. At the end the score will be visible. One master slide is used that has a Rectangle showing the slide label. Did you know that a Rectangle can have a Text?
After the intro-slide (self-explanatory) you'll find sequentially the following slides:
On entering this slide the Advanced action 'Init' will be triggered. On this slide the objects are:
This slide has several Text Captions (Transparent) and the Text button 'Score' with the Succes action 'Jump to slide 6 Score'.
On entering this slide the Advanced action 'InitIncorrect1' will be triggered. On this slide the objects are:
On entering this slide the Advanced action 'InitIncorrect2' will be triggered. On this slide the objects are:
On entering this slide the Advanced action 'EnterScore' will be triggered. On this slide the objects are:
This is a very simple action that resets the variables, associated with the click boxes to 0. This is necessary because the user can retry the question. The score variable is also reset to the value 0. Because the percentage variable is always calculated from the score variable, it is not necessary to re-initialize that variable.

To create the possibility for the user to retry the question, the markers (correct/incorrect images) on these slides have to be hidden when entering them. Omitting this, you could end up with two different markers on top of each other.
You see a screenshot of the Advanced action 'InitIncorrect1'. For the second (InitIncorrect2) I started with a duplicate of the first, and changed the image labels.
Those nine conditional actions are very similar, although 4 out of the 9 increment the score, and 5 decrement the score. I did use the duplicate functionality a lot of times:
![]()
Each of the nine Conditional actions has only one condition. The screenshots below show the Conditional action for the Click box CB_Antwerpen which leads to an incrementing of the score.
The condition is necessary, because it is possible that the user already clicked the same hotspot. In that case the associated variable (here v_Antwerpen) will be different from 0, and the ELSE action will be executed. This action rewinds the timeline.
If the click box hasn't been clicked yet, following actions are executed:


A similar action has to be created for the Click boxes CB_Limburg, CB_OostVlaanderen en CB_WestVlaanderen. I used the same labels as name for the advanced actions.
The other Click boxes, CB_Brabant, CB_Hainaut, CB_Liege, CB_Namur, CB_Luxembourg will trigger a similar Advanced action, but with decrementing the score. Here is an example (ELSE is the same as for CB_Antwerpen):

Those conditional actions will mark the answers as correct/incorrect by showing the appropriate images. The advanced action EnterIncorrect1 has 4 similar conditions (Brugge, Gent, Antwerpen, Hasselt), because there are 4 answers on this slide, EnterIncorrect2 has 5 similar conditions (Mons, Liege, Namur, Luxembourg, Brabant) . Here are the screenshots for the condition Brugge; the condition is really simple.


This action calculates the percentage:

For those who want to try out the scripting of this tutorial, I included a Start File. In this file you'll find all the slides and objects as described. The variables are created and the normal navigation. You will have to create the Advanced actions and attribute them to the proper events. Success!

This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License