Passing Captivate 5 variable to Lectora
March 6, 2012 12:00 AM
Hi Everyone,
I have been reading the forums for days and have tried every single suggestion but I still cannot get my captivate to work with Lectora. Basically, I would like to send a completion score to Lectora so that it will update the LMS variable based on assessment created in Captivate. For some reason, the javascript will not work in PC. As part of my troubleshooting process, I have created an alert on the first slide just to see if lectora reads it or displays it. The alert works great on Safari on my Mac, but the second I import the swf into Lectora, there is no alert. I also try running the swf in IE on its own, and still no alert.
I have also tried all the commands to update the variable, and it just does not update. Here are the variations of javascript that I have tried within Captivate. I am using Captivate 5.0 with Lectora X.6.
javascript:alert('test');
"javascript:alert('test');"
javascript:alert("test");
alert('test');
And to set the variable called _variablex I have tried the following:
Var_variablex.set('completed');
javascript:Var_variablex.set('completed');
javascript:Var_variablex.set("completed");
Var_variablex='completed';
Var_variablex="completed";
If anyone has any solutions or ideas, I would be so grateful and I am sure others will be as well. I know that I am not the only one out there with this issue.
If you need more information, I would be happy to provide it. If I find a solution, I will post it here as well to hopefully save someone the headache of scouring the web to no avail.
Thanks again! :o
Discussions have been disabled for this post