MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 306

Director scripting reference
Table of Contents

Advertisement

externalParamName()
Usage
-- Lingo syntax
_player.externalParamName(paramNameOrNum)
// JavaScript syntax
_player.externalParamName(paramNameOrNum);
Description
Player method; returns the name of a specified parameter in the list of external parameters from
an HTML <EMBED> or <OBJECT> tag.
If specifying a parameter by name, this method returns any parameter names that matches
paramNameOrNum
method returns
If specifying a parameter by number, this method returns the parameter name at the
paramNameOrNum
method returns
This method is valid only for movies with Shockwave content that are running in a browser. It
cannot be used with Director movies or projectors.
The following list describes the pre-defined external parameters that can be used.
Parameter
swAudio
swBackColor
swBanner
swColor
swForeColor
swFrame
swList
swName
swPassword
swPreloadTime
306
Chapter 12: Methods
. The match is not case sensitive. If no matching parameter name is found, this
(Lingo) or
VOID
null
position in the parameter list. If no matching parameter position is found, this
or
.
VOID
null
Definition
A string that specifies the location of a Shockwave Audio file to be played with the
movie. The value is a fully qualified URL.
A color value intended to modify the movie's Stage color property. The value is any
integer value from 0 to 255. Use 0 to 255 for movies in 8-bit color, and 0 to 15 for
movies in 4-bit color.
A string that specifies the text to be used as a banner in the movie.
A color value for use in modifying the color of a specific object. The value is any
integer from 0 to 255. Use 0 to 255 for movies in 8-bit color, and 0 to 15 for
movies in 4-bit color.
A new foreground color value. Text written into field cast members is rendered in
the currently active foreground color. The value is any integer value from 0 to 255.
Use 0 to 255 for movies in 8-bit color, and 0 to 15 for movies in 4-bit color.
A string value that is the name assigned to a given frame in the movie.
A comma-delimited list of items that can be parsed with script. List values may be
key/value pairs, Boolean items, integers, or strings.
A name, such as a user name, to be displayed or used within the movie.
A password, perhaps for use it conjunction with the
within the movie.
An integer value which specifies the number of seconds of an audio file sound that
should be preloaded before the sound begins to play. Used with Shockwave Audio
to improve playback performance by increasing the amount of audio already
downloaded before playback begins.
(JavaScript syntax).
property, to be used
swName

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents