
ADOBE DIRECTOR 11.0
User Guide
269
You can work with the following media properties:
•
audio (RealMedia)
specifies whether the audio portion of the RealMedia stream plays (
TRUE
) or not (
FALSE
).
The default setting is
TRUE
. This property has no effect if
realPlayerNativeAudio()
is enabled.
•
soundChannel (RealMedia)
specifies the Director sound channel where the RealAudio plays. The default
setting is Any (0), which means the audio plays in the highest available channel. This property has no effect if you
enable
realPlayerNativeAudio()
.
•
video (RealMedia)
specifies whether the video portion of the RealMedia stream appears (
TRUE
) or not
(
FALSE
). The default setting is
TRUE
.
•
pausedAtStart (RealMedia)
specifies whether the RealMedia stream begins to play automatically when the
playhead enters the frame span of the RealMedia cast member or sprite (
FALSE
) or not (
TRUE
). The default setting is
FALSE
.
•
displayRealLogo
specifies whether the RealNetworks logo appears. When this property is set to
TRUE
, the
RealNetworks logo appears at the beginning of the stream and when the video is stopped or rewound.
•
userName (RealMedia)
lets you specify a user name if the cast member references a protected URL. For
security purposes, after a user name has been entered, it cannot be retrieved. If this property has been set, the value
that appears in the Property inspector is ********.
•
password
allows you to specify a password if the cast member references a protected URL. For security
purposes, after a password has been entered, it cannot be retrieved. If this property has been set, the value that
appears in the Property inspector is ********.
For more information about these properties, see the Scripting Reference topics in the Director Help Panel.
You can work with the following playback properties:
•
currentTime (RealMedia)
displays
the current time in the RealMedia stream in milliseconds. Setting this
property in the Property inspector is the same as using the
seek
method in script.
•
duration (RealMedia)
displays the length of the RealMedia stream in milliseconds. This property is unknown
until the movie has been played once and saved. The duration of a live stream is always 0. This property cannot be set.
•
percentBuffered
displays the percentage of the playback buffer that has been filled with the RealMedia stream.
This property can’t be set.
•
lastError
displays the last error returned by RealPlayer. This property can’t be set.
•
mediaStatus
displays the current status of the RealMedia stream. For a list of possible values, see the Scripting
Reference topics in the Director Help Panel. This property cannot be set.
•
state
displays which state the cast member is currently in the streaming process. For a list of possible values,
see the Scripting Reference topics in the Director Help Panel. This property can’t be set.
For more information, see the Scripting Reference topics in the Director Help Panel.
About RealMedia behaviors
The RealMedia behaviors let you easily add playback controls for RealMedia streams in your movie, using custom
graphics.
The following RealMedia behaviors are listed in the Media > RealMedia section of the Library palette:
Содержание 65036570 - Director - PC
Страница 1: ...i ADOBE DIRECTOR 11 USER GUIDE...