Hi John

I recently wrote a revised SCORM API wrapper that works with SCORM 1.2
and 2004 (http://pipwerks.com/lab/scorm/).

The SCORM wrapper is JavaScript and handles the communication with the
LMS. To get Flash to interact with the wrapper, you need to use
ExternalInterface. An example (in this case, SCORM 1.2) would be:

getting data:

var studentName:String = ExternalInterface.call("SCORM.data.getValue",
"cmi.core.student_name");

sending data:

ExternalInterface.call("SCORM.data.setValue",
"cmi.core.lesson_status", "incomplete");

or

var success:Boolean = ExternalInterface.call("SCORM.data.setValue",
"cmi.core.lesson_status", "incomplete");

instructing the LMS to do something:

ExternalInterface.call("SCORM.connection.initialize");

or 

var success:Boolean =
ExternalInterface.call("SCORM.connection.initialize");


Hope that helps.  :)
- philip



--- In flexcoders@yahoogroups.com, "John" <[EMAIL PROTECTED]> wrote:
>
> Hi there, Has anybody achieved or got any advice on SCORM'ing a Flex 
> package? 
> 
> Thanks in Advance, John
>


Reply via email to