# Scroll Bar to a movie clip

**URL:** <https://forum.kirupa.com/t/scroll-bar-to-a-movie-clip/306491>\
**Category:** flash\
**Created:** [March 16, 2010, 4:14pm UTC](https://forum.kirupa.com/t/scroll-bar-to-a-movie-clip/306491 "2010-03-16T16:14:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lakshmi12](https://avatars.discourse-cdn.com/v4/letter/l/c6cbf5/32.png) [@lakshmi12](https://forum.kirupa.com/u/lakshmi12)\
**Post date:** [March 16, 2010, 4:14pm UTC](https://forum.kirupa.com/t/scroll-bar-to-a-movie-clip/306491/1 "2010-03-16T16:14:12Z")

</div>

hey all,

So far this site has been really helpful to me with the web page I am working on. But now I am stuck at a point where I could not find any help from the site or from my research in other links.

Basically,

I am trying to build a flash project, where I’ve added a number of Datagrids to a layer and I am using masking to show only a part of the layer.And I have added custom scroll bars to scroll through the layer.so far so good.

now when I am using the scroll bar the layer seems to scroll perfectly fine but the controls on the layer are just static. Is there a way to bind these controls to the layer and scroll the entire layer with the controls…correct me if I am wrong. I am new to flash…so any help will be greatly appreciated.
