Flash demos for SCORM ActionScript classes now available
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.
February 11th, 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.
February 11th, 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 SCORM (all caps) becomes a reserved word. var SCORM:SCORM = new SCORM() will fail, because var SCORM is not allowed (this took me quite a while to figure out!). using a different variable name, such as var scorm (all lowercase) or var mySCORM should work fine.