704
userName (RealMedia)
Syntax
sprite(
whichSprite
).userName
member(
whichCastmember
).userName
sprite(
whichSprite
).userName =
userName
member(
whichCastmember
).userName =
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.
Examples
The following examples show that the user name for the RealMedia stream in the cast member
Real or sprite 2 has been set.
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.
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.
member("Real").userName = "Marcelle"
sprite(2).userName = "Marcelle"
See also
password
useTargetFrameRate
Syntax
sprite(
which3dSprite
).useTargetFrameRate
Description
3D sprite property; determines whether the
targetFrameRate
property of the sprite is enforced.
If the
useTargetFrameRate
property is set to
TRUE
, the polygon count of the models in the sprite
are reduced if necessary to achieve the specified frame rate.
Example
These statements set the
targetFrameRate
property of sprite 3 to 45 and enforce the frame rate
by setting the
useTargetFrameRate
property of the sprite to
TRUE
:
sprite(3).targetFrameRate = 45
sprite(3).useTargetFrameRate = TRUE
See also
targetFrameRate
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...