MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 691

Components language reference
Table of Contents

Advertisement

FLVPlayback.visibleVideoPlayerIndex
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.visibleVideoPlayerIndex
Description
Property; a number that you can use to manage multiple FLV file streams. Sets which video
player instance is visible, audible, and controlled by the skin or playback controls, while the
the rest of the video players are hidden and muted. The default is 0. It does not make the
video player the target for most APIs; use the
Methods and properties that control dimensions interact with this property. The methods and
properties that set the dimensions of the video player (
,
,
height
scaleX
scaleY
or
autoSize
maintaintAspectRatio
different dimensions. Reading the dimensions using the
properties gives you the dimensions only of the visible video player. Other video players might
have the same dimensions or might not.
To get the dimensions of various video players when they are not visible, listen for the
event, and store the size value.
This property does not have any implications for visibility of the component as a whole, only
which video player is visible when the component is visible. To set visibility for the entire
component, use the
visible
Example
The following example creates two video players to play two FLV files consecutively in a single
FLVPlayback instance. It sets the
players and the FLV files visible.
activeVideoPlayerIndex
) can be used for all video players. However, depending on whether
are set on those video players, they might have
property.
visibleVideoPlayerIndex
property instead.
,
setScale()
setSize()
,
,
width
height
scaleX
property to make the video
FLVPlayback class
,
,
width
, and
scaleY
resize
689

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