Chapter 13
350
•
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 ********.
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
command in Lingo.
•
duration (RealMedia)
displays the length of the RealMedia stream in milliseconds. This
property is not known 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 cannot be set.
•
lastError
displays the last error returned by RealPlayer. This property cannot be set.
•
mediaStatus
displays the current status of the RealMedia stream. For a list of possible values,
see the
mediaStatus
entry. 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
state (RealMedia)
entry. This property cannot be set.
About RealMedia behaviors
The RealMedia behaviors are designed to 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:
RealMedia Target
identifies a RealMedia sprite as the target for RealMedia behaviors that are
attached to the graphic, text, or field sprites for the playback controls. You must attach this
behavior to a RealMedia sprite on the Stage before you can use any of the other RealMedia
behaviors. This behavior does not control the RealMedia sprite by itself, but works with the other
RealMedia behaviors to control the sprite.
RealMedia Control Button
lets a graphic sprite function as a control button for the RealMedia
sprite with the RealMedia Target behavior attached. Possible control button behaviors are Pause,
Play, Stop, Small Forward, Small Backward, Large Forward, Large Backward, Toggle Audio,
Audio On, Audio Off, Toggle Video, Video On, and Video Off.
RealMedia Slider Bar
lets a graphic sprite define the horizontal limits of travel for the RealMedia
Slider Knob behavior, which must be used with this behavior. The RealMedia Slider Bar behavior
requires that a RealMedia sprite (with the RealMedia Target behavior attached) be on the Stage.
RealMedia Slider Knob
lets a graphic sprite function as a slider to control and monitor the
playback location (current time) of the RealMedia sprite with the RealMedia Target behavior
attached. When the user drags a sprite that has this behavior attached, a seek action is performed
on the stream.
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...