MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 669

Components language reference
Table of Contents

Advertisement

Usage
my_FLVplybk.setFLVCuePointEnabled(enabled:Boolean, time:Number)
my_FLVplybk.setFLVCuePointEnabled(enabled:Boolean, name:String)
my_FLVplybk.setFLVCuePointEnabled(enabled:Boolean, cuePoint:Object)
Parameters
A Boolean value that specifies whether to enable (
enabled
file cue point.
A number that is the time, in seconds, of the cue point to set.
time
The name of the cue point to set.
name
A cue point object with
cuePoint
set. The method does not check any other properties on the incoming cue point object. If
or
is undefined, the method tries to match a cue point using only the
time
name
available value.
Returns
A number. If
metadataLoaded
enabled state was changed. If
component cannot yet determine which, if any, cue points to set. When the metadata arrives,
however, the component sets the specified cue points appropriately
Description
Method; enables or disables one or more FLV file cue points. Disabled cue points are disabled
for purposes of being dispatched as events and for navigating to them with the
seekToPrevNavCuePoint()
methods.
Cue point information is deleted when you set the
file, so set the
contentPath
file to be loaded.
Changes caused by this function are not reflected by calls to the
method until metadata is loaded.
Example
The following example disables the point2 and point3 cue points when the
occurs. The
cuePoint
cue point that occurs. The FLV file contains the following embedded cue points: point1 at
00:00:00:418; point2 at 00:00:07.748; point3 at 00:00:16:020.
and
name
is
, the method returns the number of cue points whose
true
metadataLoaded
,
seekToNextNavCuePoint()
property before setting cue point information for the next FLV
event handler shows in the Output panel the name and time of each
) or disable (
true
properties that matches the cue point to
time
is
, the method returns –1 because the
false
, and
seekToNavCuePoint()
property to a different FLV
contentPath
isFLVCuePointEnabled()
) an FLV
false
event
ready
FLVPlayback class
667

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents