Close
Search
logo
Sign In
Blogs
eLearning Resources
Interactive eLearning
Video-Based Learning
Mobile Learning
Accessibility
Virtual Reality
Adobe Learning Manager
Events and Announcements
Screen Capture
All Blogs
Free Projects
Adobe Captivate
Adobe Captivate Classic
Learning Hub
Adobe Captivate
Adobe Captivate Classic
Discussions
Tutorials
Adobe Captivate
Adobe Captivate Classic
Webinars
Notification
Join Community
logo
  • Blogs
    • eLearning Resources
    • Interactive eLearning
    • Video-Based Learning
    • Mobile Learning
    • Accessibility
    • Virtual Reality
    • Adobe Learning Manager
    • Events and Announcements
    • Screen Capture
    • All Blogs
  • Free Projects
    • Adobe Captivate
    • Adobe Captivate Classic
  • Learning Hub
    • Adobe Captivate
    • Adobe Captivate Classic
  • Discussions
  • Tutorials
    • Adobe Captivate
    • Adobe Captivate Classic
  • Webinars
Join Community
Sign In
Close
Search
  • Blogs
  • Blogs
  • Interactive eLearning
  • Advanced actions
  • Two Failure messages for (shape) button.
HIGHLIGHT
SHARE
  • HIGHLIGHTED
    SHARE
  • +1
    SHARE
  • Two Failure messages for (shape) button.
    January 17, 2023
    Lieve Weymeis Follow
    Two Failure messages for (shape) button.
    January 17, 2023
    Lieve Weymeis
    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: 424 people
    Follow
    Lieve Weymeis Follow
    0
    0
  • Summary

    Answer to a forum request: need to show two different Failure messages for the two attempts on a shape button. First failure should show a Hint message and an arrow pointing at the correct spot, second would confirm failure and advance.

    Intro

    Coincidence because this blog, answer to another forum question, is an alternative workflow to my most recent blog post about Software Simulation Assessments.

    Summary of the request:

    • Learner needs to click a specific region, two attempts are allowed
    • On Success the Success message appears and the project advances to the next slide.
    • On First failure a Hint message appears and an arrow indicates where to click. Moreover a Retry button appears.
    • When the Retry button is clicked the Hint text and arrow should disappear.
    • If second attempt is successful, Success message appears and the project advances to the next slide.
    • If the second attempt is failed, a Sorry message appears with a Continue button to go to the next slide.

    Contrary to the previous article, the slide is created manually (no click boxes are added automatically as in a simulation). For that reason I preferred shape buttons over click boxes. A shape button can be made invisible by setting Opacity and Stroke to zero.

    The same idea is at the origin of the workflow: at the bottom of the Timeline, a shape button (invisible to the learner) covering the full slide is added. Have a look at this screenshot of the Timeline of the first slide (Flags):

    The Success event of this big shape button will trigger the FailureAct action to show the Failure messages.

    Sample project

    Play

    The Timeline screenshot of the first slide (Flags) shows the objects on this slide, from bottom to top:

    • The shape button covering the slide SB_Back. This button will trigger an advanced action ‘FailureAct’ with the Success event!
    • Gr_Flags groups the four flag images
    • Title which function as instruction
    • A multistate shape SS_Failure. The normal state is invisible (same as the shape buttons), it has a state for the two Failure situations. The Hint message is stored in a user variable v_hint. Reason: this allows to time this message shape for the rest of the project. The workflow is needed in a sequence of similar slides, message can be hidden when no longer needed.
    • Shape button SB_Next, also a multistate object. I took out the Rollover and Down states, but it has a custom state ‘Second’ where the label changed to ‘Continue’.

    • Shape button SB_Flags, multistate object where the custom state ‘Indicator’ adds the arrow pointing to the correct location. This shape button is ‘invisible’ and over the Belgian flag on the first slide, over Portugal in the second slide (see screenshot belos). One of the advantages of shape buttons over click buttons: they can have custom states, and you can edit the form, needs not to be a rectangle:

    • The Text caption is added to show the state of the variable v_attempt. It is part of the debugging workflow, and I forgot to hide it before publishing.

    Step-by-step

    Variables

    Two user variables are needed:

    1. v_attempt: has a start value of 0 and will be incremented on each failure (which is a click on the button SB_Backx).
    2. v_hint: will store the text to appear on the Hint message (first failure). Careful: you will need to increase the Maximum length of the inserted variable because 50 (default length) will not be sufficient in most cases.

    FailureAct (Advanced Action)

    This action is triggered by the Success event of the shape button SB_Back. The OP preferred to avoid Shared actions. You can assign this action to that shape button on the first slide, but you’ll need a duplicate advanced action for each slide, because the color marked items need to be changed:

    CleanAct (Advanced Action)

    Action triggered by the Success event of the shape button SB_Next. Similar to the previous action, you’ll need a duplicate action for each slide. The to be edited items are marked in color.

    EnterAct (Shared Action)

    It is a very simple shared action, with only one parameter. The text of the Hint is the parameter (literal). The reset of the other items has been done or is automatically happening because the option ‘Retain State on Slide Revisit’ is unchecked  for the multistate objects which is the default.

    The following screenshot shows how the ‘{P}’ button is clicked and opens the Parameters dialog box where you enter the parameter:

    Success?

    For the Success situation I just kept the default Success message. This is the Actions tab for the shape button SB_Flags and similar:

    Two messages are allowed, Success ‘caption’ (is a shape) is activated, and the Last Attempt action is set to ‘No action’

    Overview

    The Advanced Interaction panel shows which actions are attached to which events:

    Upvote 0

    Intro

    Coincidence because this blog, answer to another forum question, is an alternative workflow to my most recent blog post about Software Simulation Assessments.

    Summary of the request:

    • Learner needs to click a specific region, two attempts are allowed
    • On Success the Success message appears and the project advances to the next slide.
    • On First failure a Hint message appears and an arrow indicates where to click. Moreover a Retry button appears.
    • When the Retry button is clicked the Hint text and arrow should disappear.
    • If second attempt is successful, Success message appears and the project advances to the next slide.
    • If the second attempt is failed, a Sorry message appears with a Continue button to go to the next slide.

    Contrary to the previous article, the slide is created manually (no click boxes are added automatically as in a simulation). For that reason I preferred shape buttons over click boxes. A shape button can be made invisible by setting Opacity and Stroke to zero.

    The same idea is at the origin of the workflow: at the bottom of the Timeline, a shape button (invisible to the learner) covering the full slide is added. Have a look at this screenshot of the Timeline of the first slide (Flags):

    The Success event of this big shape button will trigger the FailureAct action to show the Failure messages.

    Sample project

    Play

    The Timeline screenshot of the first slide (Flags) shows the objects on this slide, from bottom to top:

    • The shape button covering the slide SB_Back. This button will trigger an advanced action ‘FailureAct’ with the Success event!
    • Gr_Flags groups the four flag images
    • Title which function as instruction
    • A multistate shape SS_Failure. The normal state is invisible (same as the shape buttons), it has a state for the two Failure situations. The Hint message is stored in a user variable v_hint. Reason: this allows to time this message shape for the rest of the project. The workflow is needed in a sequence of similar slides, message can be hidden when no longer needed.
    • Shape button SB_Next, also a multistate object. I took out the Rollover and Down states, but it has a custom state ‘Second’ where the label changed to ‘Continue’.

    • Shape button SB_Flags, multistate object where the custom state ‘Indicator’ adds the arrow pointing to the correct location. This shape button is ‘invisible’ and over the Belgian flag on the first slide, over Portugal in the second slide (see screenshot belos). One of the advantages of shape buttons over click buttons: they can have custom states, and you can edit the form, needs not to be a rectangle:

    • The Text caption is added to show the state of the variable v_attempt. It is part of the debugging workflow, and I forgot to hide it before publishing.

    Step-by-step

    Variables

    Two user variables are needed:

    1. v_attempt: has a start value of 0 and will be incremented on each failure (which is a click on the button SB_Backx).
    2. v_hint: will store the text to appear on the Hint message (first failure). Careful: you will need to increase the Maximum length of the inserted variable because 50 (default length) will not be sufficient in most cases.

    FailureAct (Advanced Action)

    This action is triggered by the Success event of the shape button SB_Back. The OP preferred to avoid Shared actions. You can assign this action to that shape button on the first slide, but you’ll need a duplicate advanced action for each slide, because the color marked items need to be changed:

    CleanAct (Advanced Action)

    Action triggered by the Success event of the shape button SB_Next. Similar to the previous action, you’ll need a duplicate action for each slide. The to be edited items are marked in color.

    EnterAct (Shared Action)

    It is a very simple shared action, with only one parameter. The text of the Hint is the parameter (literal). The reset of the other items has been done or is automatically happening because the option ‘Retain State on Slide Revisit’ is unchecked  for the multistate objects which is the default.

    The following screenshot shows how the ‘{P}’ button is clicked and opens the Parameters dialog box where you enter the parameter:

    Success?

    For the Success situation I just kept the default Success message. This is the Actions tab for the shape button SB_Flags and similar:

    Two messages are allowed, Success ‘caption’ (is a shape) is activated, and the Last Attempt action is set to ‘No action’

    Overview

    The Advanced Interaction panel shows which actions are attached to which events:

    Upvote 0
    Share
    Advanced Actions
    blog
    custom feedback
    interactive elearning
    multistate objects
    Shared Actions
    Variables
    Like
    (0)
    Comments
    (0)
    Share
    LinkedIn
    Twitter
    Facebook
    Email
    Lieve Weymeis
    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: 424 people
    Follow
    Lieve Weymeis Follow
    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.
    Like
    (0)
    Comments
    (0)
    Share
    LinkedIn
    Twitter
    Facebook
    Email
    Cancel

    You must be logged in to post a comment.

    All Comments
    Sort by:  Most Recent
    • Most Recent
    • Most Relevant
    Share
    You might also like
    Other topics
    Adobe Learning Manager
    Virtual Reality
    Mobile Learning
    Video-Based Learning
    Adobe Captivate
    Download free 30-day trial of
    Adobe Captivate

    Free Trial
    Adobe Events
    Check out our upcoming webinars
    and workshops
    Register now
    Follow
    Two Failure messages for (shape) button.
    0
  • Follow
    0
  • Looking for some information...
    Subscribe to our newsletter
    The Adobe family of companies may keep me informed with personalized emails about ELearning Community Content and News. See our Privacy Policy for more details or to opt-out at any time.
    Subscribe
    Enter a valid email address
    Thank you for subscribing to our newsletter
    Blogs
    Learning Hub
    Tutorials
    Free Projects
    Discussions
    © 2025 Adobe. All rights reserved. Privacy Terms of Use Cookie preferences Contact Us Do not sell or share my personal information