Aiuto:Inserimento fileflash: differenze tra le versioni

Tratto da EduEDA
Jump to: navigation, search
Riga 3: Riga 3:
 
<nowiki><flash>file=filename.swf|attribute=value|...</flash></nowiki>
 
<nowiki><flash>file=filename.swf|attribute=value|...</flash></nowiki>
  
Attribute Reference
+
=== Attribute Reference ===
 +
* '''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)''
  
    * 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)
 
  
 +
=== Examples ===
 +
<code><nowiki><flash></nowiki>file=happy.swf|width=10%|height=30|quality=best<nowiki></flash></nowiki></code>
 +
<br/>Shows the movie with the best quality with a width of 10% and a height of 30 pixels.
  
Examples
+
<code><nowiki><flash></nowiki>file=cool.swf|width=200|height=300|bgcolor=#FDE742|scale=exactfit<nowiki></flash></nowiki></code>
 
+
<br/>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.
<flash>file=happy.swf|width=10%|height=30|quality=best</flash>
+
Shows the movie with the best quality with a width of 10% and a height of 30 pixels.
+
 
+
<flash>file=cool.swf|width=200|height=300|bgcolor=#FDE742|scale=exactfit</flash>
+
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.
+

Revisione 14:14, 12 Mag 2006

Per inserire un'file flash utilizzare il seguente codice:

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

Attribute Reference

  • 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)


Examples

<flash>file=happy.swf|width=10%|height=30|quality=best</flash>
Shows the movie with the best quality with a width of 10% and a height of 30 pixels.

<flash>file=cool.swf|width=200|height=300|bgcolor=#FDE742|scale=exactfit</flash>
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.