MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 625

Components language reference
Table of Contents

Advertisement

FLVPlayback.playheadPercentage
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.playheadPercentage
Description
Property; a number that specifies the current
as a percentage of the
playheadTime
totalTime
property. If you access this property, it contains the percentage of playing time that has
elapsed. If you set this property, it causes a seek operation to the point representing that
percentage of the FLV file's playing time.
The value of this property is relative to the value of the
property.
totalTime
The component throws a VideoError if you specify a percentage that is invalid or if the
property is undefined, null, or less than or equal to zero.
totalTime
Example
The following example displays the percentage of the FLV file that has played when the
cue point occurs. At the
cue point, it sets
to
,
point2
point3
playheadPercentage
10
causing a seek operation to the point that is 10 percent from the beginning of the FLV file and
creating a playback loop.
FLVPlayback class
623

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

This manual is also suitable for:

Flash 8

Table of Contents