January 21, 2017
Multiple Failure messages for Drag&Drop KC slide
Comments
(0)
January 21, 2017
Multiple Failure messages for Drag&Drop KC slide
Lieve is a civil engineer (ir) and a professional musician. After years of teaching and research (project management/eLearning/instability) she is now a freelancer specializing in advanced Adobe Captivate as trainer and consultant. Her blog is popular with Captivate users worldwide. As an Adobe Community Expert and Adobe Education Leader, she has presented both online and offline. Since 2015 she is moderator on the Adobe forums and was named as Forum Legend (special category) in the Wall of Fame. In 2017 Adobe Captivate users voted for Lieve as a Top Content Experience Strategist.
Legend 245 posts
Followers: 410 people
(0)

Intro

This article is written as an answer to a question on the forums: Drag&Drop with Advanced Action

For quiz slides it is possible to show different Failure messages based on the attempt number. That functionality is not available for Drag&Drop slides. As you can read in the thread, another user posted a solution using the Object actions which are executed after each drag action.  I posted some comments about the limitations of that solution. In this article the described solution is similar to what happens on other KC slides: the failure messages will appear after clicking the (default) Submit button. This work flow is only valid for Knowledge Check slides, which was the goal of the user on the forum. As you can read in one of my former blog posts, a D&D slide which is not scored, is reset automatically when leaving the slide. This functionality is used here.  I used the InBuilt states for the drop target, as described in this post.

Example movie

You can watch the result, an interactive movie, on my blog, Feedback depending on attempt for D&D

The cptx-file has 4 slides: Title slide, a dummy slide (see below), the Drag&Drop slide and End slide.

Setup Drag&Drop Slide

The Drag&Drop slide’s Timeline looks like this screenshot:

From Bottom to Top you find these object timelines:

  • DragOne, DragTwo and DragThree which are the 3 Drag sources. Those objects have only one extra InBuilt state: the transparent DragOver State. D&D is set up so that the drag sources disappear behind the drop target.
  • DropContainer which is the unique Drop Target. It has 3 states as you see in this State panel
  • Text Tx_Question which has the Question
  •  Gr_Feedback with several objects; the whole group is hidden in Output
    • I_Fail and I_Success are the two sticky images
    • Shape button SB_Continue with a pausing point at 2 secs, which is later than the (default) pause of the D&D (1,5secs)
    • FB_One, FB_Two and FB_Three are the failure feedback messages for the 3 possible failures. The first two have an inserted variable v_attempt.

You don’t see a Success feedback on the timeline, because I kept the default Success message for the D&D slide (unchecked the Failure message); That Success message has just be styled (freeform shape).

The D&D panel, tab Actions has been set up as visible in this screenshot. Although the user provides 3 attempts, you see that I set the attempts to 1 in this panel:

0 Comments
Add Comment