MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 913

Director scripting reference
Table of Contents

Advertisement

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
-- 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
operator.
To see an example of
Learning/Lingo Examples folder inside the Director application folder.
.
"abracadabra"
used in a completed movie, see the Read and Write Text movie in the
path
pathname
@
path (Movie)
913

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