all groups > flash actionscript > february 2004 >
You're in the

flash actionscript

group:

ScrollPane scrolling in reverse


ScrollPane scrolling in reverse Frank Jergensen
2/14/2004 6:52:27 PM
flash actionscript:
I have spent the better part of a day digging through the scrollpane
class and its parent classes trying to figure out how to get this
component to scroll in the opposite direction (if mouse is moving up;
movie moves down and visa-versa). So far can't locate the code I need to
change. Any help locating this will be appreciated.
Re: ScrollPane scrolling in reverse James Fee
2/16/2004 9:19:31 AM
If you want the scrollPane to move down when you move the mouse up, add
positive values to hPosition and use setHPosition(new number). If you want
the scollPane to move up when mouse move down, add negative values to
hPosition and use setHPosition(new number). This should work.

Jim

[quoted text, click to view]

AddThis Social Bookmark Button