I'm putting together a self-paced web-based training course for how to order textbooks using a PeopleSoft application. I'm using Lectora to develop a SCORM package that will eventually be imported and used in the LMS. The course will contain several simulations I am creating in Captivate 3.
So far I've found Lectora to be a good course development tool. There is definitely room for improvement but it is meeting my needs right now. The problem I am facing now is how to communicate with the flash objects I use in Lectora. Specifically, I want to find the status and grade that the flash application has assigned to the learner. I am trying to use some flash I've created in Articulate Quizmaker and Captivate. For now, I'm focusing on the Captivate integration.
Currently I see a few ways to integrate:
1) Use the
e-mail command in Captivate and overwrite the JavaScript function for sending the mail to instead write out to variables I create in Lectora. See
Topic: Captivate to Lectora Instructions on the Trivantis Community Forum. This looks very promising but is a hack and I'd prefer to avoid hacks if possible.
2) Use Javascript calls from within Captivate to write to variables in Lectora. This may be a better route but I'm still trying to get this to work. In theory it should be working but instead of writing to the variable, it is writing to the screen as a new HTML page. I know that sounds bazaar and I expect after a little more trial and error I'll have found out how to accomplish this.
3) Call a Javascript flash API from Lectora to pull the values out of the flash object. This is the preferred method because all the logic can stay in Lectora which is my main authoring tool.
There is some documentation that I can't seem to find that would help me in these tasks. For #2, it would be nice to have a Lectora developer's guide that would list what Javascript calls I can make. For example, unless you inspect the behind the scenes code, you won't know that Lectora attaches a "Var" prefix to its variables in Javascript. So, test1Score becomes Vartest1Score. These are important things to know! Also, apparently I there are calls to advanced to the next page, exit, and so forth. I need some documentation on this. Next step...contact Lectora Support.
For #3, I need a Captivate developer's guide that tells me how to extract variables out of a Captivate flash object from Javascript.
So, I've got some tasks ahead of me. Any advice is appreciated.