When I scroll, I listen to the VALUE_COMMIT event on the verticalScrollbar, but when I then wan't to do some calculations depending on the new position (using localToGlobal), then properties that localToGlobal uses aren't updated properly, on what component should I listen to updateComplete? Because updateComplate doesn't get fired on the viewport. So what actually relayouts?
Thanks for the answer.
When I scroll it works better than using the valueCommit event, but if I scroll fast enough the calculations still skew.
So I've decided to use the enterFrame event instead, doing the calculations all the time instead of just doing it when necessary from the idea: If it works performance wise okay in games. I guess it can work here