getMaxScrollPosition() - example?

Publishing Print2Flash Documents embedding them in Flex applications
Post Reply
davidrepas
Posts:6
Joined:Wed Mar 05, 2008 11:35 am
getMaxScrollPosition() - example?

Post by davidrepas » Fri Feb 20, 2009 5:33 pm

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

davidrepas
Posts:6
Joined:Wed Mar 05, 2008 11:35 am

Re: getMaxScrollPosition() - example?

Post by davidrepas » Fri Feb 20, 2009 6:20 pm

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

Post Reply