User Guide
518 Chapter 6: Components Dictionary
Media.backgroundStyle
Applies to
MediaController
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
myMedia.backgroundStyle
Description
Property; a Boolean value that indicates which background is drawn for the MediaController
instance. A value of
"default" indicates that the chrome background is drawn, and a value of
"none" indicates that no chrome background is drawn. The default value is "default".
This is not a style property and therefore is not affected by style settings.
Example
The following example indicates that the chrome background will not be drawn for the control:
myMedia.backgroundStyle = "none";
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
undefined.
Example
The following code creates a variable called PlaybackLoad that will be set with the number of
bytes loaded. The variable is then used in a
for loop.
// create variable that holds how many bytes are loaded
var PlaybackLoad = myMedia.bytesLoaded;