Question
How do I add Javascript to a project so that it works in Flash?
This is an embarrassingly rookie question, but I want to know how to use Javascript in Captivate so that it also works with Flash output.
Let me tell you what I am doing, which works with HTML output:
- There is a text caption on my slide with a custom variable, numberOfClicks as its content. The variable has an original value of "0".
- There is a click box on the slide
- When the click box is clicked, a very simple advanced action is triggered. The advanced action executes the following script in the current window: numberOfClicks = numberOfClicks + 1; I know you can use Adobe's built-in "increment" action for this.
Result - When I preview this in HTML5, you can click the click box and watch the value of the variable increment. When I preview in Flash, the value remains 0 when I click the click box.
How do I get this to work in Flash?
