PDA

View Full Version : custom event scroll bar?



smeared
February 5th, 2009, 12:00 PM
boy,.. i hate posting on here so often.. and actually this is still related to my last question. just a different approach that I'm unsure of.

So.. i've made two scrollbars.. one on the right and one on bottom.. horiz, and vert... that scroll a main movieclip that is big, about 2800px wide by 2000 tall....

BUT.. I'm don't know how to update the scroll bars if I were to tween the main clip to a position not using the scrollbars.. like if i had a navigation button, that tells the main clip to move to a certain x, y position..

i suppose i need a public function in the scroll bar class that tells it to adjust the track buttons accordingly on the nav event..

well once again, any pointers would be appreciated. thanks a lot.