| Package | feathers.media |
| Interface | public interface IProgressiveMediaPlayer extends IMediaPlayer, IFeathersEventDispatcher |
| Implementors | SoundPlayer, VideoPlayer |
| Product Version : | Feathers 2.3.0 |
| Property | Defined By | ||
|---|---|---|---|
| bytesLoaded : uint [read-only]
The number of bytes loaded for the current media. | IProgressiveMediaPlayer | ||
| bytesTotal : uint [read-only]
The total number of bytes to load for the current media. | IProgressiveMediaPlayer | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched periodically when a media player's content is loading to indicate the current progress. | IProgressiveMediaPlayer | |||
| bytesLoaded | property |
bytesLoaded:uint [read-only] The number of bytes loaded for the current media.
public function get bytesLoaded():uintSee also
| bytesTotal | property |
bytesTotal:uint [read-only] The total number of bytes to load for the current media.
public function get bytesTotal():uintSee also
| loadProgress | Event |
starling.events.Eventfeathers.events.MediaPlayerEventType.LOAD_PROGRESS
Dispatched periodically when a media player's content is loading to
indicate the current progress. The bytesLoaded and
bytesTotal properties may be accessed to determine the
exact number of bytes loaded.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
data | A numeric value between 0
and 1 that indicates how much of the media has loaded so far. |
target | The Object that dispatched the event;
it is not always the Object listening for the event. Use the
currentTarget property to always access the Object
listening for the event. |
See also