Open the demonstration in Adobe Captivate.
Last updated on
Jun 29, 2023
|
Also applies to Captivate
Issue
How do I create a button that will close an Adobe Captivate demonstration, instead of clicking the X button or the exit button on the media playback controls?
Solution
To do this, follow the instructions below:
-
-
Select Insert > Button.
-
In the "On Success" drop-down menu, select "Execute Javascript".
-
In the "Execute Javascript" field, click the '...' button.
-
Copy and paste the following Javascript code into the open dialog box:
javascript:window.close() -
Click OK.
-
Click OK.
Watch the demonstration below for the steps to create a button that will close an Adobe Captivate demonstration.