<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mattbury</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mattbury"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/Special:Contributions/Mattbury"/>
	<updated>2026-07-21T01:16:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Grades&amp;diff=42760</id>
		<title>Grades</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Grades&amp;diff=42760"/>
		<updated>2013-10-27T17:14:50Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* grade_update() */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Work in progress}}&lt;br /&gt;
&lt;br /&gt;
== Executive Summary ==&lt;br /&gt;
&lt;br /&gt;
This document primarily describes the current workings of the gradebook. For more detailed information about current gradebook development see [[Gradebook_improvements]]&lt;br /&gt;
&lt;br /&gt;
The gradebook mechanisms must be rebuilt to:&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Improve performance and scalability&#039;&#039;&#039; - All grades from throughout the system will be pushed to a central system of tables. This means reports based on grades can be generated much faster, and the gradebook has ultimate control over the content.&lt;br /&gt;
# &#039;&#039;&#039;Improve flexibility&#039;&#039;&#039; - All aspects of the new gradebook will use simple plugin structures, namely: exports, imports and displays/reports. It is expected that the community will be very active in producing [[Gradebook Report Tutorial |special-purpose reports]] analysing the basic grade data in new ways, for example, or writing plugins to transfer grades to student information systems.&lt;br /&gt;
# &#039;&#039;&#039;Allow rubrics for outcomes (aka standards,competencies,goals)&#039;&#039;&#039; - As well as numerical grades, each grading item can consist of a number of scores made on a rubric against a standard outcome statement. These can be automatically converted to a numerical grade if desired or just shown as is.&lt;br /&gt;
# &#039;&#039;&#039;Allow arbitrary columns and derived columns&#039;&#039;&#039; - Arbitrary columns of data can be added (either manually or via import). Columns can also be automatically filled based on formulas.&lt;br /&gt;
# &#039;&#039;&#039;Implement limited public API&#039;&#039;&#039; - Activities may use this API to send grades/outcomes to gradebook and find out the final grades.&lt;br /&gt;
&lt;br /&gt;
== Glossary ==&lt;br /&gt;
&lt;br /&gt;
Here are some terms used in the gradebook, both in the development and the user interface.  Using these terms in discussions about the gradebook will help to reduce confusion.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
!Term&lt;br /&gt;
!Definition&lt;br /&gt;
|-&lt;br /&gt;
|Activity&lt;br /&gt;
|An instance of an activity module [[Category:Modules|Module]] (e.g. a single quiz, assignment etc...)&lt;br /&gt;
|-&lt;br /&gt;
|Calculation&lt;br /&gt;
|A formula used to calculate grades, based (optionally) on other grade items. Not the same as [[Calculated_question_type|Calculated question types]].&lt;br /&gt;
|-&lt;br /&gt;
|Category&lt;br /&gt;
|A set of Grade Items.  A Category also has its own aggregated Grade which is calculated from its Grade Items.  There is no limit to the level of nesting of Categories (a Category may belong to another Category). However, each Grade Item may belong to only one Category. &lt;br /&gt;
|-&lt;br /&gt;
|Course completion&lt;br /&gt;
|The concept of meeting certain criteria for completing a course. In the context of the gradebook, this means a set of grades that must be reached, or a number of outcomes/competencies to complete/master.&lt;br /&gt;
|-&lt;br /&gt;
|Grade&lt;br /&gt;
|A Grade is a single assessment. It may be a number or an item on a scale (possibly tied to an Outcome). Raw grade value is the numerical or scale grade from activity. Final grade is the grade reported in gradebook.&lt;br /&gt;
|-&lt;br /&gt;
|[[Gradebook|Gradebook]]&lt;br /&gt;
|A central location in Moodle where students&#039; Grades are stored and displayed. Teachers can keep track of their students&#039; progress and organise which set of Grades their students will be able to see. Students see their own Grades.&lt;br /&gt;
|-&lt;br /&gt;
|Grade Item&lt;br /&gt;
|A &amp;quot;column&amp;quot; of Grades.  It can be created from a specific Activity or other module, calculated from other Grade Items, or entered manually.&lt;br /&gt;
|-&lt;br /&gt;
|[[Grades#Locked_grades|Grade Locks]]&lt;br /&gt;
|See linked section of this page&lt;br /&gt;
|-&lt;br /&gt;
|History&lt;br /&gt;
|The gradebook has its own type of log, which keeps a History of all changes made to grades.&lt;br /&gt;
|-&lt;br /&gt;
|[[Outcomes|Outcome]]&lt;br /&gt;
|[[Outcomes|Outcomes]] are specific descriptions of what a person is expected to be able to do or understand at the completion of an activity or course. An activity might have more than one outcome, and each may have a grade against it (usually on a scale).  Other terms for Outcomes are &#039;&#039;Competencies&#039;&#039; and &#039;&#039;Goals&#039;&#039;. See some [[Outcomes_examples|Examples]].&lt;br /&gt;
|-&lt;br /&gt;
|[[Scales|Scale]]&lt;br /&gt;
|A scale is a set of responses from which the teacher can choose one.   eg   Very cool, Cool, Fairly cool, Not very cool, Not cool&lt;br /&gt;
|-&lt;br /&gt;
|Letter Grades&lt;br /&gt;
|Special representation of grade values similar to scales.  Letters are configured in course contexts or above and are defined by lower boundary.   eg   A (above 90 %), B (above 80 %), C (above 70 %), D (above 50 %), F (above 0 %)&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Database structures ==&lt;br /&gt;
=== grade_items ===&lt;br /&gt;
&lt;br /&gt;
This table keeps information about gradeable items (ie columns). If an activity (eg an assignment or quiz) has multiple grade_items associated with it (eg several outcomes and numerical grade), then there will be a corresponding multiple number of rows in this table.&lt;br /&gt;
&lt;br /&gt;
idnumber is a tag unique inside a course identifying the grade item, useful for identifying data in exports and for referring to the grade item in calculations.  It is the same as the idnumber in course_modules.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Field&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Info&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;id&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|autoincrementing &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;courseid&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|The course this item is part of &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;categoryid&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|the category group this item belongs to &lt;br /&gt;
|-&lt;br /&gt;
|itemname &lt;br /&gt;
|varchar(255) &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|The name of this item (pushed in by the module or entered by user) &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;itemtype&#039;&#039;&#039; &lt;br /&gt;
|varchar(30) &lt;br /&gt;
|&lt;br /&gt;
|&#039;mod&#039;, &#039;blocks&#039;, &#039;manual&#039;, &#039;course&#039;, &#039;category&#039; etc &lt;br /&gt;
|-&lt;br /&gt;
|itemmodule  &lt;br /&gt;
|varchar(30)  &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|&#039;forum&#039;, &#039;quiz&#039;, &#039;csv&#039;, etc &lt;br /&gt;
|-&lt;br /&gt;
|iteminstance &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|id of the item module &lt;br /&gt;
|-&lt;br /&gt;
|itemnumber &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|Can be used to distinguish multiple grades for an activity &lt;br /&gt;
|-&lt;br /&gt;
|iteminfo &lt;br /&gt;
|text &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|Info and notes about this item XXX &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;idnumber&#039;&#039;&#039;&lt;br /&gt;
|varchar(255) &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|Arbitrary idnumber provided by the module responsible (optional and course unique)&lt;br /&gt;
|-&lt;br /&gt;
|calculation &lt;br /&gt;
|text&lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|Spreadsheet-type formula used to process the raw grades into final grades&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;gradetype&#039;&#039;&#039; &lt;br /&gt;
|int(4) &lt;br /&gt;
|&amp;lt;center&amp;gt;1&amp;lt;/center&amp;gt; &lt;br /&gt;
|0 = none, 1 = value, 2 = scale, 3 = text &lt;br /&gt;
|-&lt;br /&gt;
|grademax &lt;br /&gt;
|float(10,5) &lt;br /&gt;
|&amp;lt;center&amp;gt;100&amp;lt;/center&amp;gt; &lt;br /&gt;
|What is the maximum allowable grade? &lt;br /&gt;
|-&lt;br /&gt;
|grademin &lt;br /&gt;
|float(10,5) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|What is the minimum allowable grade? &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;scaleid&#039;&#039;&#039; &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|If this grade is based on a scale, which one is it? &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;outcomeid&#039;&#039;&#039; &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|If this is outcome item, which outcome is it? &lt;br /&gt;
|-&lt;br /&gt;
|gradepass&lt;br /&gt;
|float(10,5) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|What grade is needed to pass?  grademin &amp;lt;= gradepass &amp;lt;= grademax&lt;br /&gt;
|-&lt;br /&gt;
|multfactor &lt;br /&gt;
|float(10,5) &lt;br /&gt;
|&amp;lt;center&amp;gt;1.0&amp;lt;/center&amp;gt; &lt;br /&gt;
|Multiply all raw grades from activities by this &lt;br /&gt;
|-&lt;br /&gt;
|plusfactor  &lt;br /&gt;
|float(10,5) &lt;br /&gt;
|&amp;lt;center&amp;gt;0.0&amp;lt;/center&amp;gt; &lt;br /&gt;
|Add this to all raw grades from activities by this &lt;br /&gt;
|-&lt;br /&gt;
|aggregationcoef  &lt;br /&gt;
|float(10,5) &lt;br /&gt;
|&amp;lt;center&amp;gt;0.0&amp;lt;/center&amp;gt; &lt;br /&gt;
|Weight applied to all grades in this grade item during aggregation with other grade items.&lt;br /&gt;
|-&lt;br /&gt;
|sortorder &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|Sorting order of the columns (pre-order walk of the grading tree)&lt;br /&gt;
|-&lt;br /&gt;
|display&lt;br /&gt;
|int(10)  &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|Display as real grades, percentages (in reference to the minimum and maximum grades) or letters (A, B, C etc..), or course default (0)&lt;br /&gt;
|-&lt;br /&gt;
|hidden &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|1 is hidden, 1 is hide always, &amp;gt; 1 is a date to hide until (prevents viewing of all user grades) &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;locked&#039;&#039;&#039;&lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|0 is not locked, &amp;gt; 0 is a date when was item locked (no final grade or grade_item updates possible)&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;locktime&#039;&#039;&#039;&lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|0 no auto locking, &amp;gt; 0 is a date to lock grade item and final grades after automatically &lt;br /&gt;
|-&lt;br /&gt;
|deleted &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|1 means the associated module instance has been deleted&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;needsupdate&#039;&#039;&#039;&lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|If this flag is set, then the whole column will be recalculated. If set in course item, some other item needs recalculation. Calculated and category items are recalculated together with any other items.&lt;br /&gt;
|-&lt;br /&gt;
|timecreated &lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|The first time this grade_item was created&lt;br /&gt;
|-&lt;br /&gt;
|timemodified &lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|The last time this grade_item was modified&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== grade_categories ===&lt;br /&gt;
&lt;br /&gt;
This table keeps information about categories, used for grouping items.  An associated grade_item will be maintained for each category to store the aggregate data.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Field&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Info&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;id&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|autoincrementing &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;courseid&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|The course this grade category is part of &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;parent&#039;&#039;&#039; &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|Parent grade_category (hierarchical)&lt;br /&gt;
|-&lt;br /&gt;
|depth&lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|How deep is this category from the highest level (1,2,3)&lt;br /&gt;
|-&lt;br /&gt;
|path&lt;br /&gt;
|varchar(255) &lt;br /&gt;
| &lt;br /&gt;
|Shows the path as /1/2/3/  &lt;br /&gt;
|-&lt;br /&gt;
|fullname &lt;br /&gt;
|varchar(255) &lt;br /&gt;
|&lt;br /&gt;
|The name of this grade category &lt;br /&gt;
|-&lt;br /&gt;
|aggregation &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|A constant pointing to one of the predefined aggregation strategies (none, mean,median,sum, etc) &lt;br /&gt;
|-&lt;br /&gt;
|keephigh &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|Keep only the X highest items &lt;br /&gt;
|-&lt;br /&gt;
|droplow &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|Drop the X lowest items &lt;br /&gt;
|-&lt;br /&gt;
|aggregateonlygraded&lt;br /&gt;
|int(1) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|Aggregate only existing grades &lt;br /&gt;
|-&lt;br /&gt;
|aggregateoutcomes&lt;br /&gt;
|int(1) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|Aggregate otcomes together with normal items &lt;br /&gt;
|-&lt;br /&gt;
|aggregatesubcats&lt;br /&gt;
|int(1) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|Aggregate only items placed directly in category or all items in subcategories excluding the subcategory totals &lt;br /&gt;
|-&lt;br /&gt;
|timecreated&lt;br /&gt;
|int(10) &lt;br /&gt;
|&lt;br /&gt;
|The first time this grade_category was created&lt;br /&gt;
|-&lt;br /&gt;
|timemodified &lt;br /&gt;
|int(10) &lt;br /&gt;
|&lt;br /&gt;
|The last time this grade_category was modified&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== grade_grades ===&lt;br /&gt;
&lt;br /&gt;
This table keeps individual grades for each user and each item.  The raw grade is exactly as imported or submitted by modules. The rawgrademax/min and rawscaleid are stored here to record the values at the time the grade was stored, because teachers might change this for an activity!   All the results are normalised/resampled/calculated for the finalgrade, which is relative to the max/min/scaleid values stored in the grade_item.  The finalgrade field is effectively a cache and values are rebuilt whenever raw values or the grade_item changes.&lt;br /&gt;
&lt;br /&gt;
Note that the finalgrade for a scale-based item may be non-integer!  It needs to be rounded on display.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Field&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Info&#039;&#039;&#039; &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;id&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|autoincrementing &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;itemid&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|The item this grade belongs to &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;userid&#039;&#039;&#039; &lt;br /&gt;
|int(10) &lt;br /&gt;
|&lt;br /&gt;
|The user who this grade is for &lt;br /&gt;
|-&lt;br /&gt;
|rawgrade&lt;br /&gt;
|float(11,10) &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|The raw grade that came into the system&lt;br /&gt;
|-&lt;br /&gt;
|rawgrademax &lt;br /&gt;
|float(11,10) &lt;br /&gt;
|&amp;lt;center&amp;gt;100&amp;lt;/center&amp;gt; &lt;br /&gt;
|The maximum allowable grade when this was created &lt;br /&gt;
|-&lt;br /&gt;
|rawgrademin &lt;br /&gt;
|float(11,10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|The minimum allowable grade when this was created &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;rawscaleid&#039;&#039;&#039; &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|If this grade is based on a scale, which one was it? &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;usermodified&#039;&#039;&#039;&lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|the userid of the person who last modified the raw grade value&lt;br /&gt;
|-&lt;br /&gt;
|finalgrade&lt;br /&gt;
|float(11,10) &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|The final grade (cached) after all calculations are made. Overriden grades are also stored here.&lt;br /&gt;
|-	 &lt;br /&gt;
|hidden &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|0 is not hidden, 1 is hide always, &amp;gt; 1 is a date to hide until &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;locked&#039;&#039;&#039;&lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|0 is not locked, &amp;gt; 0 when was the grade locked&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;locktime&#039;&#039;&#039;&lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|0 is never, &amp;gt; 0 is a date to lock the final grade after automatically&lt;br /&gt;
|-&lt;br /&gt;
|exported &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|0 is not exported, &amp;gt; 0 is the last exported date &lt;br /&gt;
|-&lt;br /&gt;
|excluded &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|grade excluded from aggregation, &amp;gt; 0 is the last exported date &lt;br /&gt;
|-&lt;br /&gt;
|overridden &lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|0 is not overridden, &amp;gt; 0 is the last overridden date &lt;br /&gt;
|-&lt;br /&gt;
|feedback &lt;br /&gt;
|text &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|Manual feedback from the teacher. Could be a code like &#039;mi&#039;. &lt;br /&gt;
|-&lt;br /&gt;
|feedbackformat&lt;br /&gt;
|int(10)&lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|Text format for feedback&lt;br /&gt;
|-&lt;br /&gt;
|information &lt;br /&gt;
|text &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|not sued yet (Further information like forum rating distribution 4/5/7/0/1 ?)&lt;br /&gt;
|-&lt;br /&gt;
|informationformat&lt;br /&gt;
|int(10)&lt;br /&gt;
|&amp;lt;center&amp;gt;0&amp;lt;/center&amp;gt; &lt;br /&gt;
|Text format for information&lt;br /&gt;
|-&lt;br /&gt;
|timecreated&lt;br /&gt;
|int(10) &lt;br /&gt;
|&lt;br /&gt;
|temporary hack - the date of submission in activity if any, new field expected in 2.0&lt;br /&gt;
|-&lt;br /&gt;
|timemodified&lt;br /&gt;
|int(10) &lt;br /&gt;
|&lt;br /&gt;
|temporary hack - the date of grading in activity or date of manual grading in gradebook, new field expected in 2.0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== grade_outcomes ===&lt;br /&gt;
&lt;br /&gt;
This table describes the outcomes used in the system. An outcome is a statement tied to a rubric scale from low to high, such as “Not met, Borderline, Met” (stored as 0,1 or 2).  For more info about these see [[Outcomes]].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Field&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Info&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;id&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|autoincrementing &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;courseid&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|Mostly these are defined site wide ie NULL &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|shortname &lt;br /&gt;
|varchar(255) &lt;br /&gt;
|&lt;br /&gt;
|The short name or code for this outcome statement &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|fullname &lt;br /&gt;
|text &lt;br /&gt;
|&lt;br /&gt;
|The full description of the outcome (usually 1 sentence) &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;scaleid&#039;&#039;&#039; &lt;br /&gt;
|int(10) &lt;br /&gt;
|&lt;br /&gt;
|The recommended scale for this outcome.  &lt;br /&gt;
|-&lt;br /&gt;
|description &lt;br /&gt;
|text &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|The full description of the outcome (usually 1 sentence) &lt;br /&gt;
|-&lt;br /&gt;
|timecreated&lt;br /&gt;
|int(10) &lt;br /&gt;
|&lt;br /&gt;
|the time this outcome was first created &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|timemodified&lt;br /&gt;
|int(10) &lt;br /&gt;
|&lt;br /&gt;
|the time this outcome was last updated &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;usermodified&#039;&#039;&#039;&lt;br /&gt;
|int(10) &lt;br /&gt;
|&amp;lt;center&amp;gt;NULL&amp;lt;/center&amp;gt; &lt;br /&gt;
|the userid of the person who last modified this outcome&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== grade_outcomes_courses ===&lt;br /&gt;
An intersection table used to make standard outcomes available to courses.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Field&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Info&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;id&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|autoincrementing &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;courseid&#039;&#039;&#039;&lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|The id of the course being assigned the outcome&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;outcomeid&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|The id of the outcome being assigned to the course&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== grade_import_newitem ===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Field&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Info&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;id&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|autoincrementing &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|itemname&lt;br /&gt;
|varchar(255)&lt;br /&gt;
|&lt;br /&gt;
|*TODO* Document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|importcode&lt;br /&gt;
|int(12)  &lt;br /&gt;
|&lt;br /&gt;
|*TODO* Document &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== grade_import_values ===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Field&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Info&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;id&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|autoincrementing &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;itemid&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|NULL&lt;br /&gt;
|*TODO* Document &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|newgradeitem&lt;br /&gt;
|int(10)&lt;br /&gt;
|NULL&lt;br /&gt;
|*TODO* Document&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;userid&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|*TODO* Document &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|finalgrade&lt;br /&gt;
|float(10,5)  &lt;br /&gt;
|NULL&lt;br /&gt;
|*TODO* Document &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|feedback&lt;br /&gt;
|text&lt;br /&gt;
|NULL&lt;br /&gt;
|*TODO* Document &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|importcode&lt;br /&gt;
|int(12)  &lt;br /&gt;
|&lt;br /&gt;
|*TODO* Document &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== History tables ===&lt;br /&gt;
&lt;br /&gt;
These table keep track of changes to most of the grade tables. Using these it should be possible to reconstruct the grades at any point in time in the past, or to audit grade changes over time.  It should be quicker to use these tables for that, rather than storing this information in the main Moodle log. The following tables are set up for that purpose:&lt;br /&gt;
&lt;br /&gt;
#grade_categories_history&lt;br /&gt;
#grade_grades_history&lt;br /&gt;
#grade_items_history&lt;br /&gt;
#grade_outcomes_history&lt;br /&gt;
&lt;br /&gt;
Each of them has exactly the same DB structure as their matching table (e.g. grade_categories), with 3 extra fields:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Field&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Info&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|action&lt;br /&gt;
|int(10)  &lt;br /&gt;
|0&lt;br /&gt;
|The action that lead to the change being recorded (insert, update, delete)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;oldid&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|The id of the record being changed or inserted (PK of the main table, not the history table) &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|source&lt;br /&gt;
|varchar(255)&lt;br /&gt;
|NULL&lt;br /&gt;
|The module from which the action originated &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== grade_letters ===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Field&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039; &lt;br /&gt;
|&#039;&#039;&#039;Info&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;id&#039;&#039;&#039; &lt;br /&gt;
|int(10)  &lt;br /&gt;
|&lt;br /&gt;
|autoincrementing &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|contextid&lt;br /&gt;
|int(10)&lt;br /&gt;
|&lt;br /&gt;
|What contextid does this letter apply to (from levels CONTEXT_SYSTEM, CONTEXT_COURSECAT or CONTEXT_COURSE)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|lowerboundary&lt;br /&gt;
|float(10,5)  &lt;br /&gt;
|&lt;br /&gt;
|The lower boundary of the letter. Its upper boundary is the lower boundary of the next highest letter, unless there is none above, in which case it&#039;s grademax for that grade_item.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|letter&lt;br /&gt;
|varchar(255)  &lt;br /&gt;
|&lt;br /&gt;
|The display value of the letter. Can be any character or string of characters (OK, A, 10% etc..) &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Overview of module communication ==&lt;br /&gt;
&lt;br /&gt;
Modules usually store raw grades internally and pass them into gradebook every time they change. Gradebook may also request activities to resend the grades. &lt;br /&gt;
&lt;br /&gt;
The gradebook is designed to be as separate as possible from the code of activities - modules do not read grade tables or use internal gradebook API. &lt;br /&gt;
&lt;br /&gt;
Originally it was planned to use new events API, but in the end it was decided to use minimal API consisting of several function in lib/gradelib.php and each mod/xxx/lib.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Backward compatibility with Moodle 1.8 and earlier ===&lt;br /&gt;
&lt;br /&gt;
Function grade_grab_legacy_grades($courseid) may be used to request transfer of grades from legacy or 3rd party activities which were not yet converted to new grade API. This function is not called automatically.&lt;br /&gt;
&lt;br /&gt;
Modules are responsible to push existing grades into gradebook during upgrade.&lt;br /&gt;
&lt;br /&gt;
==API for communication with modules/blocks==&lt;br /&gt;
&lt;br /&gt;
Modules may use only functions from lib/gradelib.php which are marked as public. This API may be extended in later 1.9.x release. Activities should access/update only own grades.&lt;br /&gt;
&lt;br /&gt;
===grade_get_grades()===&lt;br /&gt;
&lt;br /&gt;
grade_get_grades($courseid, $itemtype, $itemmodule, $iteminstance, $userid_or_ids=0)&lt;br /&gt;
&lt;br /&gt;
Returns grading information for given activity - optionally with users grades. Manual, course or category items can not be queried.&lt;br /&gt;
&lt;br /&gt;
===grade_get_outcomes()===&lt;br /&gt;
&lt;br /&gt;
grade_get_outcomes($courseid, $itemtype, $itemmodule, $iteminstance,$userid=0)&lt;br /&gt;
&lt;br /&gt;
Returns list of outcomes used in course together with current outcomes for this user.&lt;br /&gt;
&lt;br /&gt;
===grade_is_locked()===&lt;br /&gt;
&lt;br /&gt;
grade_is_locked($courseid, $itemtype, $itemmodule, $iteminstance, $itemnumber, $userid=NULL)&lt;br /&gt;
&lt;br /&gt;
This function will tell a module whether a grade (or grade_item if $userid is not given) is currently locked or not. If it&#039;s locked to the current user then the module can print a nice message or prevent editing in the module. If no $userid is given, the method will always return the grade_item&#039;s locked state. If a $userid is given, the method will first check the grade_item&#039;s locked state (the column). If it is locked, the method will return true no matter the locked state of the specific grade being checked. If unlocked, it will return the locked state of the specific grade.&lt;br /&gt;
([http://moodle.org/mod/forum/discuss.php?d=69223#p311329 info])&lt;br /&gt;
&lt;br /&gt;
===grade_update()===&lt;br /&gt;
&lt;br /&gt;
grade_update($source, $courseid, $itemtype, $itemmodule, $iteminstance, $itemnumber, $grades=NULL, $itemdetails=NULL)&lt;br /&gt;
&lt;br /&gt;
Submit new or update grade; update/create grade_item definition. Grade must have userid specified, rawgrade and feedback with format are optional. rawgrade NULL means &#039;Not graded&#039;, missing property or key means do not change existing. Only following grade item properties can be changed &#039;itemname&#039;, &#039;idnumber&#039;, &#039;gradetype&#039;, &#039;grademax&#039;, &#039;grademin&#039;, &#039;scaleid&#039;, &#039;multfactor&#039;, &#039;plusfactor&#039;, &#039;deleted&#039;.&lt;br /&gt;
&lt;br /&gt;
Returns:&lt;br /&gt;
&lt;br /&gt;
* GRADE_UPDATE_OK = 0&lt;br /&gt;
* GRADE_UPDATE_FAILED = 1&lt;br /&gt;
* GRADE_UPDATE_MULTIPLE = 2&lt;br /&gt;
* GRADE_UPDATE_ITEM_LOCKED = 4&lt;br /&gt;
* GRADE_UPDATE_ITEM_DELETED = GRADE_UPDATE_ITEM_DELETED&lt;br /&gt;
&lt;br /&gt;
===grade_update_outcomes()===&lt;br /&gt;
&lt;br /&gt;
grade_update_outcomes($source, $courseid, $itemtype, $itemmodule, $iteminstance, $userid, $data)&lt;br /&gt;
&lt;br /&gt;
Updates outcomes of a given user. Manual outcomes cannot be updated.&lt;br /&gt;
&lt;br /&gt;
== Private gradebook API ==&lt;br /&gt;
Private API is used by gradebook plugins and core Moodle code, it may change in 2.0. Most  of the interesting classes and functions are in lib/gradelib.php, grade/lib.php and grade/report/lib.php.&lt;br /&gt;
&lt;br /&gt;
The following 3 functions are all in /lib/gradelib.php&lt;br /&gt;
&lt;br /&gt;
===grade_regrade_final_grades()===&lt;br /&gt;
&lt;br /&gt;
grade_regrade_final_grades($courseid=NULL, $userid=NULL, $updated_item=NULL)&lt;br /&gt;
&lt;br /&gt;
Updates all grade_grades-&amp;gt;finalgrade records for each grade_item matching the given attributes. The search is further restricted, so that only grade_items that have needs_update == true or that use calculation are retrieved and used for the update. The function returns the number of grade_items updated (NOT the same as the number of grades_grades updated!).&lt;br /&gt;
&lt;br /&gt;
===grade_verify_idnumber()===&lt;br /&gt;
&lt;br /&gt;
grade_verify_idnumber($idnumber, $grade_item = null, $cm = null, $gradeitem)&lt;br /&gt;
&lt;br /&gt;
Verify new value of idnumber - checks for uniqueness of new idnubmers, existing are kept intact.&lt;br /&gt;
&lt;br /&gt;
===remove_course_grades()===&lt;br /&gt;
&lt;br /&gt;
remove_course_grades($courseid, $showfeedback)&lt;br /&gt;
&lt;br /&gt;
Remove all grade related course data - history is kept&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO: add description of the other methods and classes + simple usage examples + querylib.php description&lt;br /&gt;
&lt;br /&gt;
== Dealing with multiple grades  ==&lt;br /&gt;
&lt;br /&gt;
Modules usually produce only one grade item per activity. Optionally one or more outcomes may be attached to activities.&lt;br /&gt;
&lt;br /&gt;
Some activities may need to aggregate multiple ratings or attempts before sending them into the gradebook. Activities can not send variable number of items.&lt;br /&gt;
&lt;br /&gt;
If the gradebook receives multiple grade items from a module, then they are automatically grouped together in a unique grade category (with the same name as the module instance). See [[Outcomes]] for more details.&lt;br /&gt;
&lt;br /&gt;
TODO: this may still be changed&lt;br /&gt;
&lt;br /&gt;
== Calculated grade items  ==&lt;br /&gt;
&lt;br /&gt;
Categories or manual items maybe calculated using spreadsheet-like formulas.  Formulas may reference other items from the same course only using Id numbers in double square brackets.&lt;br /&gt;
&lt;br /&gt;
 eg:  &amp;lt;nowiki&amp;gt;= MEAN([[quiz121]], [[quizend]]) + [[assignmentAXC]] + 20.0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Regrading / updating of final grades ==&lt;br /&gt;
&lt;br /&gt;
TODO: describe needsupdate flag and incremental updates&lt;br /&gt;
&lt;br /&gt;
== Adjustment of raw grades ==&lt;br /&gt;
Grade_item contains optional rules for adjusting the raw grade before it is cached into a final grade. These rules are processed BEFORE the calculation discussed above. Scale is never changed. Multfactor and plusfactor may be used to alter raw grades coming from activities, but it is recommended to use formulas instead.&lt;br /&gt;
&lt;br /&gt;
== Displaying the grades to ordinary participants  ==&lt;br /&gt;
&lt;br /&gt;
The module takes responsibility for displaying grades within the module (to a student, say). It is recommended to use the real final grades obtained using grade_get_grades() functionBecause guidebook might force hiding, override grade, etc.&lt;br /&gt;
&lt;br /&gt;
For full display of grades in a whole course say, the student uses the same link as teachers use to access the gradebook. However, due to their different permissions they will only have access to specific reports. By default this is the &#039;&#039;User report&#039;&#039; report which only shows their own grades and has very few configuration options.&lt;br /&gt;
&lt;br /&gt;
== Locked grades  ==&lt;br /&gt;
&lt;br /&gt;
Both whole columns and individual grades can be locked in the gradebook, via the &#039;&#039;locked&#039;&#039; field.  Teachers may want to do this to prevent further changes from the modules, or from other teachers.  When a grade is locked, any changes that might affect that grade are ignored.  When the graded is unlocked, activities are asked to resend the latest grades.&lt;br /&gt;
&lt;br /&gt;
In the main GUIs the lock toggling will be achieved by clicking on a little padlock icon beside each entry or column.&lt;br /&gt;
&lt;br /&gt;
There is also an option to lock grade or item after some specified date.&lt;br /&gt;
&lt;br /&gt;
== Overridden grades ==&lt;br /&gt;
&lt;br /&gt;
Grades can be manually modified (overridden) in the gradebook.  When this is done the entered value is always used instead of the aggregated, calculated or activity grade.&lt;br /&gt;
&lt;br /&gt;
Once grades have been overriden in the gradebook they become read only in the original module. The module should provide a visual indication as to why the grade cannot be modified.&lt;br /&gt;
&lt;br /&gt;
The need to improve how the module expresses that a grade has been overridden will be reduced by the new [https://docs.moodle.org/en/Development:Grading_interface_2.0 grading interface]&lt;br /&gt;
&lt;br /&gt;
== Hidden grades and categories ==&lt;br /&gt;
&lt;br /&gt;
Grades and categories can be hidden in the gradebook or the &amp;quot;categories and items&amp;quot; screen.  When a category is hidden all the grade items within it are automatically hidden as well.  When a category is un-hidden then all the grade items within it are un-hidden.&lt;br /&gt;
&lt;br /&gt;
The teacher always sees totals calculated from all relevant items (hidden or un-hidden)&lt;br /&gt;
&lt;br /&gt;
(Features below were added in 1.9.8 and 2.0)&lt;br /&gt;
&lt;br /&gt;
When a grade is shown its parent category will also be shown if it was hidden.   MDL-21367&lt;br /&gt;
&lt;br /&gt;
The teacher decides what ordinary users can see in the case of totals that include hidden grades (MDL-21218, in 1.9.8 and 2.0).   The user and overview report each have a setting to choose between:&lt;br /&gt;
&lt;br /&gt;
# Hide any totals that are dependent on a hidden item (show a hyphen there)  [DEFAULT]&lt;br /&gt;
# Display totals excluding the hidden items&lt;br /&gt;
# Display full totals including the hidden items (may allow students to back-calculate hidden grades)&lt;br /&gt;
&lt;br /&gt;
== Logging ==&lt;br /&gt;
&lt;br /&gt;
All grading related changes maybe logged in history tables.&lt;br /&gt;
&lt;br /&gt;
== Security Issues ==&lt;br /&gt;
&lt;br /&gt;
For security an option to force SSL for the gradebook might be good.&lt;br /&gt;
&lt;br /&gt;
==Overall grade==&lt;br /&gt;
&lt;br /&gt;
Each course has exactly one course grade item. It may be used for this purpose now. Other course completion criteria will be implemented in 2.0.&lt;br /&gt;
&lt;br /&gt;
== Report plugins ==&lt;br /&gt;
All the main interface of the gradebook are implemented as report plugins. Each plugin is fully responsible for page layout, there are some handy functions in grade/lib.php. They can even define their own capabilities and extra tables if the core tables are not enough, as they&#039;ll have a full /grade/report/xxxx/db directory.&lt;br /&gt;
&lt;br /&gt;
Each report defines one capability to allow people to see that report, so that admins have control over who can see what reports. For example, the participant interface can be a totally separate report plugin.&lt;br /&gt;
&lt;br /&gt;
This allows for the widest flexibility and safety in how grades are presented.&lt;br /&gt;
&lt;br /&gt;
=== Default teacher interface ===&lt;br /&gt;
This interface will be what teachers see by default, and will subsume everything the current interface (in Moodle 1.8) does.&lt;br /&gt;
&lt;br /&gt;
Some snippets of functionality:&lt;br /&gt;
{{Moodle 1.9}}&lt;br /&gt;
Overall it&#039;s a grid, with participant names down one side and grade items along the top. &lt;br /&gt;
&lt;br /&gt;
Columns will be able to be collapsed together by grouping them into categories. Grades for categories can be calculated via various means. &lt;br /&gt;
&lt;br /&gt;
“Eye-cons” on the columns and checkboxes by every grade (this bit possibly controlled with a switch) allow hiding by category, by column, by individual grade.&lt;br /&gt;
&lt;br /&gt;
Textual notes can be added to each grade for more info. These show up to participants as well.&lt;br /&gt;
&lt;br /&gt;
A groups menu allows the teacher to switch between showing EACH of the groups they have access to, or ALL the groups they have access to.&lt;br /&gt;
&lt;br /&gt;
All grade items will link to modulepath/grade.php?id=44 which will work out what the current person should be allowed to see and either redirect them to the correct page or just show them immediately.   This copes with situations like the quiz, say, where we want editing teachers to go to the detailed reports there while participants just see their own grade or whatever the quiz is set to show.&lt;br /&gt;
&lt;br /&gt;
User preference to SWITCH between showing raw grades, percentage grades, or both, or grade letters (A/B/C etc).  &lt;br /&gt;
&lt;br /&gt;
Settings for grade letters not only define the transformation from percentage to grades, but also the transformation from letters to grades (in case the teacher edits some of the letter grades).&lt;br /&gt;
&lt;br /&gt;
Categories are shown above the headings for each column.  Clicking for more info on a category will just show the category with a summary column showing total/average for just that category (PLUS the summary column for the whole course).&lt;br /&gt;
&lt;br /&gt;
All columns should be sortable up/down.&lt;br /&gt;
&lt;br /&gt;
At the bottom of each column is a row with the mean course score.  If in groups mode, then add ANOTHER row with just the group mean. Add the number of grades used in brackets.  eg 56% (11).   When the report is paged, these means are still for the whole course/group (not the page!)&lt;br /&gt;
&lt;br /&gt;
{{Moodle 2.0}}&lt;br /&gt;
&lt;br /&gt;
Teachers can type “straight into” the grid using AJAX or fallback to forms. No popup menus for values.&lt;br /&gt;
&lt;br /&gt;
Later on we can support customisable shorthand codes to make data entry quick (eg type &#039;ab&#039; for absent, or &#039;nge&#039; for not good enough).&lt;br /&gt;
&lt;br /&gt;
See [http://test.moodle.com/grade/report/grader/index.php?id=2 the test site] for a live demo of this report.&lt;br /&gt;
&lt;br /&gt;
=== Default participant interface ===&lt;br /&gt;
This interface will be what participants see by default:&lt;br /&gt;
&lt;br /&gt;
Some snippets of functionality:&lt;br /&gt;
&lt;br /&gt;
*Invert the grid to show one item per row, with the total/average at the bottom.&lt;br /&gt;
*Use second/third columns to show categories.&lt;br /&gt;
*Include ranking score in another column.&lt;br /&gt;
*Show feedback&lt;br /&gt;
*Show percentage&lt;br /&gt;
*No editing functionality.&lt;br /&gt;
&lt;br /&gt;
See [http://test.moodle.com/grade/report/user/index.php?id=2 the test site] for a live demo of this report.&lt;br /&gt;
&lt;br /&gt;
=== Outcomes report ===&lt;br /&gt;
This simple informational report displays all the outcomes used by the course, with the following information:&lt;br /&gt;
&lt;br /&gt;
*Outcome name&lt;br /&gt;
*Overall average: If the outcome is used by more than one activity, this shows you the mean across all these activities in the current course&lt;br /&gt;
*Site-wide: Yes or No: A site-wide outcome is automatically made available to all courses.&lt;br /&gt;
*Activities: A list of links to the activities in the current course that use each outcome. One row per activity (table splits here)&lt;br /&gt;
*Average: For each activity using the outcome, the average score is shown.&lt;br /&gt;
*Number of grades: For each activity using the outcome, the number of grades is shown (non-graded participants are ignored)&lt;br /&gt;
&lt;br /&gt;
See [http://test.moodle.com/grade/report/outcomes/index.php?id=2 the test site] for a live demo of this report.&lt;br /&gt;
&lt;br /&gt;
=== Overview report ===&lt;br /&gt;
Another basic report, showing a participant&#039;s course averages in each of the courses in which s/he has received grades.&lt;br /&gt;
&lt;br /&gt;
See [http://test.moodle.com/grade/report/overview/index.php the test site] for a live demo of this report.&lt;br /&gt;
&lt;br /&gt;
== Export plugins ==&lt;br /&gt;
&lt;br /&gt;
The API for these is extremely simple.  Each export plugin should occupy a directory under /grade/export/xyz and needs to provide only an index.php file as a the primary interface. This file just accepts a &#039;courseid&#039; parameter.&lt;br /&gt;
&lt;br /&gt;
== Import plugins ==&lt;br /&gt;
&lt;br /&gt;
Each import plugin should occupy a directory under /grade/import/xyz and needs to provide only an index.php file as a the primary interface.  This file just accepts a &#039;courseid&#039; parameter.&lt;br /&gt;
&lt;br /&gt;
The index.php will show an interface for further options and selections.&lt;br /&gt;
&lt;br /&gt;
Import plugin must validate data before starting the import operation, if some parts of import fail the user must be notified.&lt;br /&gt;
&lt;br /&gt;
Some sample import plugins are:&lt;br /&gt;
&lt;br /&gt;
===Import from CSV===&lt;br /&gt;
&lt;br /&gt;
Accepts an upload of (or URL to) a CSV file.  Multiple options describe how to process the file, which columns to add etc.  The imported grades always override current grades.&lt;br /&gt;
&lt;br /&gt;
===Import from XML===&lt;br /&gt;
&lt;br /&gt;
Accepts an upload of (or URL to) an XML file with this kind of format (from OU). &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;results batch=&amp;quot;[someuniqueimportnumber]&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;result&amp;gt;&lt;br /&gt;
         &amp;lt;state&amp;gt;[&#039;new&#039; or &#039;regrade&#039;]&amp;lt;/state&amp;gt;&lt;br /&gt;
             &amp;lt;assignment&amp;gt;[idnumber]&amp;lt;/assignment&amp;gt;&lt;br /&gt;
             &amp;lt;student&amp;gt;[studentid]&amp;lt;/student&amp;gt;&lt;br /&gt;
             &amp;lt;score&amp;gt;[score]&amp;lt;/score&amp;gt;&lt;br /&gt;
         &amp;lt;/result&amp;gt;&lt;br /&gt;
         &amp;lt;result&amp;gt;&lt;br /&gt;
             &amp;lt;state&amp;gt;[&#039;new&#039; or &#039;regrade&#039;]&amp;lt;/state&amp;gt;&lt;br /&gt;
             &amp;lt;assignment&amp;gt;[idnumber]&amp;lt;/assignment&amp;gt;&lt;br /&gt;
             &amp;lt;student&amp;gt;[studentid]&amp;lt;/student&amp;gt;&lt;br /&gt;
             &amp;lt;score&amp;gt;[score]&amp;lt;/score&amp;gt;&lt;br /&gt;
         &amp;lt;/result&amp;gt;&lt;br /&gt;
         [...]&lt;br /&gt;
 &amp;lt;/results&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Capabilities and Permissions ==&lt;br /&gt;
&lt;br /&gt;
* moodle/grade:view  -  view own grades or grades of other user if used in CONTEXT_USER&lt;br /&gt;
&lt;br /&gt;
* moodle/grade:viewall - view grades of all users&lt;br /&gt;
&lt;br /&gt;
* moodle/grade:viewhidden - see grades that are marked as hidden for the owner&lt;br /&gt;
&lt;br /&gt;
* moodle/grade:hide - be able to hide/unhide cells, items or categories&lt;br /&gt;
&lt;br /&gt;
* moodle/grade:lock - be able to lock cells, items or categories&lt;br /&gt;
&lt;br /&gt;
* moodle/grade:unlock - be able to unlock cells, items or categories&lt;br /&gt;
&lt;br /&gt;
* moodle/grade:manage - manage grade items and categories in gradebook (create, edit, lock, hide, delete, etc.)&lt;br /&gt;
&lt;br /&gt;
* moodle/grade:import - general import grades, requires separate permission for each plugin&lt;br /&gt;
&lt;br /&gt;
* moodle/grade:export - export grades, requires separate permission for each plugin&lt;br /&gt;
&lt;br /&gt;
* gradereport/grader:view - can view the grader report&lt;br /&gt;
&lt;br /&gt;
* gradeimport/csv:view - can view/use the csv import plugin&lt;br /&gt;
&lt;br /&gt;
* gradeexport/csv:view - can view/use the csv export plugin&lt;br /&gt;
&lt;br /&gt;
* moodle:site/accessallgroups&lt;br /&gt;
&lt;br /&gt;
== Development Tasks and Tracking ==&lt;br /&gt;
&lt;br /&gt;
For details of 1.9 development see [http://tracker.moodle.org/browse/MDL-9137 MDL-9137]&lt;br /&gt;
&lt;br /&gt;
For details of 2.0 development see [https://docs.moodle.org/en/Development:Gradebook_improvements Gradebook_imporovements] and [http://tracker.moodle.org/browse/MDL-19131 MDL-19131]&lt;br /&gt;
&lt;br /&gt;
==Updating module code==&lt;br /&gt;
Module authors must implement new gradebook API and add upgrade code for migration of old grades into new gradebook. Fortunately the needed changes are not big.&lt;br /&gt;
&lt;br /&gt;
Steps:&lt;br /&gt;
*add xxx_update_grades() function into mod/xxx/lib.php&lt;br /&gt;
*add xxx_grade_item_update() function into mod/xxx/lib.php&lt;br /&gt;
*patch xxx_update_instance(), xxx_add_instance() and xxx_delete_instance() to call xxx_grade_item_update()&lt;br /&gt;
*patch all places of code that change grade values to call xxx_update_grades()&lt;br /&gt;
*patch code that displays grades to students to use final grades from the gradebook&lt;br /&gt;
&lt;br /&gt;
There are many examples in official modules, assignment has the most advanced implementation.&lt;br /&gt;
&lt;br /&gt;
== Ideas for the future ==&lt;br /&gt;
{{Moodle 2.1}}&lt;br /&gt;
See [[Gradebook_improvements]] and MDL-25423 for details of planned future enhancements&lt;br /&gt;
&lt;br /&gt;
*option to aggregate including/excluding hidden grades - needs db changes&lt;br /&gt;
*option to rollback all changes during import operation if anything fails&lt;br /&gt;
*performance improvements&lt;br /&gt;
*conditional activities&lt;br /&gt;
*course completion criteria&lt;br /&gt;
*better public API for modules&lt;br /&gt;
*better API for gradebook plugins&lt;br /&gt;
*better state tracking in export plugins&lt;br /&gt;
*ajax reports&lt;br /&gt;
*specialised reports&lt;br /&gt;
*submission and marking date tracking db changes&lt;br /&gt;
*calculation formula improvements&lt;br /&gt;
*historical views&lt;br /&gt;
*individual graph of grades (time vs %). Bar graph, lineal graph. Add (or not) the maximum posible; line of 0 (=minimum), 25, 50 (=median), 75 and 100 (=max) percentils of the group&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=69223&amp;amp;mode=3 Gradebook Development ideas] forum discussion&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=51107 New gradebook for Moodle] forum discussion&lt;br /&gt;
* [[Gradebook Report Tutorial]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Grades]]&lt;br /&gt;
[[Category:Interfaces]]&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Activity_modules&amp;diff=32501</id>
		<title>Activity modules</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Activity_modules&amp;diff=32501"/>
		<updated>2012-02-24T23:40:53Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Activity modules reside in the &#039;&#039;&#039;/mod&#039;&#039;&#039; directory. Each module is in a separate subdirectory and consists of the following mandatory elements (plus extra scripts unique to each module):&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;mod_form.php&#039;&#039; - a form to set up or update an instance of this module&lt;br /&gt;
* &#039;&#039;[[version.php]]&#039;&#039; - defines some meta-info&lt;br /&gt;
* &#039;&#039;pix/icon.gif&#039;&#039; - a 16x16 icon for the module&lt;br /&gt;
* &#039;&#039;db/install.xml&#039;&#039; - defines the structure of db tables for all database types. Is used during module installation&lt;br /&gt;
* &#039;&#039;db/upgrade.php&#039;&#039; - defines changes in the structure of db tables. Is used during module upgrade&lt;br /&gt;
* &#039;&#039;db/access.php&#039;&#039; - defines module capabilities&lt;br /&gt;
* &#039;&#039;index.php&#039;&#039; - a page to list all instances in a course&lt;br /&gt;
* &#039;&#039;view.php&#039;&#039; - a page to view a particular instance&lt;br /&gt;
* &#039;&#039;lib.php&#039;&#039; - any/all functions defined by the module should be in here. If the module name is called &#039;&#039;&#039;widget&#039;&#039;&#039;, then the required functions include:&lt;br /&gt;
:* widget_install() - will be called during the installation of the module&lt;br /&gt;
:* widget_add_instance() - code to add a new instance of widget&lt;br /&gt;
:* widget_update_instance() - code to update an existing instance&lt;br /&gt;
:* widget_delete_instance() - code to delete an instance&lt;br /&gt;
:* widget_user_outline() - given an instance, return a summary of a user&#039;s contribution&lt;br /&gt;
:* widget_user_complete() - given an instance, print details of a user&#039;s contribution&lt;br /&gt;
:* widget_get_view_actions() / widget_get_post_actions() - Used by the participation report (course/report/participation/index.php) to classify actions in the logs table.&lt;br /&gt;
:* Other functions available but not required are:&lt;br /&gt;
:** widget_delete_course() - code to clean up anything that would be leftover after all instances are deleted&lt;br /&gt;
:** widget_process_options() - code to pre-process the form data from module settings&lt;br /&gt;
:** [[Implementing Reset course functionality in a module|widget_reset_course_form() and widget_delete_userdata()]] - used to implement [[Reset course]] feature.&lt;br /&gt;
:* To avoid possible conflict, any module functions should be named starting with widget_ and any constants you define should start with WIDGET_&lt;br /&gt;
* &#039;&#039;backuplib.php&#039;&#039; and &#039;&#039;restorelib.php&#039;&#039; (optional)&lt;br /&gt;
* &#039;&#039;settings.php&#039;&#039; or &#039;&#039;settingstree.php&#039;&#039; - (optional) a definition of an admin settings page for this module. mod/assignment/settings.php is a good simple example. mod/quiz/settingstree.php is a more complex example.&lt;br /&gt;
* &#039;&#039;defaults.php&#039;&#039; - lets you easily define default values for your configuration variables. It is included by upgrade_activity_modules in lib/adminlib.php. It should define an array $defaults. These values are then loaded into the config table. Alternatively, if you set $defaults[&#039;_use_config_plugins&#039;] to true, the values are instead loaded into the config_plugins table, which is better practice. See mod/quiz/defaults.php for an example. (This apparently only works with moodle 2.x branch.)&lt;br /&gt;
* &#039;&#039;lang/en/widget.php&#039;&#039; - (optional) Lastly, each module will have some language files that contain strings for that module.&lt;br /&gt;
&lt;br /&gt;
=== IMPORTANT: ===&lt;br /&gt;
* When creating a new module, the new name of the module must not contain numbers or other special characters!&lt;br /&gt;
&lt;br /&gt;
* You need a &#039;&#039;data base table&#039;&#039; with the same name as your module. This table must have at least three fields: &lt;br /&gt;
*# id &lt;br /&gt;
*# course &lt;br /&gt;
*# name&lt;br /&gt;
&lt;br /&gt;
* You should also make sure that your activity module provides appropriate support for groups and meta-courses. &lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* Moodle 2.x activity module template [https://github.com/moodlehq/moodle-mod_newmodule https://github.com/moodlehq/moodle-mod_newmodule] for developing new modules.&lt;br /&gt;
* [[Blocks]]&lt;br /&gt;
* [[Backup]]&lt;br /&gt;
* Tracker issue [http://tracker.moodle.org/browse/CONTRIB-52 CONTRIB-52 Improvements to make NEWMODULE really useful] - including download link for new module template supporting roles, formslib etc. (unfinished) &lt;br /&gt;
* http://download.moodle.org/plugins16/mod/NEWMODULE.zip - new module template for versions of Moodle prior to 1.7. Please follow the README instructions inside the zip.&lt;br /&gt;
* [[NEWMODULE_Documentation]]&lt;br /&gt;
&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=66165 A new resource type: where do I put the language strings?]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=65986 New Module Template Code for Moodle 1.7]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=90154 LEGACY roles and capabilities]&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
[[Category:Tutorial]]&lt;br /&gt;
[[Category:Plugins]]&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12224</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12224"/>
		<updated>2010-08-20T16:42:20Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* SWF Activity Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
The module documentation on this page is out of date. Please see the [[SWF Activity Module]] project site for up to date downloads, documentation and help.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve moved the project code and documentation to Google Code: [http://code.google.com/p/swf-activity-module/ code.google.com/p/swf-activity-module/]&lt;br /&gt;
&lt;br /&gt;
The most recent downloads and documentation are available there.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying Flash and Flex Framework learning applications as activities in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that functions if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting AKA [http://blogs.adobe.com/mikepotter/2006/12/amfphp_adds_amf.html AMF3], a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[AMF3]] Flash Remoting for Moodle.&lt;br /&gt;
* [http://code.google.com/p/moodle-mplayer/ Media Player] Activity Module for deploying video in Moodle as an activity. Leverages the full range of functions of Jeroen Wijering&#039;s JW FLV Player.&lt;br /&gt;
* [http://matbury.com/ Matt Bury&#039;s website and Moodle] with demos of SWF Activity Module and Media Player modules.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12223</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12223"/>
		<updated>2010-03-13T02:01:47Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
The module documentation on this page is out of date. Please see the SWF Activity Module project site for up to date downloads, documentation and help.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve moved the project code and documentation to Google Code: [http://code.google.com/p/swf-activity-module/ code.google.com/p/swf-activity-module/]&lt;br /&gt;
&lt;br /&gt;
The most recent downloads and documentation are available there.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying Flash and Flex Framework learning applications as activities in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that functions if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting AKA [http://blogs.adobe.com/mikepotter/2006/12/amfphp_adds_amf.html AMF3], a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[AMF3]] Flash Remoting for Moodle.&lt;br /&gt;
* [http://code.google.com/p/moodle-mplayer/ Media Player] Activity Module for deploying video in Moodle as an activity. Leverages the full range of functions of Jeroen Wijering&#039;s JW FLV Player.&lt;br /&gt;
* [http://matbury.com/ Matt Bury&#039;s website and Moodle] with demos of SWF Activity Module and Media Player modules.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12222</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12222"/>
		<updated>2010-03-13T02:00:00Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* SWF Activity Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
The module documentation on this page is out of date. Please see the SWF Activity Module project site for up to date downloads, documentation and help.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve moved the project code and documentation to Google Code: [http://code.google.com/p/swf-activity-module/ code.google.com/p/swf-activity-module/]&lt;br /&gt;
&lt;br /&gt;
The most recent downloads and documentation are available there.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying Flash and Flex Framework learning applications as activities in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that functions if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting AKA [http://blogs.adobe.com/mikepotter/2006/12/amfphp_adds_amf.html AMF3], a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[AMF3]] Flash Remoting for Moodle.&lt;br /&gt;
* [[FLV Player]] Activity Module for deploying video in Moodle as an activity. Leverages the full range of functions of Jeroen Wijering&#039;s JW FLV Player.&lt;br /&gt;
* [http://matbury.com/ Matt Bury&#039;s website and Moodle]&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12221</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12221"/>
		<updated>2010-03-13T01:58:38Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* SWF Activity Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
I&#039;ve moved the project code and documentation to Google Code: [http://code.google.com/p/swf-activity-module/ code.google.com/p/swf-activity-module/]&lt;br /&gt;
&lt;br /&gt;
The most recent downloads and documentation are available there.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying Flash and Flex Framework learning applications as activities in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that functions if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting AKA [http://blogs.adobe.com/mikepotter/2006/12/amfphp_adds_amf.html AMF3], a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[AMF3]] Flash Remoting for Moodle.&lt;br /&gt;
* [[FLV Player]] Activity Module for deploying video in Moodle as an activity. Leverages the full range of functions of Jeroen Wijering&#039;s JW FLV Player.&lt;br /&gt;
* [http://matbury.com/ Matt Bury&#039;s website and Moodle]&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Talk:NEWMODULE_Documentation&amp;diff=28195</id>
		<title>Talk:NEWMODULE Documentation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Talk:NEWMODULE_Documentation&amp;diff=28195"/>
		<updated>2009-12-03T14:29:47Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Old stuff moved out of the way ==&lt;br /&gt;
&lt;br /&gt;
Daniele, did you know about [[Modules]], which is linked to from [[Developer_documentation#Make_a_new_plugin]]? You may be better off editing that, rather than starting a new page. However don&#039;t let me discourage you. That documentation is very limited, and badly needs to be expanded, so it is absolutely brilliant that you want to work on it.--[[User:Tim Hunt|Tim Hunt]] 12:03, 28 March 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
::Good point Tim! Anyway... I think we can use this as temporary root for Daniele&#039;s work and then, simply, move things to their final place. Let&#039;s see how this evolves. -- [[User:Eloy Lafuente (stronk7)|Eloy Lafuente (stronk7)]] 12:33, 28 March 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[http://lyceum.open.ac.uk/temp/creating_moodle_modules.ppt My powerpoint about creating moodle modules] is a bit old (1.8) and maybe not that comprehensible but I use it when I&#039;m trying to explain things to people. It includes a list of all the things you need to have in a module, except the ones I forgot (backuplib iirc is missing). [[User:sam marshall|sam marshall]] 12:52, 28 March 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
::That&#039;s really great, Sam. For sure that presentation will help.Thanks! -- [[User:Eloy Lafuente (stronk7)|Eloy Lafuente (stronk7)]] 13:08, 28 March 2008 (CDT)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Dear Tim, Sam and Eloy, I wrote what was my learning path on these issues. I wrote whatever I found in your powerpoint guide (thanks again, Sam) and whatever I got mainly from Tim, Eloy and Petr. A lot of issues are still obscure to me like: grades, groups, groupings, backup and so forth. Please let me know your opinion to make all together a plan to carry on in the best way. Thanks. -- [[User:Daniele Cordella|Daniele Cordella]] 11:55, 10 September 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
: Just moved the old discussion stuff here. --[[User:Frank Ralf|Frank Ralf]] 07:55, 29 September 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Formatting tips ==&lt;br /&gt;
&lt;br /&gt;
Hi Daniele, Thanks for starting this documentation. &lt;br /&gt;
&lt;br /&gt;
You might consider using more sub-headings instead of bullet points as those will show up in the contents section and make for easier navigation.&lt;br /&gt;
&lt;br /&gt;
And when you use &amp;lt;nowiki&amp;gt;&amp;lt;code php&amp;gt;&amp;lt;/nowiki&amp;gt; you will get syntax highlighting for your code.&lt;br /&gt;
&lt;br /&gt;
There were also suggestions to incorporate Unit 7 of http://dev.moodle.org/course/view.php?id=2 into Moodle Docs (http://dev.moodle.org/mod/forum/discuss.php?d=360). --[[User:Frank Ralf|Frank Ralf]] 08:05, 29 September 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Grades ==&lt;br /&gt;
&lt;br /&gt;
Thanks for the great work Daniele! This is such an improvement :)&lt;br /&gt;
&lt;br /&gt;
I can&#039;t find any reference to pushing grades into Moodle&#039;s grade book in the NEWMODULE docs. I think this is a core function of the majority of activity modules and would like to see it documented or at least referenced here. Will this be included in the not too distant future?&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=NEWMODULE_FAQ&amp;diff=8144</id>
		<title>NEWMODULE FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=NEWMODULE_FAQ&amp;diff=8144"/>
		<updated>2009-09-22T15:34:08Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* Q: How can I provide the needed code to: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Work in progress}}&lt;br /&gt;
{{New_Module}}&lt;br /&gt;
&lt;br /&gt;
== Q: Where do I have to start? ==&lt;br /&gt;
A: The content of your module is in moodle/mod/widget/view.php&lt;br /&gt;
If you look inside that file you will find the row: &amp;quot;Write your code here&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Q: How can I check required variables like &amp;quot;Course Module ID&amp;quot; and &amp;quot;widget ID&amp;quot;? ==&lt;br /&gt;
A: Use&lt;br /&gt;
$id = optional_param(&#039;id&#039;, 0, PARAM_INT); // Course Module ID, or&lt;br /&gt;
$a = optional_param(&#039;a&#039; , 0, PARAM_INT); // widget ID&lt;br /&gt;
An example of use of these two check can be easily found in your moodle/mod/widget/view.php (row 15 to 41)&lt;br /&gt;
If you miss this step, the file can be called directly by writing their address in the web browser and unauthorized user can get them.&lt;br /&gt;
&lt;br /&gt;
== Q: Are some more variables needed to check for security reasons? ==&lt;br /&gt;
A: ???????????&lt;br /&gt;
&lt;br /&gt;
== Q: What is provided &amp;quot;for free&amp;quot; by the Moodle environment, alias, which set of variables are provided as &amp;quot;ready to use&amp;quot; ==&lt;br /&gt;
A: You have availability of all the global Moodle variables (CFG-&amp;gt;xxx), the object $USER (in which it is saved all the information the current user entered in his/her login form)&lt;br /&gt;
More over you have the availability of the $course array and of some information about your specific widget module.&lt;br /&gt;
It follow the description of the variables you are free to use:&lt;br /&gt;
CFG-&amp;gt;&lt;br /&gt;
$USER&lt;br /&gt;
$course-&amp;gt;id&lt;br /&gt;
$cm-&amp;gt;id&lt;br /&gt;
There are a lot more variables that are beyong the scope of this moodle docs page that are, for this reason, going to be neglected.&lt;br /&gt;
Belong to this list of neglected variables, for instance, $THEME, $???&lt;br /&gt;
Some examples:&lt;br /&gt;
if (CFG-&amp;gt;xxx == &#039;&#039;) {&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
== Q: Why is this set of variables so important? ==&lt;br /&gt;
A: At any moment you may need to:&lt;br /&gt;
*reload the widget page&lt;br /&gt;
To call the instance of you module page, you need to call:&lt;br /&gt;
$CFG-&amp;gt;wwwroot.&#039;/mod/newmodule/view.php?id=&#039;.$cm-&amp;gt;id&lt;br /&gt;
$cm stands for course module (Is this true??????????)&lt;br /&gt;
*return to the main course page&lt;br /&gt;
To return back to the course page, you need to call:&lt;br /&gt;
$CFG-&amp;gt;wwwroot.&#039;/course/view.php?id=&#039;.$course-&amp;gt;id&lt;br /&gt;
&lt;br /&gt;
== Q: My module lives in the view.php page only. How can I tell my code I want an output (of something) in a different page and not at the bottom of the view.php page? ==&lt;br /&gt;
A:&lt;br /&gt;
&lt;br /&gt;
== Q: How to put a form into a module. ==&lt;br /&gt;
A:&lt;br /&gt;
&lt;br /&gt;
== Q: How can I distinguish part of code for admins/teachers/ from the code for simple users, alias, how can I take advantages of the new feature offered up to Moodle 1.9 ==&lt;br /&gt;
*groups&lt;br /&gt;
*role&lt;br /&gt;
*capabilities&lt;br /&gt;
A:&lt;br /&gt;
&lt;br /&gt;
== Q: How can I provide the needed code to ==&lt;br /&gt;
*backup my widget module&lt;br /&gt;
*restore my widget module&lt;br /&gt;
A:&lt;br /&gt;
&lt;br /&gt;
== Q: How can I provide the needed code to: ==&lt;br /&gt;
*upgrade the XML tables my module is based on&lt;br /&gt;
A: Use the moodle-&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Q: How can I push students&#039; grades from the module into the Moodle gradebook? ==&lt;br /&gt;
&lt;br /&gt;
A: ???&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12220</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12220"/>
		<updated>2009-02-23T13:43:07Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* SWF Activity Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve moved the project code and documentation to Google Code: [http://code.google.com/p/moodle-swf/ code.google.com/p/moodle-swf]&lt;br /&gt;
&lt;br /&gt;
The most recent downloads and documentation are available there.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying Flash and Flex Framework learning applications as activities in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that functions if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting AKA [http://blogs.adobe.com/mikepotter/2006/12/amfphp_adds_amf.html AMF3], a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[AMF3]] Flash Remoting for Moodle.&lt;br /&gt;
* [[FLV Player]] Activity Module for deploying video in Moodle as an activity. Leverages the full range of functions of Jeroen Wijering&#039;s JW FLV Player.&lt;br /&gt;
* [http://matbury.com/ Matt Bury&#039;s website and Moodle]&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12219</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12219"/>
		<updated>2009-02-02T01:10:15Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying Flash and Flex Framework learning applications as activities in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that functions if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting AKA [http://blogs.adobe.com/mikepotter/2006/12/amfphp_adds_amf.html AMF3], a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[AMF3]] Flash Remoting for Moodle.&lt;br /&gt;
* [[FLV Player]] Activity Module for deploying video in Moodle as an activity. Leverages the full range of functions of Jeroen Wijering&#039;s JW FLV Player.&lt;br /&gt;
* [http://matbury.com/ Matt Bury&#039;s website and Moodle]&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12218</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12218"/>
		<updated>2009-02-02T01:09:48Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* swf_interaction_data fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying Flash and Flex Framework learning applications as activities in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that functions if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting AKA [http://blogs.adobe.com/mikepotter/2006/12/amfphp_adds_amf.html AMF3], a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[AMF3]] Flash Remoting for Moodle.&lt;br /&gt;
* [[FLV Player]] Activity Module for deploying video in Moodle as an activity. Leverages the full range of functions of Jeroen Wijering&#039;s JW FLV Player.&lt;br /&gt;
* [http://matbury.com/ Matt Bury&#039;s website and Moodle]&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12217</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12217"/>
		<updated>2009-01-30T02:39:29Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* What features does it support? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying Flash and Flex Framework learning applications as activities in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that functions if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting AKA [http://blogs.adobe.com/mikepotter/2006/12/amfphp_adds_amf.html AMF3], a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12216</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12216"/>
		<updated>2009-01-30T02:39:01Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* Required Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying Flash and Flex Framework learning applications as activities in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that functions if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting AKA [http://blogs.adobe.com/mikepotter/2006/12/amfphp_adds_amf.html AMF3], a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12215</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12215"/>
		<updated>2009-01-30T02:38:45Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* SWFObject */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying Flash and Flex Framework learning applications as activities in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that functions if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting AKA [http://blogs.adobe.com/mikepotter/2006/12/amfphp_adds_amf.html AMF3], a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12214</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12214"/>
		<updated>2009-01-30T02:37:57Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* What is the SWF Activity Module? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying Flash and Flex Framework learning applications as activities in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting AKA [http://blogs.adobe.com/mikepotter/2006/12/amfphp_adds_amf.html AMF3], a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12213</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12213"/>
		<updated>2009-01-30T02:22:27Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* AMFPHP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting AKA [http://blogs.adobe.com/mikepotter/2006/12/amfphp_adds_amf.html AMF3], a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12212</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12212"/>
		<updated>2009-01-30T02:18:07Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* How does is work? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting, a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12211</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12211"/>
		<updated>2009-01-30T02:17:23Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* Advanced Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting, a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12210</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12210"/>
		<updated>2009-01-30T02:16:57Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* swf_interaction_data fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting, a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12209</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12209"/>
		<updated>2009-01-30T02:16:33Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* swf_interactions fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting, a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12208</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12208"/>
		<updated>2009-01-30T02:15:53Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* swf_interaction_data fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting, a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Question&lt;br /&gt;
* catext - Correct answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* watext - Wrong answers (for multiple choice, use pipe separator as delimiter)&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12207</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12207"/>
		<updated>2009-01-30T02:14:25Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* swf_interactions fields */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting, a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable - Default is swf_interaction_data but this allows for further, more specialised tables to be used&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Questions&lt;br /&gt;
* catext - Correct answers&lt;br /&gt;
* watext - Wrong answers&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12206</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12206"/>
		<updated>2009-01-30T02:11:19Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* Learning Interaction Data DB Structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting, a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;br /&gt;
&lt;br /&gt;
====swf_interactions fields====&lt;br /&gt;
&lt;br /&gt;
* id&lt;br /&gt;
* course&lt;br /&gt;
* name&lt;br /&gt;
* intro&lt;br /&gt;
* introformat&lt;br /&gt;
* amftable&lt;br /&gt;
* interaction&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====swf_interaction_data fields====&lt;br /&gt;
&lt;br /&gt;
* id&lt;br /&gt;
* interaction - ID of interaction (id of swf_interactions)&lt;br /&gt;
* ordernum - Allow sequential ordering of rows&lt;br /&gt;
* amp3 - URL of answer MP3 file&lt;br /&gt;
* qmp3 - URL of quesition MP3 file&lt;br /&gt;
* smp3 - URL of additional MP3 file&lt;br /&gt;
* image - URL of image file&lt;br /&gt;
* video - URL of FLV file&lt;br /&gt;
* ptext - Paragraph text&lt;br /&gt;
* qtext - Questions&lt;br /&gt;
* catext - Correct answers&lt;br /&gt;
* watext - Wrong answers&lt;br /&gt;
* timecreated&lt;br /&gt;
* timemodified&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12205</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12205"/>
		<updated>2009-01-30T02:02:46Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* Learning Interaction Data DB Structure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting, a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms.&lt;br /&gt;
&lt;br /&gt;
Also, standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. Using Adobe AIR will also provide convenient backup of interaction data and a means to easily transfer and distribute learning interactions.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12204</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12204"/>
		<updated>2009-01-30T02:00:47Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* FlashVars */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What&#039;s Next?==&lt;br /&gt;
&lt;br /&gt;
===Moodle Grades===&lt;br /&gt;
&lt;br /&gt;
One of the most requested features for Flash and Flex Framework learning applications deployed in Moodle is for them to have the ability to record learners&#039; activities in Moodle&#039;s Gradebook.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===AMFPHP===&lt;br /&gt;
&lt;br /&gt;
The most powerful and flexible way for Flash and Flex Framework learning applications to interact with Moodle APIs, databases and web services is via Flash Remoting, a communication protocol which is similar to JSON but much faster. It allows Flash and Flex Framework learning applications to directly call PHP methods and pass a number of different data types back and forth seamlessly.&lt;br /&gt;
&lt;br /&gt;
For more details about using AMFPHP in Moodle, see [[AMF3]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Learning Interaction Data DB Structure===&lt;br /&gt;
&lt;br /&gt;
A standardised DB table structure to store learning interaction data with a variety of methods to populate the tables with data, including Moodle forms, dynamic Flash or Flex Framework on-line forms and standalone Adobe AIR desktop GUI applications, which can store data locally using SQLite, to create and edit learning interactions and then upload them. The AIR option will also provide convenient backup and a means to easily transfer and distribute learning interactions.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12203</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12203"/>
		<updated>2009-01-30T01:41:52Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* Advanced Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key (SWF Activity Module custom parameter)&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
You can find more details about these parameters in the [http://code.google.com/p/swfobject/wiki/documentation SWFObject Documentation].&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12202</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12202"/>
		<updated>2009-01-30T01:33:06Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* XML Data Loading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is a native data type to ActionScript 3.0 therefore Flash and Flex Framework learning applications use E4X notation to manipulate XML data in a similar way to a multidimensional array. For more details, see [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/ Adobe Actionscript 3.0 Language and Components Reference]. XML is also currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12201</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12201"/>
		<updated>2009-01-30T01:23:47Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* What features does it support? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction data to consume (AMFPHP)&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12200</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12200"/>
		<updated>2009-01-30T01:21:56Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* FlashVars */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* amftable - table name to retrieve learning interaction data from&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction to consume&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12199</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12199"/>
		<updated>2009-01-30T01:16:04Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* FlashVars */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* amftable - table name to retrieve learning interaction data from&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction to consume&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;smalltxt&amp;quot; id=&amp;quot;tablestructure3&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;thead&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th id=&amp;quot;th&amp;quot;&amp;gt;Field&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;th id=&amp;quot;th9&amp;quot;&amp;gt;Type&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;th id=&amp;quot;th10&amp;quot;&amp;gt;Collation&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;th id=&amp;quot;th18&amp;quot;&amp;gt;Attributes&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;th id=&amp;quot;th19&amp;quot;&amp;gt;Null&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;th id=&amp;quot;th20&amp;quot;&amp;gt;Default&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;th id=&amp;quot;th21&amp;quot;&amp;gt;Extra&amp;lt;/th&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;/thead&amp;gt;&lt;br /&gt;
    &amp;lt;tbody&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_1&amp;quot;&amp;gt;&amp;lt;u&amp;gt;id&amp;lt;/u&amp;gt;&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;bigint(10) &amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;UNSIGNED&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;auto_increment&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_2&amp;quot;&amp;gt;course&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;bigint(10) &amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;UNSIGNED&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;0&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_3&amp;quot;&amp;gt;name&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(255)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_4&amp;quot;&amp;gt;intro&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;mediumtext&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_5&amp;quot;&amp;gt;introformat&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;smallint(4) &amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;UNSIGNED&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;0&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_6&amp;quot;&amp;gt;swfurl&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(255)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_7&amp;quot;&amp;gt;width&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(5)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_8&amp;quot;&amp;gt;height&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(5)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_9&amp;quot;&amp;gt;version&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(20)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_10&amp;quot;&amp;gt;interactionid&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;int(11) &amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;UNSIGNED&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_12&amp;quot;&amp;gt;xmlurl&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(255)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_13&amp;quot;&amp;gt;apikey&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;text&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_14&amp;quot;&amp;gt;play&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(6)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_15&amp;quot;&amp;gt;loopswf&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(6)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_16&amp;quot;&amp;gt;menu&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(6)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_17&amp;quot;&amp;gt;quality&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(11)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_18&amp;quot;&amp;gt;scale&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(25)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_19&amp;quot;&amp;gt;salign&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(2)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_20&amp;quot;&amp;gt;wmode&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(25)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_21&amp;quot;&amp;gt;bgcolor&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(6)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_22&amp;quot;&amp;gt;devicefont&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(6)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_23&amp;quot;&amp;gt;seamlesstabbing&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(6)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_24&amp;quot;&amp;gt;allowfullscreen&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(6)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_25&amp;quot;&amp;gt;allowscriptaccess&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(11)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_26&amp;quot;&amp;gt;allownetworking&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(11)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_27&amp;quot;&amp;gt;align&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;varchar(11)&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_28&amp;quot;&amp;gt;flashvar1&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;text&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_29&amp;quot;&amp;gt;flashvar2&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;text&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_30&amp;quot;&amp;gt;flashvar3&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;text&amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;utf8_unicode_ci&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;Yes&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;em&amp;gt;NULL&amp;lt;/em&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_31&amp;quot;&amp;gt;timecreated&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;bigint(10) &amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;UNSIGNED&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;0&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
      &amp;lt;tr&amp;gt;&lt;br /&gt;
        &amp;lt;th nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;label for=&amp;quot;checkbox_row_32&amp;quot;&amp;gt;timemodified&amp;lt;/label&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;bdo dir=&amp;quot;ltr&amp;quot; xml:lang=&amp;quot;en&amp;quot;&amp;gt;bigint(10) &amp;lt;/bdo&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;UNSIGNED&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td&amp;gt;No&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;0&amp;lt;/td&amp;gt;&lt;br /&gt;
        &amp;lt;td nowrap=&amp;quot;nowrap&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;/tbody&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12198</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12198"/>
		<updated>2009-01-30T01:13:18Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* FlashVars */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* amftable - table name to retrieve learning interaction data from&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction to consume&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;strong&amp;gt;HTML text&amp;lt;/strong&amp;gt;&amp;lt;/html&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12197</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12197"/>
		<updated>2009-01-30T01:12:15Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* How does is work? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
===SWFObject===&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module uses [http://code.google.com/p/swfobject/ SWFObject] as the default embed method for Flash and Flex Framework learning applications. The module also incorporates standard XHTML 1.0 strict object and embed code that function if SWFObject fails for any reason, e.g. If the user has Javascript blocked in his/her browser.&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. Help files are included in the SWF Activity Module in English and provide further details about the parameters. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* amftable - table name to retrieve learning interaction data from&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction to consume&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12196</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12196"/>
		<updated>2009-01-30T01:03:53Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* What features does it support? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* amftable - table name to retrieve learning interaction data from&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction to consume&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12195</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12195"/>
		<updated>2009-01-28T11:14:39Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* SWF Activity Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Last uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* amftable - table name to retrieve learning interaction data from&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module // not working in Moodle 1.9&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction to consume&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12194</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12194"/>
		<updated>2009-01-28T11:11:56Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* SWF Activity Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip] Uploaded 28th January 2009&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* amftable - table name to retrieve learning interaction data from&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module // not working in Moodle 1.9&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction to consume&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12193</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12193"/>
		<updated>2009-01-28T11:11:22Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* What features does it support? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip]&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* amftable - table name to retrieve learning interaction data from&lt;br /&gt;
* course - the current Moodle course that the user is accessing&lt;br /&gt;
* instance - Instance ID of the module // not working in Moodle 1.9&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interaction - The ID of the SWF learning interaction to consume&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12192</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12192"/>
		<updated>2009-01-28T11:09:26Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* SWF Activity Module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
The current Beta version is available here: [http://matbury.com/assets/SWF.zip SWF.zip]&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* amftable - table name to retrieve learning interaction data from&lt;br /&gt;
* courseid - the current Moodle course that the user is accessing&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interactionid - The ID of the SWF learning interaction to consume&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12191</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12191"/>
		<updated>2009-01-25T01:25:40Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* FlashVars */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* amftable - table name to retrieve learning interaction data from&lt;br /&gt;
* courseid - the current Moodle course that the user is accessing&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interactionid - The ID of the SWF learning interaction to consume&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FlashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12190</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12190"/>
		<updated>2009-01-23T03:30:23Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* XML Data Loading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* amftable - table name to retrieve learning interaction data from&lt;br /&gt;
* courseid - the current Moodle course that the user is accessing&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interactionid - The ID of the SWF learning interaction to consume&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is [http://en.wikipedia.org/wiki/IMS_Global IMS]&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FLashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12189</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12189"/>
		<updated>2009-01-23T03:28:38Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* XML Data Loading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* amftable - table name to retrieve learning interaction data from&lt;br /&gt;
* courseid - the current Moodle course that the user is accessing&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interactionid - The ID of the SWF learning interaction to consume&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used format is IMS&#039;s standard [http://en.wikipedia.org/wiki/QTI QTI] (Question and Test Interoperability specification) but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FLashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12188</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12188"/>
		<updated>2009-01-23T03:20:08Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* What features does it support? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module automatically provides a deployed SWF learning activity application with the following data:&lt;br /&gt;
&lt;br /&gt;
* gateway - URL to gateway script for access to AMFPHP service library&lt;br /&gt;
* amftable - table name to retrieve learning interaction data from&lt;br /&gt;
* courseid - the current Moodle course that the user is accessing&lt;br /&gt;
* swfid - The ID of the SWF learning activity application&lt;br /&gt;
* interactionid - The ID of the SWF learning interaction to consume&lt;br /&gt;
* moodledata - The URL to access the current moodledata course directory (file.php)&lt;br /&gt;
&lt;br /&gt;
It also supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used formats are SCORM and AICC but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FLashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12187</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12187"/>
		<updated>2009-01-23T03:10:48Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* FlashVars */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used formats are SCORM and AICC but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;br /&gt;
&lt;br /&gt;
FlashVars is a method for passing string data into a SWF file. It is passed in from the printed HTML page that the SWF file is embedded in. It&#039;s ideally suited to very simple data sets such a vocabulary lists or series of numerical values. For learning activities such as hangman, crosswords, word searches, etc., FLashVars is simple, efficient and easy to use.&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12186</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12186"/>
		<updated>2009-01-23T03:05:54Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* XML Data Loading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions. The most commonly used formats are SCORM and AICC but basically any valid XML file with the appropriate data tree structure can be loaded into and consumed by a SWF file.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12185</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12185"/>
		<updated>2009-01-23T03:02:26Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* XML Data Loading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
XML is currently the most commonly used format for providing elearning data for learning interactions.&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12184</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12184"/>
		<updated>2009-01-23T02:53:02Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* Flash Remoting (AMF) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle and more information about Flash Remoting technologies.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12183</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12183"/>
		<updated>2009-01-23T02:51:36Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* Flash Remoting (AMF) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [[AMF3]] for details on how to set up AMFPHP in Moodle.&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12182</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12182"/>
		<updated>2009-01-23T02:51:04Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==What features does it support?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module supports a number of features, specific to Flash and Flex applications. They are:&lt;br /&gt;
&lt;br /&gt;
===Flash Remoting (AMF)===&lt;br /&gt;
&lt;br /&gt;
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: &lt;br /&gt;
&lt;br /&gt;
See [Development:AMF3] for details on how to set up AMFPHP in Moodle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===XML Data Loading===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FlashVars===&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12181</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12181"/>
		<updated>2009-01-23T02:40:11Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* Advanced Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script Access&lt;br /&gt;
* Allow Networking&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12180</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12180"/>
		<updated>2009-01-23T02:37:55Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: /* Advanced Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;br /&gt;
* Align&lt;br /&gt;
* Auto Play&lt;br /&gt;
* Loop Playback&lt;br /&gt;
* Menu&lt;br /&gt;
* Quality&lt;br /&gt;
* Scale Mode&lt;br /&gt;
* Stage Align&lt;br /&gt;
* Window Mode&lt;br /&gt;
* Background&lt;br /&gt;
* Use Device Font&lt;br /&gt;
* Seamless Tabbing&lt;br /&gt;
* Allow Full Screen&lt;br /&gt;
* Allow Script&lt;br /&gt;
* Allow Networking&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12179</id>
		<title>SWF</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=SWF&amp;diff=12179"/>
		<updated>2009-01-23T02:34:57Z</updated>

		<summary type="html">&lt;p&gt;Mattbury: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==SWF Activity Module==&lt;br /&gt;
&lt;br /&gt;
This page relates to the SWF Activity Module which is currently under development.&lt;br /&gt;
&lt;br /&gt;
==What is the SWF Activity Module?==&lt;br /&gt;
&lt;br /&gt;
The SWF Activity Module provides a comprehensive and flexible method for deploying SWF (Flash and Flex) files as learning interactions in a Moodle course.&lt;br /&gt;
&lt;br /&gt;
==How does is work?==&lt;br /&gt;
&lt;br /&gt;
Once installed, select SWF from an &amp;quot;Add an activity&amp;quot; list on a Moodle course page. The standard &amp;quot;Adding a new SWF to topic... &amp;quot; moodleform will appear. In this form you can set the following parameters:&lt;br /&gt;
&lt;br /&gt;
===Required Parameters===&lt;br /&gt;
&lt;br /&gt;
The required parameters are:&lt;br /&gt;
&lt;br /&gt;
* As with all Moodle activities, name and intro.&lt;br /&gt;
* SWF file&lt;br /&gt;
* Height&lt;br /&gt;
* Width&lt;br /&gt;
* Version&lt;br /&gt;
&lt;br /&gt;
===Optional Parameters===&lt;br /&gt;
&lt;br /&gt;
* AMF Interaction (Not yet implemented)&lt;br /&gt;
* XML file URL&lt;br /&gt;
* FlashVars #1&lt;br /&gt;
* FlashVars #2&lt;br /&gt;
* FlashVars #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Advanced Parameters===&lt;br /&gt;
&lt;br /&gt;
* API Key&lt;/div&gt;</summary>
		<author><name>Mattbury</name></author>
	</entry>
</feed>