I am a flash developer who is very familiar with the Pipwerks SCORM API wrapper. When completing courses in flash, we normally have an acknowledgment statement and a button that users click to mark themselves complete setCourseToComplete(), then the LMS takes over and closes the window and returns user to LMS.
However I am finding it difficult to do the same thing within ADAPT. The test courses I have created and loaded into the SCORM CLOUD and it is not passing complete with the SPOOR plugin.
I have found in the wrapper a function API.LMSFinish(); but when I try calling the function using a text component with
<p><a href="#" id="mylink" onclick="API.LMSFinish(); return false">Submit Course</a></p>
It appears the call is being blocked and the course does nothing.
Can anyone help point me in the right direction?