# \[FMX\] Math scroll bar help

**URL:** <https://forum.kirupa.com/t/fmx-math-scroll-bar-help/90678>\
**Category:** flash\
**Created:** [May 19, 2005, 7:08pm UTC](https://forum.kirupa.com/t/fmx-math-scroll-bar-help/90678 "2005-05-19T19:08:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlu](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jlu](https://forum.kirupa.com/u/jlu)\
**Post date:** [May 19, 2005, 7:08pm UTC](https://forum.kirupa.com/t/fmx-math-scroll-bar-help/90678/1 "2005-05-19T19:08:47Z")

</div>

ok, i’m a little unsure how to word this. Basically I am working on a scroll window. I have my content called mc\_content, and a scroll bar called mc\_scroll. Then I have a mask for the viewable area called mc\_box. If I want mc\_content to move up when I move the mc\_scroll down, but in the same ratio with mc\_box. how would I write the math for the .\_y property for mc\_content?

Thanks
