Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 87158

Is it possible to access an object inside a Captivate movie from Javascript?

$
0
0

For example, my JavaScript performs some processing, based on which a particular button inside the movie needs to be hidden. Can I access a particular button from JavaScript to be able to do this? If not, then is it possible to be notified inside the Captivate movie, when a variable has been set by JavaScript?  I notice that the JavaScript interface in Captivate 8 provides an event (CPAPI_VARIABLEVALUECHANGED) which fires when the value of a variable inside the Captivate movie changes. If there was a similar event which would fire inside the Captivate movie, when a variable changes then I could have set a variable using JavaScript and hidden a particular button using an advanced action, when the event for that variable changing fires inside the Captivate movie.

 

Articulate Storyline has an event which gets triggered when the value of a variable changes (either because of JavaScript executing or otherwise). If something similar was possible in Captivate, it would open up many possibilities.

 

I am evaluating Captivate 8.

 

Thanks in advance for any help.


Viewing all articles
Browse latest Browse all 87158

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>