Version history

Current version: 1.1.7 (May 19, 2008)

Version 1.1.7

Version 1.1.6

Removed extra code from debug section, including unneccessary Firebug code and the optional “class” parameter from SCORM.debug.displayInfo(msg, htmlclass).

Version 1.1.5

Version 1.1.4

New feature: the ability to specify what version of the SCORM API should be used. Declare before initializing. Syntax: SCORM.version = "1.2";

Version 1.1.3

  1. Added SCORM.isAvailable() function; This allows Flash’s ExternalInterface to confirm the presence of the JavaScript wrapper before attempting any LMS communication. Parameters: none. Returns: Boolean (static, true).
  2. Fixed an important typo: I had forgotten the empty quotes in LMSCommit(”") and Commit(”").
  3. Removed a few lines of old debugging code
  4. Added simple check for Firebug console; allows user to enable Firebug console support while avoiding errors in browsers not equipped with Firebug.
  5. Added optional “class” parameter to SCORM.debug.displayInfo(msg, htmlclass). This allows Flash users to apply an HTML class to the debug text via a span element. Why? When using the DOM to view debugging messages from both the JS wrapper and the Flash classes, it helps to be able to color-code them to easily distinguish the source of the message.

Version 1.1.2

Version 1.1.1

Found a small bug when using the wrapper with Flash (AS2): functions that return string values (such as SCORM.data.get()) were coming out ‘undefined’. Explicitly typing the return value as a string seems to make Flash happy.  return String(value);

Version 1.1

  1. Fixed a few typos in debug statements
  2. Added extra error-checking during SCORM.connection.initialize; if connection cannot be made AND no error code is given, display notice that server has not responded