User Guide

514 Chapter 6: Components Dictionary
Description
Method; adds a cue point object to a MediaPlayback or MediaDisplay instance. When the
playhead time equals a cue point time, a
cuePoint event is broadcast.
Example
The following code adds a cue point called Homerun to myMedia when the playhead time equals
16 seconds.
myMedia.addCuePoint("Homerun", 16);
See also
Media.cuePoint
, Media.cuePoints, Media.getCuePoint(), Media.removeAllCuePoints(),
Media.removeCuePoint()
Media.aspectRatio
Applies to
MediaDisplay, MediaPlayback
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
myMedia.aspectRatio
Description
Property; a Boolean value that determines whether a MediaDisplay or MediaPlayback instance
maintains its video aspect ratio during playback. A
true value indicates that the aspect ratio
should be maintained; a
false value indicates that the aspect ratio can change during playback.
The default value is
true.
Example
The following example indicates that the aspect ratio can change during playback:
myMedia.aspectRatio = false;
Media.associateController()
Applies to
MediaDisplay
Availability
Flash Player 7.