Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorphilip
    • CommentTimeMay 22nd 2008
     
    Garth writes:


    Message: Hi Phillip,

    I can't tell you how excited I was to find your source code for AS3 that could talk to both the Scorm 1.2 and 2004 standard. I have been testing your code using the Blackboard system. Everything seems to work up to a point. I realized that the SCORM version was set in the html document so once I changed that in your example I was able to find the 1.2 SCORM API. I am using your demo file called ActionScript 3.0 SCORM demo. We are in Blackboard CE 6 so they are using SCORM 1.2. The problem I ran into is when the get call is first initiated to get the completion status of the learning object on line 62 of the Flash File AS code. The call is as follows:

    course.lesson_status = scorm.get("cmi.completion_status");

    This call fails with a 201 Error from Blackboard and says the following:

    Scorm.data.get(("cmi.completion_status") failed
    Error Code 201
    Error info: Invalid Arguement Error.

    Are the call arguements to the 1.2 API different than the 2004? I want to basically set up another static class file with constants so these arguements will be correct for 1.2 version or the 2004 version.

    I really appreciated that you code allowed the app to adapt to either version, but for future developers who may support my code later I want to insure they have constants that can be called. Thank you for any assistance. Excellent work.


    Hi Garth

    Thanks.

    SCORM 1.2 and SCORM 2004 use different syntax, so you definitely need to change the strings before submitting them.

    For example, in SCORM 1.2 the lesson status is "cmi.core.lesson_status", but in SCORM 2004 its "cmi.completion_status". The learner name is stored as "cmi.core.student_name" in SCORM 1.2, but is stored as "cmi.learner_name" in SCORM 2004.

    The ADL has documentation for SCORM 1.2 on their web site (the zip download contains a PDF named "SCORM_1.2_RunTimeEnv.pdf"; this file contains all the info you need).

    - philip