This is a test site. Any changes will be lost!

Talk:Flash module

From MoodleDocs
Revision as of 23:56, 13 January 2008 by Matt Bury (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hi, I'm new to Moodle but a fairly experienced ActionScript developer, both 20. and 3.0.

Looking at your code:

score = yourScoreVariable; answers = yourAnswersVariable; startTime = getTimer(); // start timer _root.finishButton.onRelease = function() { endTime = getTimer() - startTime; moodleService.send_response(answers, endTime, score); moodleService.cleanUp(); // goes to results page } moodleService.init();

Could you tell us a bit more about this code?