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

Creating pools of messages

To create pools of messages, we will use two JavaScript arrays. To make a long story short, a JavaScript array is a variable that has the ability to contain multiple pieces of data. Each piece of data in a JavaScript array is stored at a specific and unique index within the array. 

Use the following steps to create the necessary arrays:

  1. Return to the Chapter14/takeTheTrain.cptx file.
  2. Use the Filmstrip to go to the first slide of the project.
  3. Make sure that the slide is selected and open the Properties inspector.
  4. In the Actions tab of the Properties inspector, open the On Enter drop-down menu.
  5. Select Execute JavaScript in the list of actions.
  6. Click the Script Window button.

This action opens an empty JavaScript window. It is in this window that you can write the JavaScript code that you want Captivate to execute when entering the first slide of the project. In this example, the JavaScript code has already been written for you, so you will simply...