User Guide

850 Media components (Flash Professional only)
Event summary for the Media class
The following table lists events of the Media class.
Media.playing MediaDisplay,
MediaPlayback,
MediaController
For MediaDisplay and MediaPlayback, this
property is read-only and returns a Boolean
value to indicate whether a given component
instance is playing media. For
MediaController, this property is read/write
and controls the image (playing or paused)
displayed on the Play/Pause button of the
controller.
Media.preferredHeight MediaDisplay,
MediaPlayback
The default value of the height of a FLV file.
Media.preferredWidth MediaDisplay,
MediaPlayback
The default value of the width of a FLV file.
Media.totalTime MediaDisplay,
MediaPlayback
An integer that indicates the total length of
the media, in seconds.
Media.volume MediaDisplay,
MediaPlayback
An integer from 0 (minimum) to 100
(maximum) that represents the volume level.
Event Components Description
Media.change MediaDisplay,
MediaPlayback
Broadcast continuously while media is
playing.
Media.click MediaController,
MediaPlayback
Broadcast when the user clicks the Play/
Pause button.
Media.complete MediaDisplay,
MediaPlayback
Notification that the playhead has reached
the end of the media.
Media.cuePoint MediaDisplay,
MediaPlayback
Notification that the playhead has reached
a given cue point.
Media.playheadChange MediaController,
MediaPlayback
Broadcast by the component instance
when a user moves the playback slider or
clicks the Go to Beginning or Go to End
button.
Media.progress MediaDisplay,
MediaPlayback
Generated continuously until the media has
downloaded completely.
Property Components Description