Go Tripod News / Software

Transformation from every angle

Changing Flex3 ScrollBar maxScrollPosition at runtime.

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.

Sharing is caring:

See more insights

Grow your business

Find out how we can help

Get in touch