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.
    • CommentAuthorshoban
    • CommentTimeJul 18th 2008
     
    Hi All,

    I want to know how to do bookmarking facility for my course built in Flash MX 2004 AS 2.0 and it should be SCORM 1.2 compliance.
    • CommentAuthorphilip
    • CommentTimeJul 18th 2008
     
    • CommentAuthorshoban
    • CommentTimeJul 20th 2008
     
    Hi Philip,

    Thanks for the reference link. I will go through the links and start to implement on it.
    • CommentAuthorshoban
    • CommentTimeJul 29th 2008
     
    Hi Philip,

    I have a scorm course built in Flash MX Pro, and i trying to add bookmarking functionality to the course, but it is not working.

    Here is the code of my HTML file, which works as a wrapper for my swf's files.

    <script language="javascript">
    loadPage();//i am calling the swf file in this function before this
    var coreSCOLocation = LMSGetValue("cmi.core.lesson_location");
    if(LMSGetLastError() == 0){
    //coreSCOLocation contains an anchor name defined in the HTML page.

    //start the SCO off where the student left off
    window.location.hash = coreSCOLocation
    }
    else
    {
    //Error Processing
    }



    function calc(status)
    {


    if ( status == 'failed' )
    {

    doLMSSetValue( "cmi.core.lesson_status", "failed" );
    }
    else if ( status == 'passed' )
    {

    doLMSSetValue( "cmi.core.lesson_status", "passed" );
    }

    ****************************************************************

    And in my FLA file I am adding the below code in the 3rd frame:

    var coreSCOLocation = LMSSetValue("cmi.core.lesson_location");
    • CommentAuthorphilip
    • CommentTimeJul 29th 2008
     
    Umm... you're not using any of my code examples (the SCORM wrapper or the SCORM ActionScript file). You're also trying to run JavaScript in your Flash file... you have to incorporate ExternalInterface to do that; that's why I created the SCORM classes for ActionScript. :)

    Try this demo (SCORM 1.2, ActionScript 2)
    http://pipwerks.com/journal/downloads/4

    Then read my documentation.

    http://pipwerks.com/journal/2008/01/25/new-scorm-api-wrapper-for-actionscript-20/
    http://pipwerks.com/journal/2008/04/27/how-to-add-basic-scorm-code-to-a-flash-movie/
    http://pipwerks.com/lab/scorm/wrapper/flash/index.html

    The thing to remember is that you can use my ActionScript class's scorm.get and scorm.set methods for any of SCORM's cmi elements, including cmi.core.lesson_location (the bookmarking data element).

    - philip