Book Image

Mastering Adobe Captivate 2019 - Fifth Edition

By : Dr. Pooja Jaisingh, Damien Bruyndonckx
Book Image

Mastering Adobe Captivate 2019 - Fifth Edition

By: Dr. Pooja Jaisingh, Damien Bruyndonckx

Overview of this book

Adobe Captivate is used to create highly engaging, interactive, and responsive eLearning content. This book takes you through the production of a few pieces of eLearning content, covering all the project types and workflows of Adobe Captivate. First, you will learn how to create a typical interactive Captivate project. This will give you the opportunity to review all Captivate objects and uncover the application's main tools. Then, you will use the built-in capture engine of Captivate to create an interactive software simulation and a Video Demo that can be published as an MP4 video. Then, you will approach the advanced responsive features of Captivate to create a project that can be viewed on any device. And finally, you will immerse your learners in a 360o environment by creating Virtual Reality projects of Adobe Captivate. At the end of the book, you will empower your workflow and projects with the newer and most advanced features of the application, including variables, advanced actions, JavaScript, and using Captivate 2019 with other applications. If you want to produce high quality eLearning content using a wide variety of techniques, implement eLearning in your company, enable eLearning on any device, assess the effectiveness of the learning by using extensive Quizzing features, or are simply interested in eLearning, this book has you covered!
Table of Contents (17 chapters)
7
Working with Quizzes
14
Variables and Advanced Actions

Generating random feedback messages with JavaScript

During the course of this book, you have discovered a lot of objects and interactions that make use of automatic feedback messages. For example, the Question Slides of the Quiz can display a red Failure Caption or a green Success Caption that depends on the answer supplied by the learner.

Using JavaScript, you will randomize these messages. The idea is to provide Captivate with a list of possible Failure and Success messages. When Captivate needs to display a feedback message, it will randomly pick one in the list of available messages and display it to the learner.

Let's start this process by creating two additional user variables in the takeTheTrain.cptx project.

This exercise was inspired by our good friend Phil Cowcill during his session on JavaScript and Captivate at DevLearn 2018. DevLearn is the biggest eLearning conference in North America. If you ever travel to DevLearn, we might have a chance to meet in person! More information...