ActionScript 2.0 Components Language Reference |
|
|
|
| FLVPlayback Component > FLVPlayback class > FLVPlayback.volume | |||
Flash Player 8.
Flash Professional 8.
my_FLVPlybk.volume
Property; a number in the range of 0 to 100 that indicates the volume control setting. The default value is 100.
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 100my_FLVPlybk.volume = 10;my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/cuepoints.flv";
FLVPlayback.transform, FLVPlayback.volumeBar, FLVPlayback.volumeBarInterval, FLVPlayback.volumeUpdate
|
|
|
|