ok so I have it scrolling left and right but the movie appears to the left of the mask and the scroll bar work a bit weird. here is my edited code:
// This example illustrates how to create a scroll bar with momentum
// There are two examples here one uses a movieclip within a mask
// and the second uses a text field. The code covers both.
// You my only want to use one or the other.
// These variables set the range for the scroll_mc
box_mc.scroll_r = mask_mc._x;
box_mc.scroll_l = mask_mc._x - ( scroll_mc._width + mask_mc._width );
box_mc.scroll_range = scroll_mc._width + mask_mc._width;
I'm attaching the file again, made some more updates to it but its still not working the way i want it to.
currently the scrubber is not working together with the track (small light green square/w long rectangle) also i would like the image to load in the center of the mask and pan left and right from here. (not right or left aligned to to mask)
also i would like the buttons to scroll continuously on press until the user releases the mouse button.
I'm not experienced enough to pull this code apart I'm hoping someone can make some sense of this.
ok I have the scroll working however I would like the image and the scrubber to load center justified so it can be scrolled left and right from the center point. the buttons move the image one click at a time is there any way make it a continuous scroll when pressing down on the button? can anyone help I'm attaching the file