Hi to Matt and all flexcoders! I have implemented AutoScrollManager class that do this job: http://skovalyov.blogspot.com/2006/12/probably-one-of-most-annoying-thing.html
I consider this solution could be changed a bit and added to the native Container class in future Flex releases or updates. :) Sergey. On 11/13/06, Matt Chotin <[EMAIL PROTECTED]> wrote:
Capture the focusIn event on your components (it might be a bubbling event in which case you could have the listener on your parent container). In the handler check the y position of the component and then check the verticalScrollPosition + height of the container to see if the y is within that range. If not, adjust verticalScrollPosition. Matt .