User Guide
FLVPlayback class 563
FLVPlayback.bringVideoPlayerToFront()
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.bringVideoPlayerToFront(index:Number)
Parameters
index A number that is the index of the video player to move to the front
Description
Method; brings a video player to the front of the stack of video players. Useful for custom
transitions between video players. The stack order is the same as it is for the
activeVideoPlayerIndex property: 0 is on the bottom, 1 is above it, 2 is above 1, and so on.
Example
The following example uses two video players to play two FLV files. When each of the three
cue points in the first FLV file (cuepoints.flv) occurs, the example calls the
bringVideoPlayerToFront() method to bring the other FLV file to the front. Because the
example sets the
_alpha property to 75 for video player number 1, the FLV file
(plane_cuepoints) playing in that player is transparent, making both FLV files visible
simultaneously when that FLV file is in front.