Class mx.controls.streamingmedia.PlayBarThumb

MovieClip
   +--mx.controls.streamingmedia.PlayBarThumb

Description

The draggable thumb of the play bar that lets the user see and adjust the current play head position.

Field Index

_dragging, _enabled, _pauseId, _playBar, _wasPlaying, enabled
Inherited from MovieClip
_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

Method Index

new PlayBarThumb()

handleMouseMove(), handlePress(), handleRelease(), handleReleaseOutside(), init(), isScrubbing(), isVertical(), onUnload(), startThumbDrag(), stopThumbDrag()
Inherited from MovieClip
attachAudio(), attachMovie(), beginFill(), beginGradientFill(), clear(), createEmptyMovieClip(), createTextField(), curveTo(), duplicateMovieClip(), endFill(), getBounds(), getBytesLoaded(), getBytesTotal(), getDepth(), getInstanceAtDepth(), getNextHighestDepth(), getSWFVersion(), getTextSnapshot(), getURL(), globalToLocal(), gotoAndPlay(), gotoAndStop(), hitTest(), lineStyle(), lineTo(), loadMovie(), loadVariables(), localToGlobal(), moveTo(), nextFrame(), onData(), onDragOut(), onDragOver(), onEnterFrame(), onKeyDown(), onKeyUp(), onKillFocus(), onLoad(), onMouseDown(), onMouseMove(), onMouseUp(), onPress(), onRelease(), onReleaseOutside(), onRollOut(), onRollOver(), onSetFocus(), play(), prevFrame(), removeMovieClip(), setMask(), startDrag(), stop(), stopDrag(), swapDepths(), unloadMovie(), valueOf()

Constructor Detail

PlayBarThumb

public function PlayBarThumb()
The original controllerPolicy setting

Field Detail

_playBar

private _playBar:PlayBar

_enabled

private _enabled:Boolean

_wasPlaying

private _wasPlaying:Boolean

_pauseId

private _pauseId:Number

_dragging

private _dragging:Boolean

enabled

public enabled:Boolean

Method Detail

init

private function init():Void
Initialize the clip.

isVertical

private function isVertical():
Boolean

handlePress

public function handlePress():Void
Process a mouse click on the clip. Start dragging the thumb on the play bar.

startThumbDrag

private function startThumbDrag():Void

onUnload

public function onUnload():Void
Emergency backup. Never kill this clip and leave dragging mode on.

handleRelease

public function handleRelease():Void
The user released the mouse. Stop dragging my clip around.

handleReleaseOutside

public function handleReleaseOutside():Void
The user released the mouse outside the clip. Stop dragging my clip around.

stopThumbDrag

private function stopThumbDrag():Void

handleMouseMove

private function handleMouseMove():Void
Handle mouse motion over the component.

isScrubbing

public function isScrubbing():
Boolean
Is the thumb being dragged?