# List Component and scrolling with mouse-position

**URL:** https://forum.kirupa.com/t/list-component-and-scrolling-with-mouse-position/239513
**Category:** Uncategorized
**Created:** [September 22, 2007, 7:53pm UTC](https://forum.kirupa.com/t/list-component-and-scrolling-with-mouse-position/239513 "2007-09-22T19:53:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wtr](https://avatars.discourse-cdn.com/v4/letter/w/9d8465/32.png) [@wtr](https://forum.kirupa.com/u/wtr)
#### Post date: [September 22, 2007, 7:53pm UTC](https://forum.kirupa.com/t/list-component-and-scrolling-with-mouse-position/239513/1 "2007-09-22T19:53:54Z")

</div>

Before I started this Thread I searched a lot of Flash forums…

I have used a standard LIST component and did some action script so it loads labels from a XML-file.  
I also used the

ListBox.vScrollPolicy = “auto”;

to turn off the ugly scrollbar…

My question is… how to scroll the list …for example:

when I move my mousecursor to the top of the list it scrolls upwards… and if I move my mousecursor to the bottom of the list it scrolls downwards.

We all know the gotoAndLearn() Tutorials… there is one called the  
“Scrolling Thumbnail Panel”  
This tutorial shows what I mean. I tried to use that code for the list component but I offcourse the list scrolls up and down and not the items in the list ☹ …dont think there is a Instancename.items thingy…

Is there a way to do this with the “List Component” or is it just toooo limited??

Thank in advance!! (^\_^)
