Media.scrubbing - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

The following example listens for progress and calls another function if the progress event
continues for more than 3000 milliseconds (3 seconds):
// Duration of delay before calling timeOut.
var timeOut:Number = 3000;
// If timeOut has been reached, do this:
function callback(arg) {
trace(arg);
}
// Listen for progress.
var myListener:Object = new Object();
myListener.progress = function(eventObj:Object) {
setInterval(callback, timeOut, "Experiencing Network Delay");
};
md.addEventListener("progress", myListener);

Media.scrubbing

Applies to
MediaController, MediaPlayback.
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
var listenerObject:Object = new Object();
listenerObject.progress = function(eventObj:Object) {
// ...
};
myMedia.addEventListener("scrubbing", listenerObject);
Description
Event; generated when the playhead is dragged.
A reference to the MediaController or MediaPlayback instance.
target
The string
type
"scrubbing"
876
Media components (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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents