Media.cuePoints

Applies to

MediaDisplay, MediaPlayback.

Availability

Flash Player 7.

Edition

Flash MX Professional 2004.

Usage

myMedia.cuePoints

or

myMedia.cuePoints[N]

Description

Property; an array of cue point objects that have been assigned to a MediaPlayback or MediaDisplay instance. In the array, each cue point object can have a name, a time in seconds or frames, and a player property (which is the instance name of the component it is associated with). The default value is an empty array ([]).

Example

The following example deletes the third cue point if playing an action preview:

if (myVariable == actionPreview) {
    myMedia.removeCuePoint(myMedia.cuePoints[2]);
}

See also

Media.addCuePoint(), Media.getCuePoint(), Media.removeCuePoint()


Flash CS3