Found a small bug when using the wrapper with Flash (AS2): functions that return string values (such as
SCORM.data.get()) were coming out ‘undefined’. (grr)
Explicitly typing the return value as a string seems to make Flash happy.
This all-in-one wrapper has now been tested successfully in several situations using the ADL test suites:
SCORM 1.2 test suite:
- Flash ActionScript 2-based course (using ExternalInterface)
SCORM 2004 test suite: