MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 577

Components language reference
Table of Contents

Advertisement

trace("Closed connection for video player: " + eventObject.vp);
};
my_FLVPlybk.addEventListener("close", listenerObject);
// listen for complete event; play new FLV
listenerObject.complete = function(eventObject:Object) {
if (my_FLVPlybk.contentPath != "http://www.helpexamples.com/flash/video/
water.flv") {
my_FLVPlybk.play("http://www.helpexamples.com/flash/video/water.flv");
}
};
my_FLVPlybk.addEventListener("complete", listenerObject);
my_FLVPlybk.contentPath = "rtmp://my_servername/my_application/stream.flv";
See also
FLVPlayback.activeVideoPlayerIndex
FLVPlayback.contentPath
FLVPlayback.visibleVideoPlayerIndex
FLVPlayback.closeVideoPlayer()
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.closeVideoPlayer
Parameters
A number that is the index of the video player to close.
index
Returns
The VideoPlayer object that closed.
Description
Method; closes NetStream and deletes the video player specified by the
the closed video player is the active or visible video player, the FLVPlayback instance sets the
active and or visible video player to the default player (with index 0). You cannot close the
default player, and trying to do so causes the component to throw an error.
,
FLVPlayback.closeVideoPlayer()
,
FLVPlayback.load()
,
(
:
index
Number
,
FLVPlayback.play()
)
FLVPlayback class
,
,
parameter. If
index
575

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