# $50 quick fix

**URL:** <https://forum.kirupa.com/t/50-quick-fix/275732>\
**Category:** hiring\
**Created:** [November 18, 2008, 1:11am UTC](https://forum.kirupa.com/t/50-quick-fix/275732 "2008-11-18T01:11:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![b\_rich](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@b\_rich](https://forum.kirupa.com/u/b_rich)\
**Post date:** [November 18, 2008, 1:11am UTC](https://forum.kirupa.com/t/50-quick-fix/275732/1 "2008-11-18T01:11:28Z")

</div>

I need a quick modification to kirupa’s scroller. When a movieclip inside the scrollable is clicked, it’s \_y position would be at the top of the screen.

Typically you would do this as follows:

```auto
maskedView._y-myMC._y

```

But since this scroller moves content based the scrollbar’s .\_y it’s not that simple. You’ll need to calculate the scrollbar’s \_y position based of the movieclip’s \_y.

**See it in action** here (scroll down and click the button):  
[http://wrichards.com/scroller-fix.html](http://wrichards.com/scroller-fix.html)

**Download fla:** [http://wrichards.com/scroller-fix.fla](http://wrichards.com/scroller-fix.fla)

PM me or reply here. I will Paypal the first person to fix $50 US.

Thanks
