Thank you, Philip.
I should have read the documentation on 'browsed' more carefully - I
completely misunderstood it.
My units are a multiple sco with one manifest. I have each (flash)
unit in a separate html file with your SCORM wrapper. So if the
learner passed the quiz in unit 1 I was setting the status to 'passed'
then disconnecting. If they then move into unit 2 that html page
initializes a new SCORM object.
However I've just tried getting rid of the disconnect() as you
suggest. And it seems to work fine (the 'passed' status does not get
overwritten by the 'completed' status that is set when they move to
the last screen of each unit). I don't quite understand why it's
working as the LMS does not disconnect following the 'passed' as you
said they sometimes do.
This is what the debug window prints when moving from the quiz to the
resources screen (not expecting you to analyse this!):
SCORM: LMSSetValue ('cmi.core.score.raw','00')
SCORM: LMSSetValue ('cmi.interactions.0.result','correct')
SCORM: Interaction 0's result updated
SCORM: LMSSetValue ('cmi.interactions.1.result','correct')
SCORM: Interaction 1's result updated
SCORM: LMSSetValue ('cmi.interactions.2.result','correct')
SCORM: Interaction 2's result updated
SCORM: LMSSetValue ('cmi.interactions.3.result','correct')
SCORM: Interaction 3's result updated
SCORM: LMSSetValue ('cmi.interactions.4.result','correct')
SCORM: Interaction 4's result updated
SCORM: LMSSetValue ('cmi.core.score.max','100')
SCORM: LMSSetValue ('cmi.core.score.raw','100')
SCORM: LMSSetValue ('cmi.core.lesson_status','passed')
SCORM: LMSCommit()
SCORM: LMSSetValue ('cmi.core.lesson_location','resources.swf')
SCORM: LMSSetValue ('cmi.core.lesson_status','completed')
SCORM: LMSSetValue ('cmi.core.session_time','00:00:38')
SCORM: LMSSetValue ('cmi.suspend_data','1,1,1,1,1,1,1,1,1,1,1,1')
SCORM: LMSCommit()
SCORM: LMSSetValue ('cmi.core.exit','logout')
SCORM: LMSFinish() called
SCORM: LMSInitialise()
The above is from Dokeos which is not actually the LMS I'm building
for but it seems to handle SCORM in a similar way. So hopefully this
will work for us. I think I'll steer clear of cmi.core.credit or
anything beyond the minimum until I know what I'm doing. I really
just need to record if each person has looked at the unit and whether
they passed the quiz.
Thanks again for your help!
Ian
> > >
elearning-technology-and...@googlegroups.com<
elearning-technology-and-development%2Bunsu...@googlegroups.com>
> > .
> >
elearning-technology-and...@googlegroups.com<
elearning-technology-and-development%2Bunsu...@googlegroups.com>
> > .