MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 1075

Director scripting reference
Table of Contents

Advertisement

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
userName (RealMedia) 1075

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