MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 518

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

// perform some function until playback ready
for (PlaybackLoad < 150) {
someFunction();
}
Media.bytesTotal
Applies to
MediaDisplay, MediaPlayback
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
myMedia.bytesTotal
Description
Read-only property; the number of bytes to be loaded into the MediaPlayback or MediaDisplay
component. The default value is
Example
The following example tells the user the size of the media to be streamed:
myTextField.text = myMedia.bytesTotal;
Media.change
Applies to
MediaDisplay, MediaPlayback
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
listenerObject = new Object();
listenerObject.change = function(eventObject){
// insert your code here
}
myMedia.addEventListener("change", listenerObject)
Description
Event; broadcast by the MediaDisplay and MediaPlayback components while the media is
playing. The percentage complete can be retrieved from the component instance.
.
undefined
Media components (Flash Professional only)
519

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

This manual is also suitable for:

Flash mx

Table of Contents