In this chapter, you will take advantage of the scripting capabilities of HTML5 and Flash. The HTML5 technology includes a programming language named JavaScript. When publishing a Captivate project in HTML5, a lot of JavaScript code is generated behind the scenes. It is the web browser that executes this JavaScript when the project is played back by the learner. If you decide to publish your projects in Flash, Captivate generates a lot of ActionScript code instead. It is the Flash Player that executes this ActionScript code at runtime.
Captivate exposes part of this scripting technology to the eLearning developer. Now let's be honest – most eLearning developers won't actually be writing real JavaScript or ActionScript in Captivate (being an ActionScript or JavaScript developer requires proper training and solid programming...