Sometimes, people make scrollbars more complicated than they need to be. The
easiest scrollbar to write and use is one that returns a percentage 0-100 based
on its position in the well.
Here is a quick example. I used onEnterFrame for the update because in my
experience, it's smoother than a
Hello All,
I have a movieclip that I attach a varying number of other movieclip that
are stacked vertically. I am trying to figure out some math that accounts
for the varying height of the scrolled movieclip. I am having a problem with
the math though. I am using something that looks like:
Can I assume that you are offsetting your scroll dragger by 30 because you
have arrow buttons at the top and bottom of the scrollbar? If so you need to
change the +30 to -30. Otherwise you are just shifting the scroll area down
rather than removing 30 from both ends. That might account for your
3 matches
Mail list logo