Aiuto:Inserimento fileflash: differenze tra le versioni

Tratto da EduEDA
Jump to: navigation, search
 
(5 versioni intermedie di 3 utenti non mostrate)
Riga 1: Riga 1:
Per inserire un'file flash utilizzare il seguente codice:
+
Per inserire un file flash (in formato swf) su EduEDA si deve innanzi tutto trasferire il file swf tramite ftp nello spazio web dedicato a EduEDA. Per fare questo dovete contattare l'amministratore (tommaso.tozzi@unifi.it).
  
<nowiki><flash>file=filename.swf|attribute=value|...</flash></nowiki>
+
Una volta che il file swf è stato inserito per richiamarlo e visualizzarlo all'interno di un articolo copiare e incollare la seguente linea di codice facendo le debite modifiche:
  
Attribute Reference
+
<nowiki>
 +
<flash>file=filename.swf|attribute=value|...</flash>
 +
</nowiki>
  
    * width=px or % (Modify the width of the object)
+
=== Examples ===
    * height=px or a% (Modify the height of the object)
+
esempio:
    * play=true/false (Start playing the file or wait at first frame, default:true)
+
    * loop=true/false (Loop the animation, default:true)
+
    * quality=low/autolow/medium/high/autohigh/best (Predefine the quality)
+
    * devicefont=true/false (Change the look of the text used in flash file)
+
    * bgcolor=#?????? (? -> Hexadecimal integer: 1-9, A-F)
+
    * scale=showall/noborder/exactfit (Automatically adjust content to width and height)
+
    * menu=true/false (Show or hide the menu on right-click)
+
  
 +
<code><nowiki><flash></nowiki>file=happy.swf|width=10%|height=30|quality=best<nowiki></flash></nowiki></code>
 +
<br/>Mostra l'animazione con la migliore qualità e con una larghezza del 10% dell'originale e un'altezza di 30 pixel.
  
Examples
+
<code><nowiki><flash></nowiki>file=cool.swf|width=200|height=300|bgcolor=#FDE742|scale=exactfit<nowiki></flash></nowiki></code>
 +
<br/>Mostra l'animazione con una larghezza di 200 pixel e un'altezza di 300 pixel. Il colore di sfondo è light-yellow (#FDE742). L'animazione mantiene le proprie proporzioni all'interno della dimensione di 200x300 pixel.
  
<flash>file=happy.swf|width=10%|height=30|quality=best</flash>
+
=== Attribute Reference ===
Shows the movie with the best quality with a width of 10% and a height of 30 pixels.
+
significato ed utilizzo degli attributi
  
<flash>file=cool.swf|width=200|height=300|bgcolor=#FDE742|scale=exactfit</flash>
+
* '''width'''=px or % ''(Modify the width of the object)''
Shows the movie with a width of 200 and a height of 300. The background color is light-yellow (#FDE742). The content of the movie is stretched to the size of 200x300.
+
* '''height'''=px or a% ''(Modify the height of the object)''
 +
* '''play'''=true/false ''(Start playing the file or wait at first frame, default:true)''
 +
* '''loop'''=true/false ''(Loop the animation, default:true)''
 +
* '''quality'''=low/autolow/medium/high/autohigh/best ''(Predefine the quality)''
 +
* '''devicefont'''=true/false ''(Change the look of the text used in flash file)''
 +
* '''bgcolor'''=#?????? ''(? -> Hexadecimal integer: 1-9, A-F)''
 +
* '''scale'''=showall/noborder/exactfit ''(Automatically adjust content to width and height)''
 +
* '''menu'''=true/false ''(Show or hide the menu on right-click)''

Versione attuale delle 11:41, 20 Nov 2012

Per inserire un file flash (in formato swf) su EduEDA si deve innanzi tutto trasferire il file swf tramite ftp nello spazio web dedicato a EduEDA. Per fare questo dovete contattare l'amministratore (tommaso.tozzi@unifi.it).

Una volta che il file swf è stato inserito per richiamarlo e visualizzarlo all'interno di un articolo copiare e incollare la seguente linea di codice facendo le debite modifiche:

<flash>file=filename.swf|attribute=value|...</flash>

Examples

esempio:

<flash>file=happy.swf|width=10%|height=30|quality=best</flash>
Mostra l'animazione con la migliore qualità e con una larghezza del 10% dell'originale e un'altezza di 30 pixel.

<flash>file=cool.swf|width=200|height=300|bgcolor=#FDE742|scale=exactfit</flash>
Mostra l'animazione con una larghezza di 200 pixel e un'altezza di 300 pixel. Il colore di sfondo è light-yellow (#FDE742). L'animazione mantiene le proprie proporzioni all'interno della dimensione di 200x300 pixel.

Attribute Reference

significato ed utilizzo degli attributi

  • width=px or % (Modify the width of the object)
  • height=px or a% (Modify the height of the object)
  • play=true/false (Start playing the file or wait at first frame, default:true)
  • loop=true/false (Loop the animation, default:true)
  • quality=low/autolow/medium/high/autohigh/best (Predefine the quality)
  • devicefont=true/false (Change the look of the text used in flash file)
  • bgcolor=#?????? (? -> Hexadecimal integer: 1-9, A-F)
  • scale=showall/noborder/exactfit (Automatically adjust content to width and height)
  • menu=true/false (Show or hide the menu on right-click)