Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Adobe Captivate 2019

You're reading from   Mastering Adobe Captivate 2019 Build cutting edge professional SCORM compliant and interactive eLearning content with Adobe Captivate

Arrow left icon
Product type Paperback
Published in Jan 2019
Publisher Packt
ISBN-13 9781789803051
Length 770 pages
Edition 5th Edition
Arrow right icon
Authors (2):
Arrow left icon
Dr. Pooja Jaisingh Dr. Pooja Jaisingh
Author Profile Icon Dr. Pooja Jaisingh
Dr. Pooja Jaisingh
Damien Bruyndonckx Damien Bruyndonckx
Author Profile Icon Damien Bruyndonckx
Damien Bruyndonckx
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Getting Started with Adobe Captivate 2019 FREE CHAPTER 2. Working with Standard Objects 3. Working with Multimedia 4. Working with the Timeline and Other Useful Tools 5. Developing Interactivity 6. Crafting the Graphical Experience with Styles and Themes 7. Working with Quizzes 8. Capturing Onscreen Action 9. Producing a Video Demo 10. Creating a Responsive Project 11. Creating Virtual Reality Projects 12. Using Captivate with Other Applications 13. Creating Accessible eLearning 14. Variables and Advanced Actions 15. Finishing Touches and Publishing 16. Other Books You May Enjoy

Creating Captivate Variables

First, you must create two additional User Variables in the takeTheTrain.cptx project by using the following steps: 

  1. Return to the Chapter14/takeTheTrain.cptx file.
  2. Use the Project | Variables menu item to open the Variables dialog.
  3. Click the Add New button to create a new User Variable.
  1. Name the variable v_randomSuccess and leave the value field empty.
  2. Click the Save button to save the new variable.
  3. Repeat the same procedure to create the v_randomFailure variable.
  4. Close the Variable dialog when done.

You now have two additional variables in your project. These two variables will be used to store the random success and failure messages that will be generated by the JavaScript function. The next step of this process is to create the necessary pools of messages using JavaScript arrays.

JavaScript is case-sensitive
When performing this exercise, be aware that JavaScript is case-sensitive. Make sure that you create variables that have the exact...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime