SWF Activity Module
Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: SWF Activity Module.
Truly interactive e-learning with Rich Internet Applications
The SWF Activity Module is a Moodle plugin extension for deploying Flash learning applications, also known as Flash templates. Teachers and course content developers can use the SWF Activity Module to deploy any Flash applications, including but not limited to those that use external data and media in order to function correctly. It also allows Flash applications to communicate with Moodle for purposes such as passing learners' grades into Moodle's grade book.
It does not include any Flash learning applications. However, a word search application is provided separately for testing and demonstration purposes. You're also free to use the word search in courses if you wish.
Sufficient documentation, source code and examples are provided on this project site so that Flash developers can easily write or adapt applications to work fully with the SWF Activity Module. See the project wiki pages for further details.
Please note: This module is now ready for production.
For a summary of the latest developments of the SWF Activity Module, please see the ChangeLog page.
Why develop the SWF Activity Module?
I started the SWF Activity Module project to resolve two issues in Moodle:
- Moodle does not provide an effective, W3C standards compliant way to embed Flash applications in its web pages.
- Moodle does not provide any direct means of communication between Flash applications and its functions and data (generally referred to as an API - Application Programming Interface)
These two issues effectively make it very difficult for developers and almost impossible for non-developers, such as teachers, course content developers and instructional designers, to deploy dynamic, Flash based e-learning applications in Moodle.
The SWF Activity Module provides an easy, reliable way for developers and non-developers (i.e. teachers, trainers, course content developers and instructional designers) to deploy Flash e-learning interactions in Moodle.
No Flash e-learning applications are included with the SWF Activity Module, except for a word search activity, available as a separate download, to help you get started.
- Uses a "wizard interface" to deploy Flash learning applications: No developer skills necessary
- Supports all versions of Flash and is forwardly compatible
- Section 508 (accessibility) compliant
- Supports web services including dynamic API keys: No need to hard-code API keys into your software!
- Pushes grades from Flash learning applications into Moodle grade book
- Supports customisable FlashVars so that many existing 3rd party Flash applications can also be deployed
- Uses SWF Object - W3C standards compliant Flash embedding method, the best Flash embed method available: stable, fully functioning and reliable, as recommended by Adobe and leading Flash developers
- Detects users' Flash Player version to inform users if they need to upgrade
- Supports all Flash Player parameters
- Works in all browsers and browser versions that support Flash Player 6 and later
Supports Flash Remoting
- Uses AMFPHP as a communication gateway with Moodle
- Compatible with ActionScript 3.0 (Flash Player 9 and later)
- Includes Access.php service to authenticate users and determine their capabilities seamlessly and securely (i.e. no need to re-login in Flash applications)
- Includes service library to give Flash clients access to Moodle functions for things like Users, Groups, Grades, etc.
- Object Oriented code: Requires PHP5 or later
- Can deploy dynamic Flash learning applications that load in external lesson data via XML
- URLs to XML files are dynamic: No need to hard-code them
- One Flash learning application can present an unlimited number of learning interactions (lessons)
- Supports any type of XML that the deployed learning application is compatible with: XML, RSS, ATOM, SMIL, etc.
- Supported by W3C standards for dynamic content
- Ideal for non-developers: A wide range of 3rd party XML authoring tools available
Does Not Support Authorware
Please note: Most authorware packages such as Adobe Captivate, Techsmith Camtasia, Raptivity, etc. publish learning interactions specifically for static web pages and in SCORM packages. They do not function correctly in dynamic web pages such as Moodle activity modules. (The Moodle SCORM activity module is a special exception to this).
However, it is sometimes possible to deploy screen recordings if they are single output .swf files. Due to the limit on the number of animation frames a single .swf file can contain, this is only possible for relatively short recordings.
Visit my Moodle demo course (Login as a guest) which allows users to login without creating an account.