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
, useHandCursor
new MiniPlayBar()
private _controller:MediaController
private _thumb:MovieClip
private _hilite:MovieClip
private _tray
public function getCompletionPercentage():Number
Set the completion percentage.
public function setCompletionPercentage(aPercentage:Number):Void
Set the completion percentage.
public function getController():MediaController
- Return
- The controller associated with the play bar.
public function draw(h:Number):Void
Draw the play bar.
- Parameters
h
The 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
x
The 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
percent
The percent complete. Between 0 and 100. - Return
- The x coordinate of the thumb. Between 0 and (width - 2).