Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > Media components > Media.cuePoints | |||
MediaDisplay, MediaPlayback.
Flash Player 7.
Flash MX Professional 2004.
myMedia.cuePoints
or
myMedia.cuePoints[N]
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 ([]).
The following example deletes the third cue point if playing an action preview:
if (myVariable == actionPreview) {
myMedia.removeCuePoint(myMedia.cuePoints[2]);
}
Media.addCuePoint(), Media.getCuePoint(), Media.removeCuePoint()
Flash CS3