MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 678

Components language reference
Table of Contents

Advertisement

FLVPlayback.stateChange
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
var listenerObject:Object = new Object();
listenerObject.stateChange = function(eventObject:Object):Void {
// insert event-handling code here
};
my_FLVplybk.addEventListener("stateChange", listenerObject);
Description
Event; dispatched when playback state changes. The event object has properties
and
state
.
playheadTime
This event can be used to track when playback enters or leaves unresponsive states (such as in
the middle of connecting, resizing, or rewinding) during which times the
,
,
play()
pause()
, and
methods queue the requests to be executed when the player enters a
stop()
seek()
responsive state.
The event has the property
, which is the index number of the video player to which this
vp
event applies. For more information on the
property, see
vp
on page 549
and
FLVPlayback.activeVideoPlayerIndex
on page
688.
FLVPlayback.visibleVideoPlayerIndex
Example
The following example shows the
property in the Output panel each time the
state
event occurs while the FLV file plays.
stateChange
676
FLVPlayback Component (Flash Professional Only)

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