FLASH Parameters

The following parameters and attributes apply to a flash animation inside an HTML document:

Tag

Value

 

Example

Description

SRC

File name

bmp00006.gif

src=filename.swf"

Flash file name

MOVIE

File name

bmp00007.gif

movie="filename.swf"

FLASH file name

CLASSID

Identification code

bmp00007.gif

classid="clsid:d27cdb6e-

ae6d-11cf-96b8-

444553540000"

Control identifier for the browser

 

WIDTH

Pixels or %

bmp00006.gif

bmp00007.gif

width="100" or width="25%"

Width of the animation area. This value may be expressed as a percentage or in pixels.

HEIGHT

Pixels or %

bmp00006.gif

bmp00007.gif

height="100" or height="25%"

Height of the animation area. This value may be expressed as a percentage or in pixels.

CODEBASE

URL

bmp00007.gif

http://active.macromedia.com/ flash4/cabs/swflash.cab

#version="4,0,0,0"

Location of the downloadable Active X control.

PLUGINSPAGE

URL

bmp00006.gif

http://www.macromedia.com/ shockwave/download/

Location of the downloadable Shockwave module.

SWLIVECONNECT

True
False

bmp00006.gif

srcswliveconnect="true".

Auto Start Java (true) or not
(false) when animation
is loaded

PLAY

True
False

bmp00006.gif

bmp00007.gif

play="true"

<param name="play" value="true">

Automatic Start of animation (true), or not
(false), when page
is loaded.

LOOP

True
False

bmp00006.gif

bmp00007.gif

loop="true"

<param name="loop" value="true">

Repeat infinitely (true)
or only once (false).

QUALITY

Low, high, autolow, autohigh, best

bmp00006.gif

bmp00007.gif

quality="high"

<param name="quality" value="high">

The animation's antialias quality level.

 

BGCOLOR

RGB
hexadecimal value

bmp00006.gif

bmp00007.gif

bgcolor="#ff0000"

<param name="bgcolor" value="ff0000">

Animation's background color.

SCALE

Showall, noborder, exactfit

bmp00006.gif

bmp00007.gif

scale="noborder"

<param name="scale" value="noborder">

Animation's resizing
definition.

ALIGN

L (left) R (right)
T
 (top) B (border)

bmp00006.gif

bmp00007.gif

align="r"

<param name="align" value="r">

Animation's placement on display.

SALIGN

L (left) R (right)
T
 (top) B (border)
or a combination
TL
- TR - BLBR

bmp00006.gif

bmp00007.gif

salign="tl"

<param name="salign" value="tl">

Animation's placement on display.

BASE

URL

bmp00007.gif

<param name="base" value="url">

Name of directory where the animation
is located. With Netscape, this directory is defined with the SRC command.

MENU

True
False

bmp00006.gif

bmp00007.gif

menu="true"

<param name="menu" value=" true ">

Type of context menu over the animation.

WMODE

Window, opage, transparent

bmp00007.gif

<param name="wmode" value="window">

Establishes whether the objects that accompany the Flash animation are visible.