Development:SWF
SWF Activity Module
This page relates to the SWF Activity Module which is currently under development.
What is the SWF Activity Module?
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.
How does is work?
Once installed, select SWF from an "Add an activity" list on a Moodle course page. The standard "Adding a new SWF to topic... " moodleform will appear. In this form you can set the following parameters:
Required Parameters
The required parameters are:
- As with all Moodle activities, name and intro.
- SWF file
- Height
- Width
- Version
Optional Parameters
- AMF Interaction (Not yet implemented)
- XML file URL
- FlashVars #1
- FlashVars #2
- FlashVars #3
Advanced Parameters
- API Key
- Align
- Auto Play
- Loop Playback
- Menu
- Quality
- Scale Mode
- Stage Align
- Window Mode
- Background
- Use Device Font
- Seamless Tabbing
- Allow Full Screen
- Allow Script Access
- Allow Networking
What features does it support?
The SWF Activity Module supports a number of features, specific to Flash and Flex applications. They are:
Flash Remoting (AMF)
Flash Remoting is a method for Flash or Flex applications to communicate directly with server-side applications written in .NET, Java, PHP, Cold Fusion and Ruby on Rails. There are a number of open-source libraries for handling communication via Flash Remoting:
See Development:AMF3 for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.
XML Data Loading
XML is currently the most commonly used format for providing elearning data for learning interactions.