# Scroll scrollpane using the mouse

**URL:** <https://forum.kirupa.com/t/scroll-scrollpane-using-the-mouse/42214>\
**Category:** Uncategorized\
**Created:** [February 6, 2004, 3:18pm UTC](https://forum.kirupa.com/t/scroll-scrollpane-using-the-mouse/42214 "2004-02-06T15:18:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lbeetles](https://avatars.discourse-cdn.com/v4/letter/l/2bfe46/32.png) [@lbeetles](https://forum.kirupa.com/u/lbeetles)\
**Post date:** [February 6, 2004, 3:18pm UTC](https://forum.kirupa.com/t/scroll-scrollpane-using-the-mouse/42214/1 "2004-02-06T15:18:35Z")

</div>

…how to make the scrollpane component scroll using the mouse. I am loading a movie clip inside the scrollpane and i need the mouse to be able to scroll it instead of just using the scrollbar.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 6, 2004, 5:53pm UTC](https://forum.kirupa.com/t/scroll-scrollpane-using-the-mouse/42214/2 "2004-02-06T17:53:11Z")

</div>

i think in your txt\_mc add a back ground …then it sould scroll without the 'arrows" on the scrollpane …cheers

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 7, 2004, 3:03am UTC](https://forum.kirupa.com/t/scroll-scrollpane-using-the-mouse/42214/3 "2004-02-07T03:03:44Z")

</div>

cheers timothye, but thats not what im looking for. i have an mc with a background bigger then the viewable area of the scrollpane and i can use the scrollbar and arrows to move it around in the pane so u can see it all.

Is the anyway i could make it use the scroller on the mouse to make it go up and down so u can see it all???

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 7, 2004, 9:12am UTC](https://forum.kirupa.com/t/scroll-scrollpane-using-the-mouse/42214/4 "2004-02-07T09:12:46Z")

</div>

better titles please!  
try this:  
[AS] wheelMover = new Object();  
wheelMover.onMouseWheel = function(mover){  
//insert actions for scrollpane here  
}  
Mouse.addListener(wheelMover);  
[/AS]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 8, 2004, 12:32am UTC](https://forum.kirupa.com/t/scroll-scrollpane-using-the-mouse/42214/5 "2004-02-08T00:32:09Z")

</div>

cheers eyezberg sorry about the bad title.

what actions would i put in the function to make a mc scroll up and down???

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 8, 2004, 1:07am UTC](https://forum.kirupa.com/t/scroll-scrollpane-using-the-mouse/42214/6 "2004-02-08T01:07:35Z")

</div>

Woops, this is MX…  
try to check someof these links:  
[http://www.octaneinteractive.com/blog/displayDesc.asp?id=8](http://www.octaneinteractive.com/blog/displayDesc.asp?id=8)  
[http://tribal.tk/](http://tribal.tk/)  
[http://www.j3r.com/j3r.asp](http://www.j3r.com/j3r.asp)  
[http://www.philterdesign.com/blog/archives/000015.html](http://www.philterdesign.com/blog/archives/000015.html)

j3r is cool!  
IE6 only tho’…
