LMSCommit()
January 11, 2006 12:00 AM
I did a test in our LMS and found out that it doesn't work with just an LMSCommit() call. Evidently the SCORM API is smart enough to realize that nothing has changed and therefore it's not going to write anything. What does work is this:setInterval("computeTime();LMSCommit()", 5000)This code grabs the Time in the SCO (which is constantly changing) and commits the cmi variable to the LMS. It can be inserted into an external HTML object on the page running a Captivate movie (or Flash, or FireFly, or ...) if you need to "hit" the LMS periodically to keep it from timing out.Just set 5000 to an appropriate number of miliseconds (I will probably set it to something like 300000 so that it only posts the data every 5 minutes).Hope this helps -- it certainly saved the day for me -- or at least reduced a lot of time I would have had to spend cutting my movies into smaller pieces!Thanks,ChrisEdited By: chris.charles on 2006-1-11 10:5:16
Discussions have been disabled for this post