MovieClip +--mx.controls.streamingmedia.PlayBar
The load bar that indicates how much of the streaming media has been loaded.
_controller
, _darkenText
, _hilite
, _statusTextField
, _textPulseTime
, _thumb
, _timeTextField
, _tray
, ACTIVE_PULSE_PORTION
, enabled
, PAUSED_ID
, PULSE_DURATION
, STREAMING_ID
, TEXT_ALPHA_DARK
, TEXT_ALPHA_LIGHT
_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 PlayBar()
static private TEXT_ALPHA_DARK:Number
static private TEXT_ALPHA_LIGHT:Number
static private PULSE_DURATION:Number
static private ACTIVE_PULSE_PORTION:Number
static private STREAMING_ID:String
static private PAUSED_ID:String
private _controller:MediaController
private _thumb:PlayBarThumb
private _hilite:MovieClip
private _tray
private _statusTextField:TextField
private _timeTextField:TextField
private _darkenText:Boolean
private _textPulseTime:Number
public enabled:Boolean
public function getCompletionPercentage():Number
Set the completion percentage.
public function setCompletionPercentage(aPercentage:Number):Void
Set the completion percentage.
public function setIsPlaying(isPlaying:Boolean):Void
Let the playBar know if it is playing. Update the status text.
public function getController():MediaController
- Return
- The controller associated with the play bar.
public function xToPercent(x:Number):Number
- Parameters
x
The x coordinate of the thumb. Between -3 and (width - 6). - 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 -3 and (width - 6).
public function yToPercent(y:Number):Number
- Parameters
y
The y coordinate of the thumb. Between -3 and (height - 6). - Return
- The percent complete. Between 0 and 100.