Hi joaoak, Right, now I see what your problem is.
'commentsList.scroller.verticalScrollBar.maximum' does not return a new changed correct value within "onCollectionChange" event handler. You have plenty of options what to do, all of them can lead to cul-de-sac. For example, you can calculate a new value of "maximum" by youself by substracting: "commentsList.scroller.viewport.contentHeight - commentsList.scroller.viewport.height" Have a look at event listeners for PropertyChangeEvent.PROPERTY_CHANGE and ResizeEvent.RESIZE events dispatched from viewport set inside source code of ScrollBarBase.as and VScrollBar.as classes for better understanding when "maximum" value is calculated in Scroller component, -- Best regards, Andriy Panas On 18 February 2010 18:57, joaoak <joao.sale...@webfuel.pt> wrote: > > > > Andriy: > > commentsList.scroller.verticalScrollBar.value = > commentsList.scroller.verticalScrollBar.maximum > > This works properly when called by the user (since, at the time of the button > click, the List has finished updating itself). > > ------------------------------------ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: flexcoders-dig...@yahoogroups.com flexcoders-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: flexcoders-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/