I just converted my AS2 SCORM class to AS3.
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.
New SCORM ebook coming soon!
I'm writing an ebook explaining how to build an HTML-based SCORM course. Subscribe to be notified when it's ready, as well as receive early bird pricing and some free goodies!