User Guide

FLVPlayback class 691
FLVPlayback.volume
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.volume
Description
Property; a number in the range of 0 to 100 that indicates the volume control setting. The
default value is 100.
Example
The following example sets the initial volume to 10, a relatively low setting.
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
*/
import mx.video.*;
// You can change this value from 0 to 100
my_FLVPlybk.volume = 10;
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
cuepoints.flv";
See also
FLVPlayback.transform, FLVPlayback.volumeBar, FLVPlayback.volumeBarInterval,
FLVPlayback.volumeUpdate