A quick tip if you have a dynamic scroll bar and want to bind it’s maxScrollPosition to a value at runtime unfortunately you can’t use the MXML binding, i.e. maxScrollPosition={value}.
Alternatively you need to set the value programatically in an event handler, AND importantly call updateDisplayList() on the scrollbar. i.e.
Great work. But somehow I am not being able to run this in my project. Can u gimme a detailed example? Or is it any FLEX SDK version specific? I have noticed that this bug is mentioned in Adobe’s site. Although they have said that this bug has been resolved in Flex 3.0.X version.
Best regards
Dipz
—————— http://www.webvariations.com
8 Comments
Astuces Adobe Flex, Adobe Coldfusion, Papervision 3D | Matsiya
May 9, 2008
[...]
Karthik
August 15, 2008
Great. It worked for me. Thanks for posting the solution.
Allen
October 30, 2008
Great!!! It works!
Thanx!
You are GROSSO!!
Dipz
November 27, 2008
Great work. But somehow I am not being able to run this in my project. Can u gimme a detailed example? Or is it any FLEX SDK version specific? I have noticed that this bug is mentioned in Adobe’s site. Although they have said that this bug has been resolved in Flex 3.0.X version.
Best regards
Dipz
——————
http://www.webvariations.com
Matt Wilson
December 26, 2008
Excellent, was going nuts trying to figure this one out.
sydd
January 10, 2009
thanks, you saved me a lot of time
Marc Haemmerle
March 12, 2009
Thanks, was going nuts too. And would be nice if you fix this, Adobe ..
Brian
May 14, 2010
THANKS!!!!
Two days of beating my head against the wall before I found this.
Leave a comment