User Guide

Understanding media components (Flash Professional only) 833
Understanding media components (Flash
Professional only)
This section provides an overview of how the media components work. Most of the properties
listed in this section can be set with the Component inspector. (See “Using the Component
inspector with media components” on page 840.)
Apart from the layout properties discussed later in this section, the following properties can be
set for the MediaDisplay and MediaPlayback components:
The media type, which can be set to MP3 or FLV (see Media.mediaType and
Media.setMedia()).
The relative or absolute content path, which holds the media file to be streamed (see
Media.contentPath).
Cue point objects, along with their name, time, and player properties (see
Media.addCuePoint() and Media.cuePoints). The name of the cue point is arbitrary;
use a name that will have meaning when using listener and trace events. A cue point
broadcasts a
cuePoint event when the value of its time property is equal to that of the
playhead location of 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
Media.removeCuePoint() and
Media.removeAllCuePoints().
Playback controller
navigation
Tab, Shift+Tab Moves the focus from button to button within the
controller component, where the focused element
becomes highlighted. This navigation works with
the Pause/Play, Go to Beginning, Go to End,
Volume Mute, and Volume Max controls. The focus
moves from left to right and top to bottom as users
tab through the elements. Shift+Tab moves focus
from right to left and bottom to top. Upon receiving
focus through the Tab key, the control immediately
passes focus to the Play/Pause button. When
focus is on the Volume Max button, and then Tab is
pressed, the focus moves to the next control in the
tab index on the Stage.
A given control
button
Spacebar or Enter/
Return
Selects the element in focus. On press, the button
appears in its pressed state. On release, the button
reverts back to its focused, mouse-over state.
Target Navigation Description