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
click
whenever the user clicks the Pause/Play button. In this case, the
event object provides information on which button was clicked. (See
A
event is broadcast by the MediaController and MediaPlayback components
volume
when 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)
The user does not see anything unless some media is playing.
The
Media.aspectRatio
Media.aspectRatio
the playing media to maintain the media's aspect ratio.
834
Media components (Flash Professional only)
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
true
.)
Media.change
.)
Media.progress
Media.volume
.)
property of the
detail
.)
Media.click
.)
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers