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.
    • CommentAuthoraubreyja
    • CommentTimeMay 9th 2008
     
    Hi -

    Thanks for making these as3 scorm classes available and for the helpful tutorials. I have an xml based quiz app I've made in flash cs3, and I would like to rig it up to communicate via scorm with an LMS. Thanks to your tutorials, I have a basic understanding of how to communicate with an lms using your as3 classes and the javscript file. My question is, let's suppose I have a student's quiz score upon completion stored in a variable, say totalScore. How do I send totalScore to the lms's gradebook?

    Sorry if this has been covered elsewhere, if so I would appreciate it if you could point me there.

    Thanks again for all of the great resources!

    Jason Aubrey
    • CommentAuthorphilip
    • CommentTimeMay 9th 2008
     
    Use score.raw to store the learner's score, and score.min & score.max to tell the LMS what the possible range is. Depending on the version of SCORM you're using, the syntax would either be:

    SCORM 1.2

    cmi.core.score.raw
    cmi.core.score.min
    cmi.core.score.max


    SCORM 2004

    cmi.score.raw
    cmi.score.min
    cmi.score.max


    When using one of my ActionScript classes, you'd use the syntax:


    scorm.set("cmi.core.score.raw", String(totalScore)); //SCORM 1.2
    scorm.set("cmi.score.raw", String(totalScore)); //SCORM 2004


    Note the conversion of your totalScore number/int to a string; the SCORM gets/sets all values in string format.

    If you use score.raw, you need to also use score.min and score.max to establish what the possible score range is. For instance, if your quiz has a max score of 33, you'd do this (probably at the beginning of the quiz or beginning of the course):


    //SCORM 1.2
    scorm.set("cmi.core.score.min", "0");
    scorm.set("cmi.core.score.max", "33");

    //SCORM 2004
    scorm.set("cmi.score.min", "0");
    scorm.set("cmi.score.max", "33");


    Here are the links to the SCORM documentation; the respective "RunTimeEnv" PDFs contain information about score.raw.
    SCORM 2004 documentation: http://adlnet.gov/downloads/DownloadPage.aspx?ID=237
    SCORM 1.2 documentation: http://adlnet.gov/scorm/history/Scorm12/Documents.aspx
    • CommentAuthorhemantam
    • CommentTimeMay 26th 2008
     
    Hi, I am trying to receive scores of the quiz at end of a course
    I am using AS2 implementation of yours.
    I have attached the FLA here.
    You can download it from
    www.infowareindia.net/scorm/quiz.zip
    Please help me.
    This is very urgent.
    Why I am not receiving any score in the LMS?
    Hemant
    • CommentAuthorphilip
    • CommentTimeMay 26th 2008
     
    easy... your file is not configured to use my SCORM class.

    you have to import the class, you need to make sure the JavaScript wrapper is linked in your HTML, you have to use the proper sequence for calls to the LMS, beginning with connect end ending with terminate, and you have to have an imsmanifest.

    please follow the code in my tutorial.
    • CommentAuthormarka
    • CommentTimeJun 13th 2008
     
    Hi, I'm completely new to LMSs and I'm trying to create flash quizes in Blackboard using your API Wrapper (version 1.2). I've managed to set up a working quiz and submit the grade at the end, however I'd also like to save the response to each individual question and I haven't figured out how to do that in Blackboard - the grade book simply saves a final grade.

    I've looked through the SCORM API and it contains calls that should allow setting of marks for individual questions (cmi.interactions). For example, the following code, if entered in a flash quiz, looks like it should enter a "true" response for "q1" for a student, and then mark it as "correct":

    scorm.set("cmi.interactions.0.id","q1");
    scorm.set("cmi.interactions.0.type","true-false");
    scorm.set("cmi.interactions.0.student_response","1");
    scorm.set("cmi.interactions.0.result","correct");

    I've tried this code in a Flash quiz uploaded as a SCORM module and ran it as a Learning Module in Blackboard. It doesn't throw any errors, but it also doesn't seem to save the result for "q1" anywhere. I guess I kind of expected this because there is no place in the Gradebook for question responses, only the final quiz grade.

    There is, however, the ability to save question data in the "Assesments" area, but I haven't been able to figure out how to use a SCORM module as an assessment.

    Is what I'm trying to do at all possible? It seems the API allows for it.
    • CommentAuthorphilip
    • CommentTimeJun 18th 2008
     
    hi marka

    sorry i took so long to respond.

    if i understand you correctly, you're trying to report the interaction data.

    cmi.interactions.n.student_response is write-only and used to store the actual response from the student. this data (and all other SCORM-specific data) is typically stored in a "cmi" table in the LMS database.

    i don't know whether Blackboard is set up expose all SCORM-related data (which would allow you to run reports on custom SCORM data), but if you have direct SQL access to the database, you could run a custom report *outside* of Blackboard.

    note also that SCORM's "cmi.interactions" functionality is not "LMS Manadatory", which means LMS vendors can choose to implement all, none, or part of the functionality, as they see fit. this means you can't always expect cmi.interactions to work in every LMS.

    hope that helps

    - philip