Finally got around to making some Flash files that demonstrate the pipwerks SCORM ActionScript classes. I’ve created examples for both AS2 and AS3. You can get them here.
Both of these examples have been successfully tested using the latest ADL test suites for SCORM 1.2 and 2004.
A word about the code in the Flash examples
I just thought I should point out that there are many ways to build a course in Flash, and the method I used for these examples is just one. I kept it very simple, and wanted to stick to the basics; these examples are designed to show you how easy it is to integrate the SCORM class into a course, and not much else!
There’s a bunch of extra error-checking and debugging code in there to help illustrate the course-to-LMS communication facilitated by the SCORM JS wrapper and AS classes.
Note: Although the ActionScript 2 example uses SCORM 1.2 and the ActionScript 3 example uses SCORM 2004, when creating your own courses with these wrappers, you can mix and match any way you like. You can use AS2 with SCORM 2004 or AS3 with SCORM 1.2… it’s completely up to you.
Comments
ian wrote on February 11, 2008 at 10:49 am:
thanks, philip. i just updated to your newest wrappers this morning and have been having trouble getting everything running smoothly (working in i.e., not in firefox, not on mac, etc…), so hopefully this will help ease the transition.
Philip wrote on February 11, 2008 at 11:22 am:
hi ian
just an FYI: the files are browser-neutral and work in any OS that supports JavaScript and Flash Player 8 (for the AS2 version) or Flash Player 9 (for the AS3 version). i've tested these in Firefox 2 and IE6 (Win XP) with no problems.
tips:
* be sure to initialize the SCORM connection before attempting to communicate with the server.
* remember that in AS3 the term <code>SCORM</code> (all caps) becomes a reserved word. <code>var SCORM:SCORM = new SCORM()</code> will fail, because <code>var SCORM</code> is not allowed (this took me quite a while to figure out!). using a different variable name, such as <code>var scorm</code> (all lowercase) or <code>var mySCORM</code> should work fine.
Christos wrote on September 17, 2009 at 10:00 am:
Hello Philip,
once more thank you million tilmes for an amazing resource and ideas site…..
We couln't ask for more….
I was developing some flash sco's in Scorm 1.2….which worked just fine in reload, moodle etc….but it turns out the content will be uploaded in a blackboard….(universities!!! 🙁 )which it seems it only supports Scorm 2004…!! Am I right on that?
Have you ever tried your code in blackboard….because even Scorm 2004 compliant stuff don't seem to work!!
Frustrated!!!So you got into AS3…quite strict right? Like Scorm 🙂
philip wrote on September 26, 2009 at 1:51 am:
@Christos I don't use Blackboard (and thanks to their penchant for suing anyone and everyone in the LMS business, I will avoid Blackboard for the foreseeable future). I don't know what Blackboard supports, but I'm imagine they must support SCORM 1.2. I would be shocked if they didn't.
If your SCORM 2004 courses aren't working in Blackboard, I'd try double-checking the imsmanifest. It's often the culprit for courses failing when switching from one LMS to another.
RE: AS3, it has its pros and cons. At times I like the strictness because it enforces better coding habits, but I dislike the growing similarity to Java.
Mehmet Tosun wrote on November 9, 2009 at 12:56 pm:
Hi, My first test with Blackboard is successful. I will post my deep testing result here.
Mehmet Tosun wrote on November 14, 2009 at 12:36 pm:
There are some severe problem due to Blackboard side. Some of them were accepted by Blackboard team. For example you couldn't get cmi.learner_name, it return null and blackboard team accept this as a bug. And there are some other problems about progress track. Blackboard team should work harder on scorm compatibility. I will inform you about the progress.
thanks, philip. i just updated to your newest wrappers this morning and have been having trouble getting everything running smoothly (working in i.e., not in firefox, not on mac, etc…), so hopefully this will help ease the transition.
hi ian
just an FYI: the files are browser-neutral and work in any OS that supports JavaScript and Flash Player 8 (for the AS2 version) or Flash Player 9 (for the AS3 version). i’ve tested these in Firefox 2 and IE6 (Win XP) with no problems.
tips:
* be sure to initialize the SCORM connection before attempting to communicate with the server.
* remember that in AS3 the term
SCORM
(all caps) becomes a reserved word.var SCORM:SCORM = new SCORM()
will fail, becausevar SCORM
is not allowed (this took me quite a while to figure out!). using a different variable name, such asvar scorm
(all lowercase) orvar mySCORM
should work fine.Hello Philip,
once more thank you million tilmes for an amazing resource and ideas site…..
We couln’t ask for more….
I was developing some flash sco’s in Scorm 1.2….which worked just fine in reload, moodle etc….but it turns out the content will be uploaded in a blackboard….(universities!!! 🙁 )
which it seems it only supports Scorm 2004…!! Am I right on that?
Have you ever tried your code in blackboard….because even Scorm 2004 compliant stuff don’t seem to work!!
Frustrated!!!
So you got into AS3…quite strict right? Like Scorm 🙂
@Christos I don’t use Blackboard (and thanks to their penchant for suing anyone and everyone in the LMS business, I will avoid Blackboard for the foreseeable future). I don’t know what Blackboard supports, but I’m imagine they must support SCORM 1.2. I would be shocked if they didn’t.
If your SCORM 2004 courses aren’t working in Blackboard, I’d try double-checking the imsmanifest. It’s often the culprit for courses failing when switching from one LMS to another.
RE: AS3, it has its pros and cons. At times I like the strictness because it enforces better coding habits, but I dislike the growing similarity to Java.
Hi, My first test with Blackboard is successful. I will post my deep testing result here.
There are some severe problem due to Blackboard side. Some of them were accepted by Blackboard team. For example you couldn’t get cmi.learner_name, it return null and blackboard team accept this as a bug. And there are some other problems about progress track. Blackboard team should work harder on scorm compatibility. I will inform you about the progress.