MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 602

Components language reference
Table of Contents

Advertisement

A cue point object with
and
properties for the cue point. The method
cuePoint
time
name
does not check any other properties on the incoming cue point object. If
or
is
time
name
undefined, the method uses only the property that is defined.
Returns
A Boolean value that is
if the cue point or cue points are found and are disabled, and
false
if the cue point is not disabled or does not exist. If the time given is undefined,
,
true
null
less than 0, or only a cue point name is provided, the method returns
only if all cue
false
points with this name are disabled.
Description
Method; returns
if the FLV file embedded cue point is disabled. You can disable cue
false
points either by setting the
property through the Flash Video Cue Points dialog
cuePoints
box or by calling the
method.
setFLVCuePointEnabled()
The return value from this function is meaningful only when the
property
metadataLoaded
is
, the
property is not
, or after a
event. When
true
metadata
null
metadataReceived
is
, this function always returns
.
metadataLoaded
false
true
Example
The following example disables the
cue point when the
event occurs. When
point2
ready
the first
event occurs, the event handler calls the
cuePoint
isFLVCuePointEnabled()
method to see if the cue point is disabled and, if so, the event handler enables it. The FLV file
contains the following embedded cue points: point1, 00:00:00:418; point2, 00:00:07.748;
point3, 00:00:16:020.
Drag an FLVPlayback component to the Stage, and give it an instance name of
my_FLVPlybk. Then add the following code to the Actions panel on Frame 1 of
the Timeline:
/**
Requires:
- FLVPlayback component on the Stage with an instance name of my_FLVPlybk
*/
import mx.video.*;
function ready(eventObject:Object) {
my_FLVPlybk.setFLVCuePointEnabled(false, "point2");
}
600
FLVPlayback Component (Flash Professional Only)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents