MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 308

Director scripting reference
Table of Contents

Advertisement

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
swSound
swText
swURL
swVolume
through
sw1
sw9
Parameters
paramNameOrNum
an integer that specifies the index location of the parameter value to return.
308
Chapter 12: Methods
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.
A string value which may specify the name of a sound in the Director movie to be
played, or whether or not a sound should be played at all.
A string value that specifies text to be used in the movie.
A string URL that may specify the location of another Shockwave movie or
Shockwave Audio file.
An integer value (0 to 10 is recommended) that is used to control the volume level
of the sound output from the movie. 0 is off (no sound), 10 is maximum volume.
Nine additional properties for author-defined parameters.
Required. A string that specifies the name of the parameter value to return, or
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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents