In SCORM 2004, in Learn.com, which Taleo bught, and then Oracle bought, data is stored in a temporary table. The way the data gets commited to a permanent table is when the exit is set to suspend. If the course blows up, the progress is still saved. Another thing, don't make any calls when a swf or a video is loading. All initialization really should take place before the captivate swf is loaded. In all of our functions we set the exit to suspend like this in the setValue function: function doSetValue(name, value) { var api = getAPIHandle(); if (api == null) { //alert("Unable to locate the LMS's API Implementation.\nSetValue was not successful."); return; } else { var result = api.SetValue(name, value); api.SetValue("cmi.exit", "suspend"); doCommit(); if (result.toString() != "true") { var err = ErrorHandler(); result = err; } } return result; } else { var win=window.open("","_top","","true"); win.opener = true; win.close(); } } }
... View more