MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 646

Components language reference
Table of Contents

Advertisement

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.*;
my_FLVPlybk.autoRewind = true;
var listenerObject:Object = new Object();
listenerObject.rewind = function(eventObject:Object) {
trace("Video player is #" + eventObject.vp);
trace("State is: " + eventObject.state);
trace("Playhead time is: " + eventObject.playheadTime);
};
my_FLVPlybk.addEventListener("rewind", listenerObject);
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
water.flv";
See also
FLVPlayback.activeVideoPlayerIndex
FLVPlayback.playheadUpdateFLVPlayback.seek()
FLVPlayback.seekSeconds()
FLVPlayback.seekToPrevNavCuePoint()
FLVPlayback.stateChange
FLVPlayback.REWINDING
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
mx.video.FLVPlayback.REWINDING
Description
A read-only FLVPlayback class property that contains the string constant,
can compare this property to the
rewinding state.
644
FLVPlayback Component (Flash Professional Only)
,
FLVPlayback.playheadTime
,
FLVPlayback.seekToNavCuePoint()
,
FLVPlayback.state
property to determine if the component is in the
state
,
,
FLVPlayback.seekPercent()
,
,
"rewinding"
,
. You

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