Shockwave for Director 369
Interactivity
Shockwave for Director
Web Design in a Nutshell, eMatter Edition
Thewidthandheightvalues are mandatory and specify the dimensions of the
movie in pixels. Thepluginspageattribute provides a URL to the page where the
user can download the Shockwave plug-in if it is not found on the user’s
computer (the URL shown in the previous example will work). It is a recom-
mended, but not mandatory, attribute.
Netscape 2.0 does not support the<embed>tag within a table cell. It
is supported properly only in NN3.0+ and IE3.0+, so use caution
when using tables.
The following additional attributes, which are specific to controlling Director
Shockwave movies, can be added to the
NAME=text
This assigns a name to the movie, which is necessary if it is going to be called
from a JavaScript or within a form.
PALETTE=background|foreground
This determines how the movie’s palette affects the user’s system when
Shockwave plays the movie.Backgrounduses the viewer’s system palette
and is recommended for most movies.Foregroundcauses the movie’s palette
to take over the user’s system (it is not supported by Internet Explorer).
BGCOLOR=#rrggbb
Defines the color of the movie rectangle before the movie appears. The value
is specified in hexadecimal RGB values and can be set to match the back-
ground color of the web page (see Chapter 5, HTML Overview, for an
explanation of this color-naming system).
The
The