EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 913

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.