pipwerks: home

pipwerks

Standards-friendy eLearning and Web development (HTML 5 version)

Posts tagged ‘SCORM actionscript class’

SCORM Tip: Use an onunload handler

What happens if the browser window containing your course is closed by the learner before the course finishes sending data to the LMS? If you’re not careful about how you’ve coded your course, you can lose some of the data.

SCORM Tip: Don’t forget to commit!

A number of people have recently asked me about the scorm.save() function in the pipwerks SCORM wrappers. What is it, and when should it be used?

Ideas wanted for new SCORM wrappers

As you may have read in previous posts or tweets, I’m working on a new SCORM 2004 wrapper for both JavaScript and ActionScript that will contain advanced functionality and improved shortcuts.
For instance, I’m trying to write an easier way to work with the cmi.interactions model, and also trying to add more error-checking that will look [...]

SCORM resources

I recently emailed a shortlist of good SCORM development resources to a colleague, and figured I should probably post a list here, too. This is a quickie list, and I’m sure I’m leaving someone out. If you know of any resources I’ve missed, please add a link in the comments. This list is presented in no particular order.

What do you want *your* SCORM to do?

Most e-learning developers don’t care about SCORM and only (begrudingly) learn enough to get the job done. I don’t blame them. This brings up the never-ending question when it comes to using SCORM in courseware: What are you really trying to do with SCORM?

Extending the SCORM wrapper and ActionScript classes

I’ve had a number of people ask me why I haven’t extended my SCORM helpers (the JavaScript-based SCORM API wrapper and the two ActionScript classes) to completely remove the need to know any of the “cmi” calls. I have three reasons: SCORM is not that simple, the functionality between SCORM versions is significantly different, and extending the helpers that far means writing a complete (non-standardized) replacement syntax for SCORM.

How to add basic SCORM code to a Flash movie

Here’s a quick tutorial for adding basic SCORM functionality to an existing Flash file. This tutorial aims to demonstrate just how easy it can be to add SCORM functionality to an existing Flash movie.

In this tutorial, we’re going to keep things very simple; our SCORM code will only check the LMS for a prior completion, and if no completion is found, will set the course to complete at the appropriate point in the movie.

Please note that this tutorial uses ActionScript 3 and SCORM 1.2, but the same principles apply for ActionScript 2 and SCORM 2004.

Adding SCORM functionality to your existing Flash file

I’m currently working on a tutorial explaining how to add SCORM code to an ordinary Flash file. Here’s a teaser: a very simple Flash movie I made using some images from NASA. It’s called PLANETS!

SCORM ActionScript 3 ZIP file fixed

A few people have contacted me to let me know the ZIP file for the SCORM ActionScript 3 example was missing the FLA file.
Whoopsies!
I’ve added the source files back to the FLA. You can download it from the downloads page.
Thanks to everyone for letting me know. I usually work on this stuff at [...]

Example files for SCORM AS3 class updated

A number of people emailed me reporting problems using the demonstration files for the ActionScript 3 SCORM class. Turns out the imsmanifest.xml file was causing the problems; apparently, one of the supporting XML files was corrupt. After creating a new imsmanifest.xml file and bringing in fresh copies of all the supporting XML files (the [...]