How can I use API.LMSCommit(”); to check LMS connection?
Hi all,
I want to find a way to use an API.LMSCommit('') call to let my modules check to see that they are still connected to the LMS.
If it is a false boolean then it calls myAlert function to pop up a message to tell the learner they need to reconnect.
Is this the right way to do this? or is there a way to do this already in Captivate 8?
var checked = API.LMSCommit()
if (checked == true){
//do nothing;}
if(checked == false){
import flash.external.ExternalInterface;
ExternalInterface.call("myAlert");
}
Cheers
Luke
