User Guide

512 Chapter 6: Components Dictionary
Event summary for the Media class
The following table lists events of the Media class.
Media.activePlayControl
Applies to
MediaController
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
myMedia.activePlayControl
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.
Media.volume MediaController,
MediaPlayback
Broadcast when the user adjusts the volume.
Property Components Description