A vendor had built courses for us a few years ago. There are
5 modules. The courses are SCORM and are tracked in the LMS from
Learn.com.
We recently had 60 students sign up for a course, but they
are not getting completion tracking for 4 of the 5 modules. The
students are using IE7 and Flash Player 9.
Completion works for the module where the completion code is
send from an HTML page. The completion does not work from any of
the pages where the completion is sent from Flash. The flash files
were coded with AS2, here is the code on the "Finish Button":
finishBtn.onPress = function()
{
import flash.external.ExternalInterface;
ExternalInterface.call("modCompCall");
trace (score);
trace (maxScore);
_root.finalScore = int((_root.score/_root.maxScore) * 100);
trace (finalScore+"final");
getURL("javascript:var value =
mm_adl_API.LMSSetValue('cmi.core.lesson_status', 'completed')");
var mycall:String;
mycall = "javascript:var value =
mm_adl_API.LMSSetValue('cmi.core.score.raw', '";
mycall = mycall.concat(finalScore);
mycall = mycall.concat("');");
getURL(mycall);
trace(mycall);
trace(finalScore);
}
Does anyone know if this problem is caused by the getURL
function?
We do not know when this problem appeared as no one has
registered for this course for over 2 years.
This is the code from the HTML page that works...
<input type="button" name="mm_finishBtn" value="Finish
Lesson" onClick="modCompCall()">
and the supporting .js function:
function modCompCall() {
if (mm_adl_API != null){
// set status
mm_adl_API.LMSSetValue("cmi.core.lesson_status",
"completed");
}
Thanks in advance for any ideas.
Text