See also
,
,
,
FLVPlayback.fastForward
FLVPlayback.seek
FLVPlayback.state
FLVPlayback.stateChange
FLVPlayback.getVideoPlayer()
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVplybk.getVideoPlayer(index:Number)
Returns
A VideoPlayer object.
Description
Method; gets the video player specified by
. When possible, it is best to access
index
VideoPlayer methods and properties using FLVPlayback methods and properties. Each
property is its index.
VideoPlayer._name
Example
The following example uses two video players to play two FLV files. When the second FLV
file triggers the
event, the example calls the
method to obtain
ready
getVideoPlayer()
video player number 1 and set its
property to 50. This causes the FLV file
_alpha
(plane_cuepoints) in that player to be transparent and makes both FLV files visible
simultaneously.
Drag an FLVPlayback component to the Stage, and give it an instance name of
my_FLVPlybk
Then add the following code to the Actions panel on Frame 1 of the
.
Timeline:
/**
Requires:
- FLVPlayback component on the Stage with an instance name of my_FLVPlybk
*/
my_FLVPlybk.load("http://www.helpexamples.com/flash/video/cuepoints.flv");
var listenerObject:Object = new Object();
listenerObject.ready = function(eventObject:Object) {
if (eventObject.target.contentPath == "http://www.helpexamples.com/
flash/video/cuepoints.flv") {
596
FLVPlayback Component (Flash Professional Only)
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?