MovieClip +--mx.controls.streamingmedia.MiniPlayBar
The load bar that indicates how much of the streaming media has been loaded.
_controller, _hilite, _thumb, _tray_alpha, _currentframe, _droptarget, _focusrect, _framesloaded, _height, _lockroot, _name, _parent, _quality, _rotation, _soundbuftime, _target, _totalframes, _url, _visible, _width, _x, _xmouse, _xscale, _y, _ymouse, _yscale, enabled, focusEnabled, hitArea, tabChildren, tabEnabled, tabIndex, tooltipText, trackAsMenu, useHandCursornew MiniPlayBar()
private _controller:MediaControllerprivate _thumb:MovieClipprivate _hilite:MovieClipprivate _traypublic function getCompletionPercentage():NumberSet the completion percentage.
public function setCompletionPercentage(aPercentage:Number):VoidSet the completion percentage.
public function getController():MediaController
- Return
- The controller associated with the play bar.
public function draw(h:Number):VoidDraw the play bar.
- Parameters
hThe height at which to draw the bar. OPTIONAL. If omitted, the bar will be drawn at its standard height. This is only used if the load bar is in vertical orientation. It is ignored for horizontal bars.
public function xToPercent(x:Number):Number
- Parameters
xThe x coordinate of the thumb. Between 0 and (width - 2). - Return
- The percent complete. Between 0 and 100.
public function percentToX(percent:Number):Number
- Parameters
percentThe percent complete. Between 0 and 100. - Return
- The x coordinate of the thumb. Between 0 and (width - 2).