Class mx.containers.ScrollPane

MovieClip
   +--mx.core.UIObject
      +--mx.core.UIComponent
         +--mx.core.View
            +--mx.core.ScrollView
               +--mx.containers.ScrollPane

Description

Simple pixel scrolling of 1. content loaded from library 2. contents loaded from Internet

Field Index

__hLineScrollSize, __hPageScrollSize, __hScrollPolicy, __scrollContent, __scrollDrag, __vLineScrollSize, __vPageScrollSize, _loaded, _total, className, clipParameters, content, contentPath, hLineScrollSize, hPageScrollSize, hPosition, hScrollPolicy, initializing, keyDown, lastX, lastY, mergedClipParameters, scrollDrag, spContentHolder, symbolName, symbolOwner, vLineScrollSize, vPageScrollSize, vPosition, vScrollPolicy
Inherited from ScrollView
__hPosition, __hScrollPolicy, __maxHPosition, __viewMetrics, __vPosition, __vScrollPolicy, className, columnWidth, heightPadding, hPosition, hScroller, hScrollPolicy, invLayout, MASK_DEPTH, mask_mc, maxHPosition, maxVPosition, numberOfCols, oldRndUp, owner, propsInited, rowC, rowH, scrollAreaChanged, specialHScrollCase, symbolName, symbolOwner, viewableColumns, viewableRows, vPosition, vScroller, vScrollPolicy, widthPadding
Inherited from View
__tabIndex, _loadExternalClass, border_mc, boundingBox_mc, childNameBase, className, createClassChildAtDepth, depth, hasBeenLayedOut, loadExternal, numChildren, symbolName, symbolOwner, tabIndex
Inherited from UIComponent
clipParameters, drawFocus, enabled, focusEnabled, focusManager, focusTextField, groupName, height, kStretch, mergedClipParameters, origBorderStyles, origBorderValues, popUp, symbolName, symbolOwner, tabEnabled, tabIndex, width
Inherited from UIObject
__height, __onUnload, __width, _color, _endInit, _id, _maxHeight, _maxWidth, _minHeight, _minWidth, _preferredHeight, _preferredWidth, _tf, _topmost, addEventListener, bottom, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createClassChildAtDepth, createEvent, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, height, idNames, ignoreClassStyleDeclaration, initProperties, invalidateFlag, left, lineColor, lineWidth, marginLeft, marginRight, methodTable, minHeight, minWidth, notifyStyleChangeInChildren, removeEventListener, right, scaleX, scaleY, setStyle, stylecache, styleName, symbolName, symbolOwner, tabEnabled, textAlign, textColorList, textDecoration, textIndent, tfList, top, validateNow, visible, width, x, y
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 ScrollPane()

_onKeyDown(), childLoaded(), createChildren(), dispatchEvent(), getBytesLoaded(), getBytesTotal(), init(), onComplete(), onScroll(), refreshPane(), setHPosition(), setScrollProperties(), setVPosition(), size(), startDragLoop()
Inherited from ScrollView
__onMouseWheel(), createChild(), doLayout(), draw(), getHPosition(), getHScrollPolicy(), getMaxHPosition(), getViewMetrics(), getVPosition(), getVScrollPolicy(), invalidate(), scrollProxy(), setEnabled(), setHScrollPolicy(), setMaxHPosition(), setVScrollPolicy()
Inherited from View
addLayoutObject(), convertToUIObject(), destroyChildAt(), extension(), getChildAt(), initLayout()
Inherited from UIComponent
dispatchValueChangedEvent(), enabledChanged(), findFocusFromObject(), findFocusInChildren(), getFocus(), getFocusManager(), isParent(), onKillFocus(), onSetFocus(), pressFocus(), releaseFocus(), setFocus(), setVisible()
Inherited from UIObject
__getTextFormat(), _createChildren(), _getTextFormat(), cancelAllDoLaters(), constructObject(), createClassObject(), createEmptyObject(), createLabel(), createObject(), createSkin(), destroyObject(), doLater(), doLaterDispatcher(), drawRect(), getClassStyleDeclaration(), getMinHeight(), getMinWidth(), getSkinIDName(), getStyle(), getStyleName(), initFromClipParameters(), invalidateStyle(), mergeClipParameters(), move(), redraw(), setColor(), setMinHeight(), setMinWidth(), setSize(), setSkin()
Inherited from MovieClip
attachAudio(), attachMovie(), beginFill(), beginGradientFill(), clear(), createEmptyMovieClip(), createTextField(), curveTo(), duplicateMovieClip(), endFill(), getBounds(), getDepth(), getInstanceAtDepth(), getNextHighestDepth(), getSWFVersion(), getTextSnapshot(), getURL(), globalToLocal(), gotoAndPlay(), gotoAndStop(), hitTest(), lineStyle(), lineTo(), loadMovie(), loadVariables(), localToGlobal(), moveTo(), nextFrame(), onData(), onDragOut(), onDragOver(), onEnterFrame(), onKeyDown(), onKeyUp(), onLoad(), onMouseDown(), onMouseMove(), onMouseUp(), onPress(), onRelease(), onReleaseOutside(), onRollOut(), onRollOver(), onUnload(), play(), prevFrame(), removeMovieClip(), setMask(), startDrag(), stop(), stopDrag(), swapDepths(), unloadMovie(), valueOf()

Constructor Detail

ScrollPane

function ScrollPane()

Field Detail

symbolName

static symbolName:String

symbolOwner

static symbolOwner:Object

className

className:String

__hScrollPolicy

__hScrollPolicy:String

__scrollDrag

__scrollDrag:Boolean

__vLineScrollSize

__vLineScrollSize:Number

__hLineScrollSize

__hLineScrollSize:Number

__vPageScrollSize

__vPageScrollSize:Number

__hPageScrollSize

__hPageScrollSize:Number

clipParameters

clipParameters:Object

mergedClipParameters

static mergedClipParameters:Boolean

initializing

initializing:Boolean

_total

_total:Number

_loaded

_loaded:Number

lastX

lastX:Number

lastY

lastY:Number

__scrollContent

__scrollContent:String

spContentHolder

spContentHolder:MovieClip

keyDown

keyDown:Function

contentPath

contentPath:String

content

content:MovieClip [Read Only]
The URL or linkage name of the SWF or JPEG has been loaded into the ScrollPane.

vLineScrollSize

vLineScrollSize:Number
number of pixels to move when UP/DOWN arrow button (in vertical scrollbar) is pressed

hLineScrollSize

hLineScrollSize:Number
number of pixels to move when UP/DOWN arrow button (in horizontal scrollbar) is pressed

vPageScrollSize

vPageScrollSize:Number
number of pixels to move when the track in vertical scrollbar is pressed

hPageScrollSize

hPageScrollSize:Number
number of pixels to move when the track in horizontal scrollbar is pressed

hScrollPolicy

hScrollPolicy:Object [Write Only]
Sets the horizontal scroll of a Scroll Pane to on/off or to real-time generation according to the size of the image.(Default value "auto")

vScrollPolicy

vScrollPolicy:Object [Write Only]
Sets the vertical scroll of a Scroll Pane to on/off or to real-time generation according to the size of the image.(Default value "auto")

scrollDrag

scrollDrag:Boolean
Sets/returns the drag property of a scroll pane. This enables realtime mouse scrolling within the Scroll Pane.

hPosition

hPosition:Number

vPosition

vPosition:Number

Method Detail

getBytesTotal

function getBytesTotal():
Number
Returns the total number of bytes of the content to be loaded in the ScrollPane.
Return
: Number @tiptext Returns the size of the ScrollPane content in bytes @helpid 3019

getBytesLoaded

function getBytesLoaded():
Number
Returns the number of bytes loaded in the ScrollPane. Can be called at regular intervals while loading the content to check the progress.
Return
: Number @tiptext Returns the number of bytes loaded of the ScrollPane content @helpid 3020

setHPosition

function setHPosition(position:
Number)
Parameters

setVPosition

function setVPosition(position:
Number)
Parameters

init

function init(Void):Void

createChildren

function createChildren(Void):Void

size

function size(Void):Void

setScrollProperties

function setScrollProperties(columnCount:
Number, columnWidth:Number, rowCount:Number, rowHeight:Number):Void

onScroll

function onScroll(scrollEvent:
Object):Void

childLoaded

function childLoaded(obj:
MovieClip):Void

onComplete

function onComplete(Void):Void

startDragLoop

function startDragLoop(Void):Void

dispatchEvent

function dispatchEvent(o:
Object):Void

refreshPane

function refreshPane(Void):Void

_onKeyDown

function _onKeyDown(e:
Object):Void