User Guide

586 FLVPlayback Component (Flash Professional Only)
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.*;
var listenerObject:Object = new Object();
listenerObject.ready = function(eventObject:Object):Void {
my_FLVPlybk.seekPercent(35);
};
my_FLVPlybk.addEventListener("ready", listenerObject);
listenerObject.fastForward = function(eventObject:Object):Void {
trace("fastforward event; playhead time is: " +
eventObject.playheadTime);
};
my_FLVPlybk.addEventListener("fastForward", listenerObject);
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
water.flv";
See also
FLVPlayback.activeVideoPlayerIndex, FLVPlayback.forwardButton,
FLVPlayback.seek, FLVPlayback.seek(), FLVPlayback.seekBar,
FLVPlayback.seekPercent(), FLVPlayback.seekSeconds(),
FLVPlayback.seekToNavCuePoint(), FLVPlayback.seekToNextNavCuePoint(),
FLVPlayback.seekToPrevNavCuePoint(), FLVPlayback.seekToPrevOffset,
FLVPlayback.state, FLVPlayback.playheadTime
FLVPlayback.findCuePoint()
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVplybk.findCuePoint(time:Number[, type:String]):Object
my_FLVplybk.findCuePoint(name:String[, type:String]):Object
my_FLVplybk.findCuePoint(cuePoint:Object[, type:String]):Object