I'm having a very similar problem with a list control. I have a data
model that has a cursor position that my list binds to, i.e.
<mx:List width="200" height="100" dataProvider="{dataModel}"
selectedIndex="{dataModel.cursorPos}"/>
When I refresh my data model it automatically scrolls me back to the
top of the list, it keeps my selectedIndex correct but if it is a
higher number than the viewed items it will be off of the viewed area.
I tried adding in verticalScrollPosition="{dataModel.cursorPos}" but
it acts even stranger. It still scrolls me to the top of my list and
adds a few empty lines at the top.
I am wondering if the scrollToIndex method will help with this and was
wondering if anyone else had come up with an easy solution to this.
Ethan