# Clickable Scrollbar -or- Can I Use a MovieClip with UIScrollBar component?

**URL:** <https://forum.kirupa.com/t/clickable-scrollbar-or-can-i-use-a-movieclip-with-uiscrollbar-component/184637>\
**Category:** flash\
**Created:** [April 6, 2006, 2:11pm UTC](https://forum.kirupa.com/t/clickable-scrollbar-or-can-i-use-a-movieclip-with-uiscrollbar-component/184637 "2006-04-06T14:11:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ygramul](https://avatars.discourse-cdn.com/v4/letter/y/7993a0/32.png) [@Ygramul](https://forum.kirupa.com/u/Ygramul)\
**Post date:** [April 6, 2006, 2:11pm UTC](https://forum.kirupa.com/t/clickable-scrollbar-or-can-i-use-a-movieclip-with-uiscrollbar-component/184637/1 "2006-04-06T14:11:50Z")

</div>

I’m trying to create a horizontal scrollbar, much like the excellent one on this site, but clickable. What I need differs from the ScrollPane component bar, in that I need the scrollFace (along with my movieclip) to go exactly where I click on the scollTrack (the ScrollPane component only moves the scrollFace a little bit, not to the exact position I click). How would I do that? I was thinking I would need to animate my movie clip (a 6000px wide jpeg) with a simple motion tween, and then using a scrollTrack to call specific frames within the movie clip?

Alternatively, could I just use the UIScrollBar component to do what I need? All the documentation I’ve seen says to use it with text frames, and I cannot figure out a way to use it with a movie clip. Hopefully I’m just missing something simple.

Thanks for any and all help!

---

<div class="post-metadata">

**Author:** ![Lemuel](https://avatars.discourse-cdn.com/v4/letter/l/f9ae1b/32.png) [@Lemuel](https://forum.kirupa.com/u/Lemuel)\
**Post date:** [April 6, 2006, 3:54pm UTC](https://forum.kirupa.com/t/clickable-scrollbar-or-can-i-use-a-movieclip-with-uiscrollbar-component/184637/2 "2006-04-06T15:54:27Z")

</div>

I think the UIscrollbar is just for Text.

I’m not sure what version of Flash your using, but do you have the ScrollPane component?

I’ve used it often for really [U]really[/U] large pictures, or forms that I need to scroll.

Not sure if it goes exactly where you click when you click on the scroll track though.

---

<div class="post-metadata">

**Author:** ![Ygramul](https://avatars.discourse-cdn.com/v4/letter/y/7993a0/32.png) [@Ygramul](https://forum.kirupa.com/u/Ygramul)\
**Post date:** [April 6, 2006, 4:04pm UTC](https://forum.kirupa.com/t/clickable-scrollbar-or-can-i-use-a-movieclip-with-uiscrollbar-component/184637/3 "2006-04-06T16:04:25Z")

</div>

> [@Lemuel](#):
>
> I think the UIscrollbar is just for Text.
> 
> I’m not sure what version of Flash your using, but do you have the ScrollPane component?
> 
> I’ve used it often for really really large pictures, or forms that I need to scroll.
> 
> Not sure if it goes exactly where you click when you click on the scroll track though.

I do have the ScrollPane component, but it does not immediately move to the clicked area. Instead, it moves in an increment.

I’ll give a little more detail in what I need to do:

I have a strip, a 6000px long movie clip that looks like a heart monitor EKG readout. I need to have a horizontal scroll bar to scroll the image, but I also need the scroll bar to be clickable/draggable so that I can jump to particular parts of the strip. It needs to be clickable also because at certain points, there will be popups displaying more information about a particular section, so if a popup location is clicked, the scrollbar needs to jump back to that point.

Hope that helps.
