MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 620

Components language reference
Table of Contents

Advertisement

FLVPlayback.paused
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
var listenerObject:Object = new Object();
listenerObject.paused = function(eventObject:Object):Void {
// insert event-handling code here
};
my_FLVplybk.addEventListener("paused", listenerObject);
Description
Event; dispatched when the player enters the paused state. This happens when you call the
method or click the corresponding control and it also happens in some cases when
pause()
the FLV file is loaded if
is
(the state may be
instead). The event
autoPlay
false
stopped
object has the properties
,
, and
, which is the index number of the
state
playheadTime
vp
video player to which this event applies. For more information on the
property, see
vp
on page 549
and
FLVPlayback.activeVideoPlayerIndex
on page
688.
FLVPlayback.visibleVideoPlayerIndex
The
event is also dispatched.
stateChange
Example
The following example creates a listener for the
event. When the event
playheadUpdate
occurs, the event handler checks to see whether the
property is between 5 and
playheadTime
5.05 seconds. If so, the event handler calls the
method to suspend playing the FLV
pause()
file. This triggers a
event for which the
event handler shows, "The FLV
paused
paused
is paused!"
618
FLVPlayback Component (Flash Professional Only)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents