# Moving scoll position in listBox

**URL:** <https://forum.kirupa.com/t/moving-scoll-position-in-listbox/204749>\
**Category:** flash\
**Created:** [October 23, 2006, 6:14am UTC](https://forum.kirupa.com/t/moving-scoll-position-in-listbox/204749 "2006-10-23T06:14:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lstatic](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/lstatic/32/2666_2.png) [@lstatic](https://forum.kirupa.com/u/lstatic)\
**Post date:** [October 23, 2006, 6:14am UTC](https://forum.kirupa.com/t/moving-scoll-position-in-listbox/204749/1 "2006-10-23T06:14:45Z")

</div>

I want to be able to move the list names of the listbox up and down can this be done through actionscript

or is there any way to bring the selected item to the top

---

<div class="post-metadata">

**Author:** ![Deril](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/deril/32/63_2.png) [@Deril](https://forum.kirupa.com/u/Deril)\
**Post date:** [October 23, 2006, 10:08am UTC](https://forum.kirupa.com/t/moving-scoll-position-in-listbox/204749/2 "2006-10-23T10:08:10Z")

</div>

Why not open Flash help… and check list class methods…

Components Language Reference  
List component \> List class

[QUOTE=lstatic;1983543]move the list names of the listbox up and down[/QUOTE]

\*\*Usage  
listInstance.vPosition

Description  
Property; sets the topmost visible item of the list.\*\*

[QUOTE=lstatic;1983543]or is there any way to bring the selected item to the top[/QUOTE]

\*\*Usage  
listInstance.selectedIndex

Description  
Property; the selected index of a single-selection list. The value is undefined if nothing is selected;\*\*

Have fun with flashing.
