ScrollPane

Kind of class:class
Inherits from:ScrollView < View < UIComponent < UIObject < MovieClip
Classpath:mx.containers.ScrollPane
File last modified:Tuesday, 18 December 2007, 15:44:37
Component metadata:
    Event
    "complete"

    Summary


    Constructor
    Class properties
    Class properties inherited from ScrollView
    Class properties inherited from View
    Class properties inherited from UIObject
    Instance properties
    Class methods
    Class methods inherited from View
    Class methods inherited from UIObject
    Instance methods
    Event handlers
    Event handlers inherited from ScrollView
    Event handlers inherited from UIComponent

    Constructor

    ScrollPane

    function ScrollPane (
    )

    Class properties

    mergedClipParameters

    static mergedClipParameters:Boolean = UIObject.mergeClipParameters(ScrollPane.prototype.clipParameters, ScrollView.prototype.clipParameters)
    (read)

    symbolName

    static symbolName:String = "ScrollPane"
    (read)

    symbolOwner

    static symbolOwner:Object = ScrollPane
    (read)

    version

    static version:String = "2.0.2.127"
    (read)

    Instance properties

    __hLineScrollSize

    __hLineScrollSize:Number = 5
    (read)

    __hPageScrollSize

    __hPageScrollSize:Number = 20
    (read)

    __hScrollPolicy

    __hScrollPolicy:String = "auto"
    (read)

    __scrollContent

    __scrollContent:String
    (read)

    __scrollDrag

    __scrollDrag:Boolean = false
    (read)

    __vLineScrollSize

    __vLineScrollSize:Number = 5
    (read)

    __vPageScrollSize

    __vPageScrollSize:Number = 20
    (read)

    _loaded

    _loaded:Number
    (read)

    _total

    _total:Number
    (read)

    className

    className:String = "ScrollPane"
    (read)

    name of this class

    clipParameters

    clipParameters:Object = {contentPath : 1,scrollDrag : 1,hScrollPolicy : 1,
    (read)

    content

    content:MovieClip
    (read)

    The URL or linkage name of the SWF or JPEG has been loaded into the ScrollPane.

    contentPath

    contentPath
    (read,write)

    The URL or linkage name of the SWF or JPEG that is to be loaded,
    or has been loaded, into the ScrollPane.
    Component metadata:
      Bindable
      "writeonly"
      Inspectable
      defaultValue:
      ""

      hLineScrollSize

      hLineScrollSize:Number
      (read,write)

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

      hPageScrollSize

      hPageScrollSize:Number
      (read,write)

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

      hPosition

      hPosition:Number
      (read)

      hScrollPolicy

      hScrollPolicy
      (write)

      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")
      Component metadata:
        Inspectable
        defaultValue:
        "auto"
        enumeration:
        "auto,on,off",

        initializing

        initializing:Boolean = true
        (read)

        keyDown

        keyDown:Function
        (read)

        lastX

        lastX:Number
        (read)

        lastY

        lastY:Number
        (read)

        scrollDrag

        scrollDrag:Boolean
        (read,write)

        Sets/returns the drag property of a scroll pane.
        This enables realtime mouse scrolling within the Scroll Pane.
        Component metadata:
          Inspectable
          defaultValue:
          false

          spContentHolder

          spContentHolder:MovieClip
          (read)

          vLineScrollSize

          vLineScrollSize:Number
          (read,write)

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

          vPageScrollSize

          vPageScrollSize:Number
          (read,write)

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

          vPosition

          vPosition:Number
          (read)

          vScrollPolicy

          vScrollPolicy
          (write)

          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")
          Component metadata:
            Inspectable
            defaultValue:
            "auto"
            enumeration:
            "auto,on,off",

            Instance methods

            _onKeyDown

            function _onKeyDown (
            e:Object) : Void

            childLoaded

            function childLoaded (
            obj:MovieClip) : Void

            Parameters:
            obj:
            the loaded child
            #

            createChildren

            function createChildren (
            Void) : Void

            dispatchEvent

            function dispatchEvent (
            o:Object) : Void

            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.
            Returns:
            • Number

            getBytesTotal

            function getBytesTotal (
            ) : Number

            Returns the total number of bytes of the content to be loaded in the ScrollPane.
            Returns:
            • Number

            init

            function init (
            Void) : Void

            refreshPane

            function refreshPane (
            Void) : Void

            setHPosition

            function setHPosition (
            position:Number)

            Parameters:
            Number:
            Position of the horizontal scrollbar

            setScrollProperties

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

            setVPosition

            function setVPosition (
            position:Number)

            Parameters:
            Number:
            Position of the vertical scrollbar

            size

            function size (
            Void) : Void

            startDragLoop

            function startDragLoop (
            Void) : Void

            Event handlers

            onComplete

            function onComplete (
            Void) : Void

            onScroll

            function onScroll (
            scrollEvent:Object) : Void