0 Replies Latest reply on Jan 3, 2012 1:04 PM by jdmwhitey1979

    Flex Scrolling Bug in Tree control

    jdmwhitey1979

      <mx:Tree id="tree" labelField="@label" minHeight="400">

                <mx:XMLListCollection id="xmlList">

                          <fx:XMLList id="root" xmlns=www.ns.com>

                          <node label="aaaa">

                                    <node label="aaaDesc"/>

                          </node>

                          ... more nodes

                          </fx:XMLList>

                </mx:XMLListCollection>

      </mx:Tree>

       

       

      thats pretty much the basic code that i have

      when scroller is added this functionality doesnt work.

       

       

       

      TypeError: Error #1010: A term is undefined and has no properties.

      at mx.controls::List/adjustVerticalScrollPositionDownward()[E:\dev\4.5.1\frameworks\projects \mx\src\mx\controls\List.as:1043]

      at mx.controls::List/configureScrollBars()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\contro ls\List.as:988]

      at mx.controls::List/scrollHandler()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\controls\Lis t.as:1629]

      at mx.controls::Tree/scrollHandler()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\controls\Tre e.as:2898]

      at flash.events::EventDispatcher/dispatchEventFunction()

      at flash.events::EventDispatcher/dispatchEvent()

      at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\co re\UIComponent.as:13128]

      at mx.controls.scrollClasses::ScrollBar/http://www.adobe.com/2006/flex/mx/internal::dispatchScrollEvent()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\controls\scrollClasses\ScrollBar.as:1472]

      at mx.controls.scrollClasses::ScrollThumb/mouseMoveHandler()[E:\dev\4.5.1\frameworks\project s\mx\src\mx\controls\scrollClasses\ScrollThumb.as:216]