Media.progress - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Media.progress

Applies to
MediaDisplay, MediaPlayback.
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
var listenerObject:Object = new Object();
listenerObject.progress = function(eventObj:Object) {
// ...
};
myMedia.addEventListener("progress", listenerObject);
Description
Event; is generated continuously until media has completely downloaded. The
event object has the following properties:
Media.progress
A reference to the MediaDisplay or MediaPlayback instance.
target
The string
type
"progress"
Example
The following example listens for progress:
var myProgressListener:Object = new Object();
myProgressListener.progress = function(eventObj:Object) {
// Make lightMovieClip blink while progress is occurring.
var lightVisible:Boolean = lightMovieClip.visible;
lightMovieClip.visible = !lightVisible;
};
.
Media.progress
875

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