Main Page | Packages | Class Tree | Index | Help

mx.controls.scrollClasses

class ScrollThumb

Object
  |
  +--MovieClip
        |
        +--mx.core.UIObject
              |
              +--mx.skins.Border
                    |
                    +--mx.skins.CustomBorder
                          |
                          +--mx.controls.scrollClasses.ScrollThumb


class ScrollThumb
extends CustomBorder

The thumb of the scrollbar is a custom button



Field Summary


btnOffset: Number
keeps the thumb grip from moving on press


className: String
name of this class


datamax: Number



datamin: Number



grip_mc: MovieClip



gripSkin: String



horizontal



idNames



lastY: Number
last position of the thumb


scrollMove: Number
how much the thumb has moved when being dragged

static
symbolOwner



ymax: Number



ymin: Number
stored values for the thumb parameters

Fields inherited from class mx.skins.CustomBorder

className, horizontal, idNames, l_mc, leftSkin, m_mc, middleSkin, minHeight, minWidth, r_mc, rightSkin, symbolName, symbolOwner, tagL, tagM, tagR, version

Fields inherited from class mx.skins.Border

borderStyle, idNames, symbolName, symbolOwner, tagBorder

Fields inherited from class mx.core.UIObject

__height, __width, _color, _topmost, addEventListener, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createEvent, ction, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, idNames, ignoreClassStyleDeclaration, initProperties, marginLeft, marginRight, methodTable, notifyStyleChangeInChildren, removeEventListener, setStyle, stylecache, styleName, symbolName, symbolOwner, textAlign, textColorList, textDecoration, textIndent, validateNow, version

Fields inherited from class 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

Fields inherited from class Object

__proto__, constructor, prototype

Properties inherited from class mx.skins.CustomBorder

height, width

Properties inherited from class mx.core.UIObject

bottom, height, left, minHeight, minWidth, right, scaleX, scaleY, top, visible, width, x, y

Constructor


ScrollThumb ( )


Method Summary


createChildren ( Void ): Void



dragThumb ( Void ): Void



draw ( )



onPress ( Void ): Void



onRelease ( Void ): Void



onReleaseOutside ( Void ): Void



setRange ( _ymin: Number, _ymax: Number, _datamin: Number, _datamax: Number ): Void



size ( )



stopDragThumb ( Void ): Void


Methods inherited from class mx.skins.CustomBorder

createChildren, draw, init, size

Methods inherited from class mx.skins.Border

init

Methods inherited from class mx.core.UIObject

__getTextFormat, _createChildren, _getTextFormat, cancelAllDoLaters, constructObject, createChildren, createClassObject, createEmptyObject, createLabel, createObject, createSkin, destroyObject, doLater, doLaterDispatcher, draw, drawRect, getClassStyleDeclaration, getMinHeight, getMinWidth, getSkinIDName, getStyle, getStyleName, init, initFromClipParameters, invalidate, invalidateStyle, mergeClipParameters, move, redraw, setColor, setMinHeight, setMinWidth, setSize, setSkin, setVisible, size

Methods inherited from class 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

Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toLocaleString, toString, unwatch, valueOf, watch



Field Documentation

btnOffset

var btnOffset: Number
keeps the thumb grip from moving on press

className

var className: String
name of this class

datamax

var datamax: Number

datamin

var datamin: Number

grip_mc

var grip_mc: MovieClip

gripSkin

var gripSkin: String

horizontal

var horizontal

idNames

var idNames

lastY

var lastY: Number
last position of the thumb

scrollMove

var scrollMove: Number
how much the thumb has moved when being dragged

symbolOwner

static var symbolOwner

ymax

var ymax: Number

ymin

var ymin: Number
stored values for the thumb parameters


Constructor Documentation

ScrollThumb

function ScrollThumb()

Method Documentation

createChildren

function createChildren(Void): Void
Overrides:

dragThumb

function dragThumb(Void): Void

draw

function draw()
Overrides:

onPress

function onPress(Void): Void
Overrides:

onRelease

function onRelease(Void): Void
Overrides:

onReleaseOutside

function onReleaseOutside(Void): Void
Overrides:

setRange

function setRange(_ymin: Number,
 _ymax: Number,
 _datamin: Number,
 _datamax: Number): Void

size

function size()
Overrides:

stopDragThumb

function stopDragThumb(Void): Void

The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc