Hi,
I just put a new version of the Flash activity module into the cvs. It should be available from the download page on March 17th (CVS version is now 1.2).
- Using a new preloader movie the module now can load font files into Flash dynamically. I have an extension for the Flash authoring environment that can package fonts, including sub-sets of unicode fonts in a format that Flash can recognise. These files are automatically detected by the module configuration page after you upload them to mod/flash/resources/ Unfortunately I can't put the extension in cvs as it is under the creative commons license.
- Also the preloader includes the code that makes it possible for Flash to talk to Moodle. All the set up is done by the preloader. So now no special libraries must be compiled into your Flash movie to talk to Moodle. You just do commands like this : moodleService.init(); moodleService.answer(); etc.
- The preloader also includes code to handle communication errors.
- And the preloader acts as a debug view. From your movie you do moodleDebugger.addText(blahblah+"\n"); moodleDebugger.showDebug(); This acts as an alternative to the trace function since trace only works in the Flash debugger and the debugger won't work for Flash movies that are integrated into Moodle.
I've made a start on a wiki describing how to use the module to integrate your own Flash movies into Moodle as activities and hope to add more details soon. It should be fairly easy to follow my text ordering test code which is in flash/mod/order/ which uses the new preloader.
Jamie