# Scrollbar component problem

**URL:** https://forum.kirupa.com/t/scrollbar-component-problem/62500
**Category:** flash
**Created:** [August 28, 2004, 1:12pm UTC](https://forum.kirupa.com/t/scrollbar-component-problem/62500 "2004-08-28T13:12:16Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![inkmachine](https://avatars.discourse-cdn.com/v4/letter/i/2acd7d/32.png) [@inkmachine](https://forum.kirupa.com/u/inkmachine)
#### Post date: [August 28, 2004, 1:12pm UTC](https://forum.kirupa.com/t/scrollbar-component-problem/62500/1 "2004-08-28T13:12:16Z")

</div>

Hi,

I am trying to follow this tutorial here [http://www.macromedia.com/support/flash/ts/documents/scrolling\_text\_mx.htm](http://www.macromedia.com/support/flash/ts/documents/scrolling_text_mx.htm)  
for scrolling text box.

In the tutorial it says that when you drag the UIScrollBar component onto the text field that the scrollbar will automatically resize to fit the height or length of the text area.

Mine does not do this. I need to manually move and resize the scrollbar itself.  
I am using Flash MX Pro 2004.

Anyone have any suggestions?

Thanks,  
Inkmachine

---

<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: [August 29, 2004, 12:29pm UTC](https://forum.kirupa.com/t/scrollbar-component-problem/62500/2 "2004-08-29T12:29:52Z")

</div>

bump…

---

<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: [August 29, 2004, 12:37pm UTC](https://forum.kirupa.com/t/scrollbar-component-problem/62500/3 "2004-08-29T12:37:19Z")

</div>

it should. Are you using the scrollbar component from the 7.2 upgrade?

---

<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: [August 29, 2004, 2:54pm UTC](https://forum.kirupa.com/t/scrollbar-component-problem/62500/4 "2004-08-29T14:54:46Z")

</div>

I’m using Flash MX Professional 2004 7.2

In the component window, the item is now called UIScrollBar under the UI Components list.

Any ideas?

I’ve tried dragging the scrollbar component directly into the middle of the text area, dragging to the top, bottom and sides of the text area and so on…but it’s always nothing. I have to move the scrollbar manually and then resize it as well.

It’s not a big deal, but it’d knock a few steps off of the process to use it like everyone else and have it work automatically LOL.

Thank you,  
Inkmachine

---

<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: [August 29, 2004, 3:08pm UTC](https://forum.kirupa.com/t/scrollbar-component-problem/62500/5 "2004-08-29T15:08:26Z")

</div>

are you dragging it on a text area or a text field? The scrollbar component is for text fields, the text area component has its own 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: [August 29, 2004, 5:12pm UTC](https://forum.kirupa.com/t/scrollbar-component-problem/62500/6 "2004-08-29T17:12:54Z")

</div>

Hi,

Thanks for your help.

I am following the tutorial and clicking on the text tool then dragging a square with the text tool.

After that, I am attempting to place the scrollbar component onto that text area/field.

Thanks again,  
Inkmachine

---

<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: [August 29, 2004, 5:26pm UTC](https://forum.kirupa.com/t/scrollbar-component-problem/62500/7 "2004-08-29T17:26:24Z")

</div>

if you’re using the UIScrollBar on an input or dynaimc textfield instance (and not for example a movieclip _containing_ it) then it should work. Other than that I have no idea why it wouldnt.

---

<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: [August 29, 2004, 5:31pm UTC](https://forum.kirupa.com/t/scrollbar-component-problem/62500/8 "2004-08-29T17:31:02Z")

</div>

I figured it out!!! lol

The ‘Snap to Object’ was turned off lol I turned it on and now it works.

Crazy programs LOL

Thanks for your help 🙂

Later,  
Inkmachine

---

<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: [August 29, 2004, 6:43pm UTC](https://forum.kirupa.com/t/scrollbar-component-problem/62500/9 "2004-08-29T18:43:01Z")

</div>

ooo, thats interesting. I wouldn’t have suspected that would have broken that functionality. Good call on figuring it out 😉
