Scrollbar problem - how to load text and have the scrollbar default to bottom onload?

Hi,

I am currently working on a project whereby I need to display text in a scrollable area that refreshes every 2 seconds. I have the text loading ok but there is some extra functionality that I require.

At the moment I have a PHP application that uploads text files and adds the latest comment to the end of each text file. If you open the text file you can see the older comments at the top and the latest comments at the end. In the flash movie, I need the text file to load and the scrollbar to default to the bottom of the flash movie - that way, the latest comments will appear at the bottom of the screen and you can scroll up to the older comments.

I am not sure how to do this as I have just used the built in Flash components to get what I have so far.

Any help is appreciated.

Thanks,
Martin

anyone got any idea’s for this?


on (release){
scroller.scroll = 0;
}

perhaps you would be looking for:

scroller.scroll = scroller.maxVPosition;

just place that only, with your respective desired position at the first line after you click on the button. put it on each button in question. That way you always go to the bottom no matter what area you are in.

then once the user is in that area, they can scroll all they want, move to the next section, and voila they are at the bottom again.

it seems you are going back and forth on this?