Unfortunately, no smoking gun in that stack trace.  Do you have a simple
test case you can post?
 
Try different heights on the list classes as well.  It might be a corner
case.  Are you using custom renderers?  Could you be reassigning the
'name' property in those renderers?  The name property is reserved.
 
-Alex

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of confined_to_death666
Sent: Thursday, March 29, 2007 7:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: ListBase ScrollVertically error #1010



Hey Alex,

When I check the app in the debug version I get the following error on
mousewheelscroll:


TypeError: Error #1010: A term is undefined and has no properties.
  at
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::scro
llVertically()
[C:\dev\flex_201_ja\sdk\frameworks\mx\controls\listClasses\ListBase.as:5
358]
  at mx.controls.listClasses::ListBase/setverticalScrollPosition()
[C:\dev\flex_201_ja\sdk\frameworks\mx\controls\listClasses\ListBase.as:1
043]
  at
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::mous
eWheelHandler()
[C:\dev\flex_201_ja\sdk\frameworks\mx\controls\listClasses\ListBase.as:6
389]
  at
mx.controls::List/mx.controls:List::mouseWheelHandler()
[C:\dev\flex_201_ja\sdk\frameworks\mx\controls\List.as:2353]


and this one when I use the scrollBar:


TypeError: Error #1010: A term is undefined and has no properties.
  at
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::scro
llVertically()
[C:\dev\flex_201_ja\sdk\frameworks\mx\controls\listClasses\ListBase.as:5
358]
  at
mx.controls::List/mx.controls:List::scrollHandler()
[C:\dev\flex_201_ja\sdk\frameworks\mx\controls\List.as:1257]
  at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven
tFunction()
  at flash.events::EventDispatcher/dispatchEvent()
  at
mx.core::UIComponent/dispatchEvent()
[C:\dev\flex_! 201_ja\sdk\frameworks\mx\core\UIComponent.! as:8324] 
  at
mx.controls.scrollClasses::ScrollBar/http://www.adobe.com/2006/flex/mx/i
nternal::dispatchScrollEvent()
[C:\dev\flex_201_ja\sdk\frameworks\mx\controls\scrollClasses\ScrollBar.a
s:1096]
  at
mx.controls.scrollClasses::ScrollThumb/mx.controls.scrollClasses:ScrollT
humb::mouseMoveHandler()
[C:\dev\flex_201_ja\sdk\frameworks\mx\controls\scrollClasses\ScrollThumb
.as:234]


The problem was like this before btw.. Different errors for different
scroll methods but both point to the ScrollVertically method. I hope
you can help me better now...:)


 

Reply via email to