Media.bytesLoaded
Applies to
MediaDisplay, MediaPlayback.
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
myMedia.bytesLoaded
Description
Read-only property; the number of bytes already loaded into the component that are available
for playing. The default value is
Example
The following code creates a variable called
bytes loaded. The variable is then used in a
// Create variable that holds the number of bytes that are loaded.
var PlaybackLoad:Number = myMedia.bytesLoaded;
// Perform some function until playback is ready.
for (PlaybackLoad < 150) {
someFunction();
}
Media.bytesTotal
Applies to
MediaDisplay, MediaPlayback.
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
myMedia.bytesTotal
858
Media components (Flash Professional only)
.
undefined
PlaybackLoad
loop.
for
that is set with the number of
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers