Can anyone offer an example on how to get the maximum scroll position using getMaxScrollPosition() in Flex. Unfortunetely, I haven't had any luck getting it to work.
Appreciated,
David
getMaxScrollPosition() - example?
-
- Posts:6
- Joined:Wed Mar 05, 2008 11:35 am
Re: getMaxScrollPosition() - example?
A little more info on what I'm trying to do above.
I'd like to compare the MaxScrollPosition with the current ScrollPosition. If the "current" is less the the "max", my scroll down control will allow the user to continue scrolling down. Once the max and the current are equal, the function will stop working (meaning the user can no longer "scroll down" since they have reached the end of the document).
Thanks,
David
I'd like to compare the MaxScrollPosition with the current ScrollPosition. If the "current" is less the the "max", my scroll down control will allow the user to continue scrolling down. Once the max and the current are equal, the function will stop working (meaning the user can no longer "scroll down" since they have reached the end of the document).
Thanks,
David