MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 695

Components language reference
Table of Contents

Advertisement

See also
FLVPlayback.volume
FLVPlayback.volumeBarScrubTolerance
FLVPlayback.volumeBarInterval
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.volumeBarInterval
Description
Property; a number that specifies, in milliseconds, how often to check the volume bar handle
location when scrubbing. The default is 250.
Example
The following example sets the
milliseconds) and creates a
as the user drags the handle on the volume bar. The
approximately 1 second intervals because of the
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.*;
my_FLVPlybk.volumeBarInterval = 1000;
var listenerObject:Object = new Object();
listenerObject.volumeUpdate = function(eventObject:Object) {
trace("Playhead time is: " + my_FLVPlybk.playheadTime);
trace("Volume is: " + my_FLVPlybk.volume);
};
my_FLVPlybk.addEventListener("volumeUpdate", listenerObject);
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
cuepoints.flv";
,
FLVPlayback.volumeBarInterval
volumeBarInterval
event that shows the playhead time and the volume
volumeUpdate
,
,
FLVPlayback.volumeUpdate
property to 1 second (1000
volumeUpdate
volumeBarInterval
events occur at
setting.
FLVPlayback class
693

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents