views:

42

answers:

1

Hello;

I have a Flex application, I want to scroll the page to bottom when a button is pressed. Scroll bars is added by browser, they do not belong to flex app or component.

I can do this by javascript but is there a way to do this with action script?

Thanks. Enes

+1  A: 

The Container class has a verticalScrollPosition and a maxVerticalScrollPosition. If you set the former to the latter you will scroll the container to the bottom.

Robusto