<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/24/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Everythingfla</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/24/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Everythingfla"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/24/en/Special:Contributions/Everythingfla"/>
	<updated>2026-05-15T11:22:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/24/en/index.php?title=Flash&amp;diff=79781</id>
		<title>Flash</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/24/en/index.php?title=Flash&amp;diff=79781"/>
		<updated>2010-12-27T02:51:39Z</updated>

		<summary type="html">&lt;p&gt;Everythingfla: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Flash content can easily be included in your courses.&lt;br /&gt;
&lt;br /&gt;
==General instructions for insertion==&lt;br /&gt;
If you have the [[Filters|filter]] for the Flash [[Multimedia plugins|multimedia plugin]] enabled then simply linking to the file in an [[HTML in Moodle|HTML]] area such as a [[Label|label]], [[HTML block]] or [[Course sections#Editing_sections|section description]] will also display the Flash file inline. At the moment all flash files will play at the same size site-wide by default. &lt;br /&gt;
&lt;br /&gt;
You can use HTML code and the object tag to set individual movie sizes which will work with most browsers except Microsoft&#039;s Internet Explorer.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;object width=&amp;quot;600&amp;quot; height=&amp;quot;400&amp;quot; classid=&amp;quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&amp;quot;&amp;lt;br&amp;gt;   codebase=&amp;lt;br&amp;gt; &amp;quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0&amp;quot;&amp;gt;&amp;lt;br&amp;gt;  &amp;lt;param name=&amp;quot;movie&amp;quot; value=&amp;quot;http://yoursite.org/file.php/2/movie.swf&amp;quot; /&amp;gt;&amp;lt;br&amp;gt;  &amp;lt;param name=&amp;quot;quality&amp;quot; value=&amp;quot;high&amp;quot; /&amp;gt; &amp;lt;embed width=&amp;quot;600&amp;quot; height=&amp;quot;400&amp;quot; &amp;lt;br&amp;gt; src=&amp;quot;http://yoursite.org/file.php/2/movie.swf&amp;quot; quality=&amp;quot;high&amp;quot; &amp;lt;br&amp;gt; type=&amp;quot;application/x-shockwave-flash&amp;quot; &amp;lt;br&amp;gt; pluginspage=&amp;quot;http://www.macromedia.com/go/getflashplayer&amp;quot; /&amp;gt;&amp;lt;/object&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; If using the .swf filter you can control display size by adding the following parameters to the end of the link to specify size: ?d=widthxheight (for example ?d=600x400  where the image is 600 pixels wide 400 pixels high). You can use up to 3 characters for the width and the height, plus an optional % symbol at the end.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039;  There are also other ways to achieve sizing control. See the [http://moodle.org/mod/forum/discuss.php?d=29588 Size of embedded Flash] forum posts for some hacks.&lt;br /&gt;
&lt;br /&gt;
===Update 2008===&lt;br /&gt;
The following code works in IE7 and Firefox 3:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;embed width=&amp;quot;600&amp;quot; height=&amp;quot;400&amp;quot; type=&amp;quot;application/x-shockwave-flash&amp;quot; &lt;br /&gt;
src=&amp;quot;http://YOURSITE.com/path/to/your/swffile/swf&amp;quot; &lt;br /&gt;
id=&amp;quot;myFlashId&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot; quality=&amp;quot;high&amp;quot; wmode=&amp;quot;opaque&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Insert captivate into Moodle==&lt;br /&gt;
See [[Adobe captivate]] for exporting a SCROM file and bringing that into Moodle.&lt;br /&gt;
&lt;br /&gt;
==Insert flash into a lesson page==&lt;br /&gt;
Inserting a Flash file into a [[Lesson Pages|lesson page]] (either a content or question page) is similar to the above.&lt;br /&gt;
===Simple example===&lt;br /&gt;
1. Place a swf file on your server that can be found with a URL address&lt;br /&gt;
:: For example, place the file &amp;quot;IT_Pro.swf&amp;quot; in the web root.  This might be in your htdocs or www folder of your webserver&lt;br /&gt;
2. Go to a Lesson page in edit mode. If you want text to appear above or below the flash object, place your words in the content area, then&lt;br /&gt;
&lt;br /&gt;
3. Use the &amp;quot;Toggle the HTML source&amp;quot; icon to switch to TEXT MODE&lt;br /&gt;
&lt;br /&gt;
4. Paste the HTML code that will play the flash file in front or after your words (see below for an example:&lt;br /&gt;
: &amp;lt;nowiki&amp;gt;&amp;lt;a href=&amp;quot;http://localhost/IT_Pro.swf&amp;quot;&amp;gt;http://localhost/IT_Pro.swf&amp;lt;/a&amp;gt;&amp;lt;/nowiki&amp;gt; &lt;br /&gt;
&lt;br /&gt;
5. Set the jumps on the lesson page&lt;br /&gt;
&lt;br /&gt;
6. Save the page.&lt;br /&gt;
===Example that sizes flash display window===&lt;br /&gt;
You can use some object code to control the display size of the swf file.   Here is some code used on a localhost to display an image in a 600x400 pixel frame in a Branch Table page.  The file is in the same location as the simple example above.  &lt;br /&gt;
&lt;br /&gt;
TIP: This was tested in Moodle 1.9.9 .  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;object height=&amp;quot;400&amp;quot; width=&amp;quot;600&amp;quot; codebase=&amp;quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0&amp;quot; classid=&amp;quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&amp;quot;&amp;gt; &amp;lt;param value=&amp;quot;http://localhost/IT_Pro.swf&amp;quot; name=&amp;quot;movie&amp;quot; /&amp;gt; &amp;lt;param value=&amp;quot;high&amp;quot; name=&amp;quot;quality&amp;quot; /&amp;gt; &amp;lt;embed height=&amp;quot;400&amp;quot; width=&amp;quot;600&amp;quot; pluginspage=&amp;quot;http://www.macromedia.com/go/getflashplayer&amp;quot; type=&amp;quot;application/x-shockwave-flash&amp;quot; quality=&amp;quot;high&amp;quot; src=&amp;quot;http://localhost/IT_Pro.swf&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/object&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that both the file location and frame size appears 2 times in the code.   Be sure to change both for best results.&lt;br /&gt;
&lt;br /&gt;
:TIP: You can play a swf file uploaded into your course.   For example, in the course Files, a folder Lesson01 was created and the IT_Pro.swf file place there.  By clicking on the swf file name, you should see a popup window with the playing swf file.  Copy the URL address at the top.   For example here is the URL for the file on a localhost that is located in the course Files, in a folder called &amp;quot;Lesson01&amp;quot;:&lt;br /&gt;
:&amp;lt;nowiki&amp;gt;http://localhost/moodle199/file.php/3/Lesson01/IT_Pro.swf&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
You can plug that value into the above code to get: &lt;br /&gt;
:&amp;lt;nowiki&amp;gt;&amp;lt;object height=&amp;quot;400&amp;quot; width=&amp;quot;600&amp;quot; codebase=&amp;quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0&amp;quot; classid=&amp;quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&amp;quot;&amp;gt; &amp;lt;param value=&amp;quot;http://localhost/moodle199/file.php/3/Lesson01/IT_Pro.swf&amp;quot; name=&amp;quot;movie&amp;quot; /&amp;gt; &amp;lt;param value=&amp;quot;high&amp;quot; name=&amp;quot;quality&amp;quot; /&amp;gt; &amp;lt;embed height=&amp;quot;400&amp;quot; width=&amp;quot;600&amp;quot; pluginspage=&amp;quot;http://www.macromedia.com/go/getflashplayer&amp;quot; type=&amp;quot;application/x-shockwave-flash&amp;quot; quality=&amp;quot;high&amp;quot; src=&amp;quot;http://localhost/moodle199/file.php/3/Lesson01/IT_Pro.swf&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/object&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Possible code tweak needed in Lesson===&lt;br /&gt;
Based upon Lesson forum discussions, in Moodle 1.9.9 (and probably earlier versions),the ./mod/lesson/view.php code was tweaked so the line&lt;br /&gt;
 format_text($page-&amp;gt;contents, FORMAT_MOODLE, $options).&lt;br /&gt;
was changed to:&lt;br /&gt;
 format_text($page-&amp;gt;contents, FORMAT_HTML, $options).&lt;br /&gt;
And of course the Site administration &amp;gt;Modules&amp;gt;Filters&amp;gt; Manage filers &amp;quot;Multi media&amp;quot; should be active and under Multi Media Plugins &amp;quot;swf files&amp;quot; enable.&lt;br /&gt;
&lt;br /&gt;
==Some external links to Flash file generating programs==&lt;br /&gt;
This is not a comprehensive list nor an endorsement of any product.&lt;br /&gt;
*[http://www.openoffice.org/ Open Office, an open source program] can export-create a Flash swf file in Impress, the presentation module.  Very basic output.&lt;br /&gt;
*[http://www.adobe.com/products/flash/ Adobe/Macromedia Flash site] &amp;quot;The&amp;quot; serious program, now owned by Adobe and part of their Creative Suite.&lt;br /&gt;
*[http://www.debugmode.com/wink/ Wink] freeware program. Basic output functions, steps up from OO Impress but not even close to Adobe Flash.&lt;br /&gt;
*[http://osflash.org/projects Open Source Flash Organization] list of projects probably best viewed by developers, not teachers&lt;br /&gt;
*CamStudio (open source) [http://camstudio.org camstudio.org]&lt;br /&gt;
*Jing (free, but not open source) [http://www.jingproject.com jingproject.com]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Flash_module]] How to install a Flash plugin module.&lt;br /&gt;
*[[Files]] for teachers&lt;br /&gt;
*[[Filters]] part of the administration block&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=37119 Multimedia plugin vs object embed] forum discussion&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=29588 Size of embedded Flash] forum discussion&lt;br /&gt;
*[http://code.google.com/p/swf-activity-module/ SWF Activity Module] - A user friendly Flash embed method ideal for learning interactions also provides framework for pushing grades into Moodle&#039;s grade book&lt;br /&gt;
*[http://code.google.com/p/moodle-mplayer/ Media Player module] A user friendly Flash video embed method which also supports YouTube.com and a whole host of interactive plugins&lt;br /&gt;
*[http://everythingfla.com Learn Flash online] ActionScript and Flash online school &lt;br /&gt;
&lt;br /&gt;
* [[Screencasts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Flash]]&lt;br /&gt;
[[ja:Flash]]&lt;br /&gt;
[[pl:Flash]]&lt;br /&gt;
[[ru:Flash]]&lt;/div&gt;</summary>
		<author><name>Everythingfla</name></author>
	</entry>
</feed>