Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
Thanks for your guide and code Phillip. I used your scorm.as and javascript to run flash in a scorm package. I have adapted your sample file so scores are stored in the moodle gradebook, but I have not been able to export the session time from Flash to the gradebook.
//This is working:
if(success){
success = scorm.set("cmi.core.score.raw", myscore);
}
console("scorm.set('cmi.core.score.raw', myscore): " +success);
//But this is not:
if(success){
success = scorm.set("cmi.core.session_time",
course.session_time);
}
console("scorm.set('cmi.core.session_time',
course.session_time): " +success);
//I have a function which calculates hours, minutes,
//seconds since application started and this is fed
//to the variable course.session_time
course.session_time = hours+":"+minutes+":"+seconds;
Can you suggest anything?
Many thanks
Steve
1 to 1 of 1