hi jason
the pipwerks SCORM wrapper and SCORM ActionScript classes only provide
a way to make the SCORM calls; whatever calls you want to make need to
use the syntax provided in the SCORM reference, such as
"cmi.comments_from_learner.0.comment"
for example, in SCORM 2004 you'd use cmi.comments_from_learner like this:
scorm.set("cmi.comments_from_learner.0.comment", "your first comment here");
scorm.set("cmi.comments_from_learner.1.comment", "your second comment here");
var firstcomment:String = scorm.get("cmi.comments_from_learner.0.comment");
//trace(firstcomment) should return "your first comment here"
note that comments_from_learner is an array. see section 4.2.2 of the SCORM 2004 Run-Time Environment manual for more details.
as for comments_from_lms, the documentation is very vague about how it works, and comments_from_lms is NOT mandatory for SCORM conformance. this means it's probably not a good idea to rely on it, since it may not be available in all LMSs and might work differently from system to system.
if anyone else has insight into comments_from_lms, i'd love to hear about it.
- philip