pipwerks: home

pipwerks

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

New: SCORM API wrapper for ActionScript 3.0

I just converted my AS2 SCORM class to AS3.

Read documentation and download file(s) here. Note this class requires the pipwerks SCORM API wrapper for JavaScript.

Not being much of an AS3 guy (so far!), it was easier than I expected; I guess since I had already used strong typing in AS2 it met most of the AS3 requirements for strong typing. The only other changes between the AS2 and AS3 classes are pretty simple:

  • Added the AS3-required ‘package’ wrapper. I used the package name “pipwerks”; if you use this class, you’ll need to either place the class in a subfolder named pipwerks, or rename the package. It’s not a requirement, but I’d appreciate it if you left the pipwerks in there. :)
  • Converted all “Number” variables to “int”
  • Changed all “Void” function return types to “void”

I think that’s it…

As always, please give me feedback! Let me know if it does or doesn’t work for you, if you find any bugs, or if you have any suggestions for improvements.

Like what you see? Why not share it!

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Twitter

Related posts:

  1. SCORM wrapper examples tested successfully in SumTotal TotalLMS 7.6
  2. Really simple SCORM AS3 wrapper example
  3. Flash demos for SCORM ActionScript classes now available
  4. New: SCORM API wrapper for ActionScript 2.0
  5. Actionscript, JavaScript, and SCORM

What others are saying... (One comment so far)

Aaron

You’re way faster than me, Philip. I will work to run this through its paces this week.

You’re going to help a lot of people out with this, dude. Props to you.

Want a gravatar? They're easy and free! Just sign up at gravatar.com

Add your two cents!

You can use the following HTML tags in your comment: <a> <abbr> <b> <blockquote> <cite> <code> <em> <i> <q> <strike> <strong> <pre>

The anti-spam code is my LAST NAME, and can be found in the page footer.
Be careful not to misspell it.

I'm currently moderating comments. Please don't submit your comment twice; it will appear as soon as I can approve it.