Class mx.controls.streamingmedia.VolumeControlHandle

MovieClip
   +--mx.controls.streamingmedia.VolumeControlHandle

Description

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

Field Index

_controller, _enabled, _volumeControl, 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 VolumeControlHandle()

broadcastEvent(), getRange(), handleMouseMove(), handlePress(), handleRelease(), handleReleaseOutside(), init(), isVertical(), setLoud(), setMute(), setVolume(), startThumbDrag(), stopThumbDrag(), volumeToX(), xToVolume()
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(), onUnload(), play(), prevFrame(), removeMovieClip(), setMask(), startDrag(), stop(), stopDrag(), swapDepths(), unloadMovie(), valueOf()

Constructor Detail

VolumeControlHandle

public function VolumeControlHandle()
Constructor

Field Detail

_volumeControl

private _volumeControl:VolumeControl

_controller

private _controller:MediaController

_enabled

private _enabled:Boolean

enabled

public enabled:Boolean

Method Detail

init

private function init():Void
Initialize the clip.

isVertical

private function isVertical():
Boolean

setVolume

public function setVolume(aVolume:
Number):Void
Position the thumb according to the parameter volume.
Parameters
aVolume Volume level between 0 and 100

setMute

public function setMute():Void
Put the thumb in mute position.

setLoud

public function setLoud():Void
Put the thumb in loud position.

handlePress

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

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. Stop dragging my clip around.

startThumbDrag

private function startThumbDrag():Void

stopThumbDrag

private function stopThumbDrag():Void

handleMouseMove

private function handleMouseMove():Void

broadcastEvent

private function broadcastEvent():Void

xToVolume

private function xToVolume(x:
Number):Number

volumeToX

private function volumeToX(aVol:
Number):Number

getRange

private function getRange():
Number