Note: You are currently viewing documentation for Moodle 3.3. Up-to-date documentation for the latest stable version of Moodle is probably available here: SWF.

Development:SWF: Difference between revisions

From MoodleDocs
mNo edit summary
Line 47: Line 47:
* Allow Script Access
* Allow Script Access
* Allow Networking
* 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.
===XML Data Loading===
===FlashVars===

Revision as of 02:51, 23 January 2009

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.


XML Data Loading

FlashVars