QED:Flash

From QED

Revision as of 04:55, 13 October 2006 by Peak (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Contents

Syntax

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

where the value of the file attribute is the uploaded file name, and the attribute=value pairs are described below.

Example

<flash>file=Education_468x60_h1379.swf|width=50%</flash>

This is the example above. width may also be specified in pixels (e.g. 500px).

Attribute Reference

width=px or % Specify the width in pixels or as a percentage
height=px or a% Specify the height in pixels or as a percentage
play=true or false Start playing the file or wait at first frame (defaults to true)
loop=true or false Loop the animation (default istrue)
quality=low/autolow/medium/high/autohigh/best Specify the quality
devicefont=true or false Change the look of the text
bgcolor=#xxxxxx background color - each x represents a hexadecimal integer: 0-9, A-F
scale=showall/noborder/exactfit Automatically adjust content to width and height
menu=true or false Show or hide the menu on right-click
resize=true or false If true, the width and height will be rescaled based on the screen resolution; this is useful if width and height are given in pixels.

If resize is specified, the adjustment assumes that the specified width and height are intended for a 1280x1024 screen. The resize parameter is a QED enhancement.

Other options have not been tested.

See also

Personal tools