# AS2 Scroller that resizes

**URL:** <https://forum.kirupa.com/t/as2-scroller-that-resizes/215817>\
**Category:** Uncategorized\
**Created:** [February 10, 2007, 9:04pm UTC](https://forum.kirupa.com/t/as2-scroller-that-resizes/215817 "2007-02-10T21:04:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Exuk](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/exuk/32/681_2.png) [@Exuk](https://forum.kirupa.com/u/Exuk)\
**Post date:** [February 10, 2007, 9:04pm UTC](https://forum.kirupa.com/t/as2-scroller-that-resizes/215817/1 "2007-02-10T21:04:36Z")

</div>

I am having a lot of trouble making this scroller work. My understanding of math is really letting me down in this instance.

What I am trying to do:

- Make a scroller that tweens on a vertical \_y axis.
- Tweens with mouse movement.
- The scroll area changes height on stage resize.

This is very similar to what i want to do:  
[http://www.kirupa.com/developer/flash8/interactive\_image\_pan.htm](http://www.kirupa.com/developer/flash8/interactive_image_pan.htm)

I have included my AS2 class and .fla file. The .fla is important becuase this needs to work in the structure of my site.

Thanks in advance.
