MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 525

Components language reference
Table of Contents

Advertisement

my_FLVPlybk.visibleVideoPlayerIndex = 0; // make the 1st player
visible
my_FLVPlybk.play(); // begin playing the 1st player
}
}
// add listener for a cuePoint event
my_FLVPlybk.addEventListener("cuePoint", listenerObject);
listenerObject.complete = function(eventObject:Object):Void {
trace("Hit complete event for player: " + eventObject.vp);
if (eventObject.vp == 0) {
my_FLVPlybk.activeVideoPlayerIndex = 1;
my_FLVPlybk.visibleVideoPlayerIndex = 1;
my_FLVPlybk.play();
} else {
my_FLVPlybk.closeVideoPlayer(1);
}
}
my_FLVPlybk.addEventListener("complete", listenerObject);
When you create a new video player, the FLVPlayback instance sets its properties to the value
of the default video player, except for the
which the FLVPlayback instance always sets to the default values: empty string, 0, and
respectively. It sets the
to
. The
false
cuePoints
into the default video player.
The methods and properties that control volume, positioning, dimensions, visibility, and user
interface controls are always global and their behavior is not affected by setting the
activeVideoPlayerIndex
and the effect of setting the
FLVPlayback.activeVideoPlayerIndex
methods target the video player identified by the value of the
property.
Properties and methods that control dimensions do interact with the
visibleVideoPlayerIndex
"FLVPlayback.visibleVideoPlayerIndex" on page
contentPath
property, which defaults to
autoPlay
property has no effect, and it has no effect on a subsequent load
property. For more information on these methods and properties
activeVideoPlayerIndex
on page
property, however. For more information, see
,
and
totalTime,
for the default video player,
true
property, see
549. The remaining properties and
activeVideoPlayerIndex
688.
Playing multiple FLV files
properties,
isLive
,
false
523

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