MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 516

Director scripting reference
Table of Contents

Advertisement

Parameters
None.
Example
This statement determines whether or not external parameters are available and obtains them if
they are:
--Lingo syntax
if the runMode contains "Plugin" then
-- decode the embed parameter
if externalParamName(swURL) = swURL then
put externalParamValue(swURL) into myVariable
end if
end if
// JavaScript syntax
if (_movie.runMode.indexOf("Plugin") >=0) {
// decode the embed parameter
if (externalParamName(swURL) == swURL) {
myVariable = externalParamValue(swURL);
}
}
See also
environmentPropList,
save castLib
Usage
castLib(whichCast).save()
save castLib whichCast {,pathName&newFileName}
Description
Command; saves changes to the cast in the cast's original file or in a new file. Further operations
or references to the cast use the saved cast member.
This command does not work with compressed files.
The
save CastLib
Parameters
pathName&newFileName
original cast must be linked.
Example
This statement causes Director to save the revised version of the Buttons cast in the new file
UpdatedButtons in the same folder:
castLib("Buttons").save(the moviePath & "UpdatedButtons.cst")
See also
@ (pathname)
516
Chapter 12: Methods
platform
command doesn't support URLs as file references.
Optional. Specifies the path and file name to save to. If omitted, the

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