MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 572

Components language reference
Table of Contents

Advertisement

FLVPlayback.bufferingBarHidesAndDisablesOthers
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.bufferingBarHidesAndDisablesOthers
Description
Property; if set to
, hides the SeekBar control and disables the Play, Pause, PlayPause,
true
BackButton and ForwardButton controls while the FLV file is in the buffering state. This can
be useful to prevent a user from using these controls to try to speed up playing the FLV file
when it is downloading or streaming over a slow connection.
Example
The following example assumes playing a streaming FLV file from a FCS or FVSS. It sets the
property to disable the Play, Pause, PlayPause,
bufferingBarHidesAndDisablesOthers
BackButton, and ForwardButton controls and to hide the SeekBar control while the FLV file
is buffering.
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. In the statement that loads the
property, replace the italicized text
contentPath
with the name and location of an FLV file on your FCS.
/**
Requires:
- FLVPlayback component on the Stage with an instance name of my_FLVPlybk
*/
import mx.video.*;
my_FLVPlybk.bufferTime = 15;
my_FLVPlybk.bufferingBarHidesAndDisablesOthers = true;
my_FLVPlybk.contentPath = "rtmp://host_name/somefolder/vid_name.flv";
See also
FLVPlayback.bufferingBar
570
FLVPlayback Component (Flash Professional Only)

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