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.
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.