Spring Manual

Embedding Flash

To embed a Flash file on a page, while editing a page, click the HTML icon and enter the following snippet of HTML:

<p>
<select name="flash">
<option value="path">/path/to/flash/file.swf</option>
<option value="height">100</option>
<option value="width">200</option>
</select>
</p>

Adjust the value of path, height and width to suit your flash file.

Options

path

required, can not be used at the same time as 'file'

The full path to the flash file.

Examples:

<option value="path">/path/to/flash/file.swf</option>

<option value="path">http://www.anotherdomain.com/path/to/flash/file.swf</option>

file

required, can not be used at the same time as 'path'

The filename of the flash file - Spring will assume the file is attached to the current page, and will work out the correct path.

Examples:

<option value="file">file.swf</option>

width

required, number

The width in pixels.

Examples:

<option value="width">100</option>

height

required, number

The height in pixels.

Examples:

<option value="height">200</option>

wmode

optional

Some flash files require a transparent background. To enable this, add the following <option>.

Examples:

<option value="wmode">transparent</option>

version

optional, number

The minimum version number of the Flash player you wish to target.

Examples:

<option value="version">6</option>

color

optional, hexadecimal value

The background color of the flash object as a hexadecimal color value.

Examples:

<option value="color">ff0000</option>