•
Cue point objects, along with their name, time, and player properties (see
Media.addCuePoint()
name that will have meaning when using listener and trace events. A cue point broadcasts a
event when the value of its time property is equal to that of the playhead location of
cuePoint
the MediaPlayback or MediaDisplay component with which it is associated. The player
property is a reference to the MediaPlayback instance with which it is associated. You can
remove cue points by using
The streaming media components broadcast several related events. The following broadcast
events can be used to set other items in motion:
•
A
event is broadcast continuously by the MediaDisplay and MediaPlayback
change
components while media is playing. (See
•
A
event is continuously broadcast by the MediaDisplay and MediaPlayback
progress
components while media is loading. (See
•
A
event is broadcast by the MediaController and MediaPlayback components whenever
click
the user clicks the Pause/Play button. In this case, the
provides information on which button was clicked. (See
•
A
event is broadcast by the MediaController and MediaPlayback components when
volume
the user adjusts the volume controls. (See
•
A
playheadChange
components when the user moves the playback slider or when the Go to Beginning or Go to
End buttons are clicked. (See
The MediaDisplay component works with the MediaController component. Combined, the
components behave in a manner similar to the MediaPlayback component, but they give you
more flexibility in the look and feel of your media presentation.
Understanding the MediaDisplay component
When you place a MediaDisplay component on the Stage, it has no user interface. It is simply a
container to hold and play media. The following properties affect the appearance of video media
playing in a MediaDisplay component:
•
Media.aspectRatio
•
Media.autoSize
•
Height (in the Property inspector)
•
Width (in the Property inspector)
Note: The user does not see anything unless some media is playing.
The
Media.aspectRatio
Media.aspectRatio
playing media to maintain the media's aspect ratio.
and
Media.cuePoints
Media.removeCuePoint()
event is broadcast by the MediaController and MediaPlayback
Media.playheadChange
property takes precedence over the other properties. When
is set to
(the default), the component always readjusts the size of the
true
). The name of the cue point is arbitrary; use a
and
Media.removeAllCuePoints()
.)
Media.change
.)
Media.progress
property of the event object
detail
Media.click
.)
Media.volume
.)
Media components (Flash Professional only)
.)
499
.
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?