![]() ![]() | |
Flash Player 6.0.79.
Flash MX 2004.
listInstance.hPosition
Property; scrolls the list horizontally to the number of pixels specified. You can't set hPosition unless the value of hScrollPolicy is "on" and the list has a maxHPosition that is greater than 0.
The following example gets the horizontal scroll position of myList:
var scrollPos = myList.hPosition;
The following example sets the horizontal scroll position all the way to the left:
myList.hPosition = 0;
![]() ![]() | |