See also
FLVPlayback.scrubbing
FLVPlayback.seekBar
FLVPlayback.SEEKING
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
mx.video.FLVPlayback.SEEKING
Description
A read-only FLVPlayback class property that contains the string constant, "
compare this property to the
seeking state.
Example
The following example uses the
when a
"seeking"
stateChange
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.contentPath = "http://www.helpexamples.com/flash/video/
water.flv";
var listenerObject:Object = new Object();
listenerObject.stateChange = function(eventObject:Object):Void {
if(eventObject.state == FLVPlayback.SEEKING)
trace("The current state is " + FLVPlayback.SEEKING);
};
my_FLVPlybk.addEventListener("stateChange", listenerObject);
See also
FLVPlayback.state
,
FLVPlayback.scrubFinish
,
FLVPlayback.seekBarInterval
property to determine whether the component is in the
state
FLVPlayback.SEEKING
event occurs and, if so, shows a message to that effect.
,
FLVPlayback.stateChange
,
FLVPlayback.scrubStart
seeking
property to see if the state is
FLVPlayback class
,
". You can
657
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers