# Logging and setting scrollpane scroll position

**URL:** <https://forum.kirupa.com/t/logging-and-setting-scrollpane-scroll-position/314162>\
**Category:** Uncategorized\
**Created:** [September 20, 2010, 6:02pm UTC](https://forum.kirupa.com/t/logging-and-setting-scrollpane-scroll-position/314162 "2010-09-20T18:02:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![foolontheplanet](https://avatars.discourse-cdn.com/v4/letter/f/f19dbf/32.png) [@foolontheplanet](https://forum.kirupa.com/u/foolontheplanet)\
**Post date:** [September 20, 2010, 6:02pm UTC](https://forum.kirupa.com/t/logging-and-setting-scrollpane-scroll-position/314162/1 "2010-09-20T18:02:37Z")

</div>

Hey everyone. I need help. I’ve looked around and found answers to this question, but all are in relation to AS3 and I’m working with AS2.

I have a scrollpane with a very long list of images stacked vertically. The user can scroll around, click on an image, and it will take them to another part of the application. There, there is a back button so they can return to the list of images. Instead of jumping back to the top, I want the back button to return them to where they were in the list of images beforehand.

So my question is, how do I log the value of the scroll position, and then set it to that value when the page is loaded again?
