# Scroll Bar Help

**URL:** https://forum.kirupa.com/t/scroll-bar-help/27074
**Category:** flash
**Created:** [July 29, 2003, 10:33pm UTC](https://forum.kirupa.com/t/scroll-bar-help/27074 "2003-07-29T22:33:00Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![grandsp5](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@grandsp5](https://forum.kirupa.com/u/grandsp5)
#### Post date: [July 29, 2003, 10:33pm UTC](https://forum.kirupa.com/t/scroll-bar-help/27074/1 "2003-07-29T22:33:00Z")

</div>

I have a scroll bar here that I modified from fluid\_0ne and I’m trying to make it as real as possible. In a real scroll bar, if you click on the space above or below the bar, it will move the bar up or down accordingly. I’m not sure how to do this in flash. I tried using .y\_mouse and comparing it to the y value of the drag bar but it didnt work.If you need the fla, ill gladly email it

---

<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: [July 29, 2003, 10:36pm UTC](https://forum.kirupa.com/t/scroll-bar-help/27074/2 "2003-07-29T22:36:16Z")

</div>

1 more thing, I want the bar to keep going up if you hold the up button. How could I do this? Would it be onPress (keep going up). onRelease(stop going up). I know there is no onPressandHold sort of thing so I would have to make a timer so it wouldnt go until you held it for a second or so

---

<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: [July 29, 2003, 10:41pm UTC](https://forum.kirupa.com/t/scroll-bar-help/27074/3 "2003-07-29T22:41:28Z")

</div>

Can i see the code for your 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: [July 29, 2003, 10:43pm UTC](https://forum.kirupa.com/t/scroll-bar-help/27074/4 "2003-07-29T22:43:45Z")

</div>

ill email it to you. [claudiodj@yahoo.com](mailto:claudiodj@yahoo.com) right?

---

<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: [July 29, 2003, 10:44pm UTC](https://forum.kirupa.com/t/scroll-bar-help/27074/5 "2003-07-29T22:44:38Z")

</div>

Right

---

<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: [July 29, 2003, 11:10pm UTC](https://forum.kirupa.com/t/scroll-bar-help/27074/6 "2003-07-29T23:10:15Z")

</div>

Just sent you an email with your file.
