MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 684

Components language reference
Table of Contents

Advertisement

FLVPlayback.stopped
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
var listenerObject:Object = new Object();
listenerObject.stopped = function(eventObject:Object):Void {
// insert event-handling code here
};
my_FLVplybk.addEventListener("stopped", listenerObject);
Description
Event; dispatched when entering the stopped state. This happens when you call the
stop()
method or click the
control. It also happens, in some cases, if the
stopButton
autoPlay
property is
(the state might become
instead) when the FLV file is loaded. The
false
paused
FLVPlayback instance also dispatches this event when the playhead stops at the end of the
FLV file. The event object has the properties
,
, and
, which is the
state
playheadTime
vp
index number of the video player to which the event applies. For more information on the
vp
property, see
on page 549
and
FLVPlayback.activeVideoPlayerIndex
on page
688.
FLVPlayback.visibleVideoPlayerIndex
The FLVPlayback instance also dispatches the
event.
stateChange
Example
The following example listens for occurrences of the
event as it occurs while the FLV
stopped
file plays. When the event occurs the example shows the elapsed playhead time in the
Output panel.
682
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