path (Movie)
913
Example
The following examples show that the password has been set for the RealMedia stream in the cast
member Real or sprite 2.
-- Lingo syntax
put(sprite(2).password) -- "********"
put(member("Real").password) -- "********"
// JavaScript syntax
put(sprite(2).password); // "********"
put(member("Real").password); // "********"
The following examples show that the password has never been set for the RealMedia stream in
the cast member Real or sprite 2.
-- Lingo syntax
put(sprite(2).password) -- ""
put(member("Real").password) -- ""
// JavaScript syntax
put(sprite(2).password); // ""
put(member("Real").password); // ""
The following examples set the password for the RealMedia stream in sprite 2 and the cast
member Real to
"abracadabra"
.
-- Lingo syntax
sprite(2).password = "abracadabra"
member("Real").password = "abracadabra"
// JavaScript syntax
sprite(2).password = "abracadabra";
member("Real").password = "abracadabra";
See also
userName (RealMedia)
path (Movie)
Usage
-- Lingo syntax
_movie.path
// JavaScript syntax
_movie.path;
Description
Movie property; indicates the pathname of the folder in which the current movie is located.
Read-only.
For pathnames that work on both Windows and Macintosh computers, use the
@
pathname
operator.
To see an example of
path
used in a completed movie, see the Read and Write Text movie in the
Learning/Lingo Examples folder inside the Director application folder.
Summary of Contents for DIRECTOR MX 2004
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...