Attention : vous consultez actuellement la documentation dédiée aux versions 1.x de Moodle. La documentation pour les versions 2.x de Moodle est consultable ici : Flash, celle pour les versions 3.x de Moodle est consultable ici : Flash et celle pour Moodle 4.x est consultable là : Flash.

« Flash » : différence entre les versions

De MoodleDocs
Aller à :navigation, rechercher
Aucun résumé des modifications
Aucun résumé des modifications
 
Ligne 1 : Ligne 1 :
Flash
{{En cours de traduction}}
From MoodleDocs
Jump to: navigation, search
 
Des contenus au format Flash peuvent être aisément intégrés dans vos cours.
Des contenus au format Flash peuvent être aisément intégrés dans vos cours.


[hide]
==Instructions générales pour l'insertion de contenus au format Flash==
 
    * 1 Instructions générales pour l'insertion de contenus au format Flash
          o 1.1 Mise à jour 2008
    * 2 Insérer un objet flash dans une leçon
    * 3 Quelques liens externes pour Flash file generating programs
    * 4 Voir également
 
Instructions générales pour l'insertion de contenus au format Flash


Si vous avez coché "Activer le filtre .swf" dans le filtre des Extensions multimédia vous pouvez simplement créer un lien vers votre fichier sous forme de code HTML dans une étiquette, un bloc HTML ou une section descriptive qui permettront d'afficher votre fichier Flash. Alors tous les fichiers flash vont être configurés sur la même taille (largeur / hauteur) paramétrée par défaut pour tout le site.  
Si vous avez coché "Activer le filtre .swf" dans le filtre des Extensions multimédia vous pouvez simplement créer un lien vers votre fichier sous forme de code HTML dans une étiquette, un bloc HTML ou une section descriptive qui permettront d'afficher votre fichier Flash. Alors tous les fichiers flash vont être configurés sur la même taille (largeur / hauteur) paramétrée par défaut pour tout le site.  


Vous pouvez utiliser du code HTML et le tag "object" pour définir des paramètres personnalisés pour votre fichier Flash, cela fonctionne dans la plupart des navigateurs excepté Internet Explorer de Microsoft.
Vous pouvez utiliser du code HTML et le tag "object" pour définir des paramètres personnalisés pour votre fichier Flash, cela fonctionne dans la plupart des navigateurs excepté Internet Explorer de Microsoft.
<object width="600" height="400" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"<br>  codebase=<br> "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"><br>  <param name="movie" value="http://yoursite.org/file.php/2/movie.swf" /><br>  <param name="quality" value="high" /> <embed width="600" height="400" <br> src="http://yoursite.org/file.php/2/movie.swf" quality="high" <br> type="application/x-shockwave-flash" <br> pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>


<object width="600" height="400" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
:''TIP:'' 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.
  codebase=
"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
  <param name="movie" value="http://yoursite.org/file.php/2/movie.swf" />
  <param name="quality" value="high" /> <embed width="600" height="400"
src="http://yoursite.org/file.php/2/movie.swf" quality="high"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>


    TIP: 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.  
:''TIP:''  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.


    TIP: There are also other ways to achieve sizing control. See the Size of embedded Flash forum posts for some hacks.
===Mise à jour 2008===
 
Le code suivant fonctionne avec IE7 et Firefox 3 :
Update 2008
 
The following code works in IE7 and Firefox 3:


<pre>
<embed width="600" height="400" type="application/x-shockwave-flash"  
<embed width="600" height="400" type="application/x-shockwave-flash"  
src="http://YOURSITE.com/path/to/your/swffile/swf"  
src="http://YOURSITE.com/path/to/your/swffile/swf"  
id="myFlashId" bgcolor="#ffffff" quality="high" wmode="opaque" />
id="myFlashId" bgcolor="#ffffff" quality="high" wmode="opaque" />
</pre>


Insert flash into a lesson page
==Insérer un objet flash dans une leçon==
 
Inserting a Flash file into a [[Leçon|lesson page]] (either a branch or question page) is similar to the above.
Inserting a Flash file into a lesson page (either a branch or question page) is similar to the above.
#Publish the SWF and HTML upload the SWF to a central location on your server.  
 
#Then copy and paste the HTML code (between the object tags) and  
  1. Publish the SWF and HTML upload the SWF to a central location on your server.
#place that in the HTML side of your question (switch to HTML view).
  2. Then copy and paste the HTML code (between the object tags) and
# Change the value in your HTML code
  3. place that in the HTML side of your question (switch to HTML view).
##Example: Change this <nowiki><param name="movie" value="MyFlashFile.swf"</nowiki> to this <nowiki><param name="movie" value="http://www.myserver.com/flash_files/MyFlashFile.swf"</nowiki>
  4. Change the value in your HTML code
# Repeat the same step, but change the src instead.
        1. Example: Change this <param name="movie" value="MyFlashFile.swf" to this <param name="movie" value="http://www.myserver.com/flash_files/MyFlashFile.swf"  
##Example:<nowiki><embed src="http://www.myserver.com/flash_files/MyFlashFile.swf"</nowiki>
  5. Repeat the same step, but change the src instead.
#Save the question
        1. Example:<embed src="http://www.myserver.com/flash_files/MyFlashFile.swf"  
  6. Save the question  
 
Some external links to Flash file generating programs


==Quelques liens externes vers des programmes permettant de générer des fichiers Flash==
This is not a comprehensive list nor an endorsement of any product.
This is not a comprehensive list nor an endorsement of any product.
*[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.
*[http://www.adobe.com/products/flash/ Adobe/Macromedia Flash site] "The" serious program, now owned by Adobe and part of their Creative Suite.
*[http://www.debugmode.com/wink/ Wink] freeware program. Basic output functions, steps up from OO Impress but not even close to Adobe Flash.
*[http://osflash.org/projects Open Source Flash Organization] list of projects probably best viewed by developers, not teachers
*CamStudio (open source) [http://camstudio.org camstudio.org]
*Jing (free, but not open source) [http://www.jingproject.com jingproject.com]


    * Open Office, an open source program can export-create a Flash swf file in Impress, the presentation module. Very basic output.
== Voir aussi ==
    * Adobe/Macromedia Flash site "The" serious program, now owned by Adobe and part of their Creative Suite.
*[[:en:Flash_module]] How to install a Flash plugin module.
    * Wink freeware program. Basic output functions, steps up from OO Impress but not even close to Adobe Flash.
*[[Fichiers]] pour les enseignants
    * Open Source Flash Organization list of projects probably best viewed by developers, not teachers
*[[Filtres]] dans le bloc d'administration
    * CamStudio (open source) camstudio.org
*La discussion [http://moodle.org/mod/forum/discuss.php?d=37119 Multimedia plugin vs object embed]
    * Jing (free, but not open source) jingproject.com
*La discussion [http://moodle.org/mod/forum/discuss.php?d=29588 Size of embedded Flash]
 
*[[:en:Development:SWF]] SWF Activity Module - A user friendly Flash embed method ideal for learning interactions
See also
*[[:en:FLV Player]] A user friendly Flash video embed method which also supports YouTube.com
*[[:en:Screencasts]]


    * Flash_module How to install a Flash plugin module.
[[Catégorie:Administrateur]]
    * Files for teachers
[[Catégorie:Enseignant]]
    * Filters part of the administration block
    * Multimedia plugin vs object embed forum discussion
    * Size of embedded Flash forum discussion
    * Development:SWF SWF Activity Module - A user friendly Flash embed method ideal for learning interactions
    * FLV Player A user friendly Flash video embed method which also supports YouTube.com
    * Screencasts


Retrieved from "https://docs.moodle.org/en/Flash"
[[en:Flash]]
Categories: Administrator | Teacher

Dernière version du 2 juillet 2009 à 10:20

Remarque : la traduction de cet article n'est pas terminée. N'hésitez pas à traduire tout ou partie de cette page ou à la compléter. Vous pouvez aussi utiliser la page de discussion pour vos recommandations et suggestions d'améliorations.


Des contenus au format Flash peuvent être aisément intégrés dans vos cours.

Instructions générales pour l'insertion de contenus au format Flash

Si vous avez coché "Activer le filtre .swf" dans le filtre des Extensions multimédia vous pouvez simplement créer un lien vers votre fichier sous forme de code HTML dans une étiquette, un bloc HTML ou une section descriptive qui permettront d'afficher votre fichier Flash. Alors tous les fichiers flash vont être configurés sur la même taille (largeur / hauteur) paramétrée par défaut pour tout le site.

Vous pouvez utiliser du code HTML et le tag "object" pour définir des paramètres personnalisés pour votre fichier Flash, cela fonctionne dans la plupart des navigateurs excepté Internet Explorer de Microsoft.

<object width="600" height="400" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase=
"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
<param name="movie" value="http://yoursite.org/file.php/2/movie.swf" />
<param name="quality" value="high" /> <embed width="600" height="400"
src="http://yoursite.org/file.php/2/movie.swf" quality="high"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
TIP: 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.
TIP: There are also other ways to achieve sizing control. See the Size of embedded Flash forum posts for some hacks.

Mise à jour 2008

Le code suivant fonctionne avec IE7 et Firefox 3 :

<embed width="600" height="400" type="application/x-shockwave-flash" 
src="http://YOURSITE.com/path/to/your/swffile/swf" 
id="myFlashId" bgcolor="#ffffff" quality="high" wmode="opaque" />

Insérer un objet flash dans une leçon

Inserting a Flash file into a lesson page (either a branch or question page) is similar to the above.

  1. Publish the SWF and HTML upload the SWF to a central location on your server.
  2. Then copy and paste the HTML code (between the object tags) and
  3. place that in the HTML side of your question (switch to HTML view).
  4. Change the value in your HTML code
    1. Example: Change this <param name="movie" value="MyFlashFile.swf" to this <param name="movie" value="http://www.myserver.com/flash_files/MyFlashFile.swf"
  5. Repeat the same step, but change the src instead.
    1. Example:<embed src="http://www.myserver.com/flash_files/MyFlashFile.swf"
  6. Save the question

Quelques liens externes vers des programmes permettant de générer des fichiers Flash

This is not a comprehensive list nor an endorsement of any product.

Voir aussi