Hi, While trying to find the best ways to get smooth scrollings on mobile, no matter the type of optimization (pure as3 ItemRenderers...) or settings used (framerate, stage quality...) the result is always the same :
- The scrolling is jerky when the user touch the screen (a list for example) and drags its content. -There is a significative difference of scrolling smoothness depending on whether an element is "thrown" or dragged by the user. The reason is due to a constant in the Spark Scroller code : /private static const MAX_DRAG_RATE:Number = 30;/ With this constant, no matter the framerate of the application, the refresh frequency of the viewport content position can't exceed 30 frames per second. Using a monkey patch I set the value of this constant to 60 (just like the framerate of the application) and I could observe a very net improvement of the scrolling smoothness during drag operations. May be this value could be changed for a higher one or the constant replaced by a property that match dynamically the framerate of the application (at least when the framerate exceeds 30 fps). What do you think ? -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/Improvement-of-mobile-scrollings-tp41029.html Sent from the Apache Flex Development mailing list archive at Nabble.com.