userName (RealMedia) 1075
userName (RealMedia)
Usage
-- Lingo syntax
memberOrSpriteObjRef
.userName
// JavaScript syntax
memberOrSpriteObjRef
.userName;
Description
RealMedia sprite and cast member property; allows you to set the user name required to access a
protected RealMedia stream. For security reasons, you cannot use this property to retrieve a
previously specified user name. If a user name has been set, the value of this property is the string
"********"
. The default value of this property is an empty string, which means no user name has
been specified.
Example
The following examples show that the user name for the RealMedia stream in the cast member
Real or sprite 2 has been set.
-- Lingo syntax
put(sprite(2).userName) -- "********"
put(member("Real").userName) -- "********"
// JavaScript syntax
put(sprite(2).userName); // "********"
put(member("Real").userName); // "********"
The following examples show that the user name for the RealMedia stream in the cast member
Real or sprite 2 has never been set.
-- Lingo syntax
put(sprite(2).userName) -- ""
put(member("Real").userName) -- ""
// JavaScript syntax
put(sprite(2).userName); // ""
put(member("Real").userName); // ""
The following examples set the user name for the RealMedia stream in the cast member Real and
sprite 2 to Marcelle.
-- Lingo syntax
member("Real").userName = "Marcelle"
sprite(2).userName = "Marcelle"
// JavaScript syntax
member("Real").userName = "Marcelle";
sprite(2).userName = "Marcelle";
See also
password
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
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...