Scroll to top/bottom of page in Flex 4

To make the scroller of a Form go either to the top or bottom of the page the following code can be used.

Top:

scrollerID.verticalScrollBar.value = scrollerID.verticalScrollBar.minimum;

Bottom:

scrollerID.verticalScrollBar.value = scrollerID.verticalScrollBar.maximum;

 

 

Advertisements

About Ajeeth Boaz

I am a freelance photographer you can find my clicks @ www.ajeethboaz.com. I am a Developer by profession, I like sharing my experience through blogs you can find it @ http://blog.ajeethboaz.com/

3 responses to “Scroll to top/bottom of page in Flex 4”

  1. Abhishek Boinapalli says :

    Visiting you from Indiblogger

    Hope to see you on my blog

    at Plain Books

Trackbacks / Pingbacks

  1. Scroll to top/bottom of page in Flex 4 « My Blog - June 28, 2012

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: