I am working with the scrollpane component. I have movie
clips that I've loaded into the scrollpane successfully and am
working on having the content automatically scroll. This mostly
works, but the problem is that I am not able to get the scrollbar
to move accordingly. I have tried using hPosition, but this does
Any suggestions as to what I could do to?
Here is my code: (sContent is the content of the scrollpane
and sScroller is the scrollpane.)
var curposX = _root.sContent._x;
_root.sScroller.hPosition -=3; //i've also tried taking out
the line above this one and only using hPosition
I think I figured out my problem. I started this project in
MX and upgraded to flash 8 so even though I'm using flash 8, my
component has not been updated and does not have the same
properties and functions as the flash 8 scrollpane. Thus, it
doesn't know what to do with hPosition.
So, instead, I'm using setScrollPosition(x,y). This works as
I'd like it to, moves the content and the thumb.