# Scrollbar Mysteriously not working

**URL:** https://forum.kirupa.com/t/scrollbar-mysteriously-not-working/57024
**Category:** flash
**Created:** [July 9, 2004, 5:09pm UTC](https://forum.kirupa.com/t/scrollbar-mysteriously-not-working/57024 "2004-07-09T17:09:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![billstoudt](https://avatars.discourse-cdn.com/v4/letter/b/a183cd/32.png) [@billstoudt](https://forum.kirupa.com/u/billstoudt)
#### Post date: [July 9, 2004, 5:09pm UTC](https://forum.kirupa.com/t/scrollbar-mysteriously-not-working/57024/1 "2004-07-09T17:09:51Z")

</div>

the following code all works with one exception the scrollbar doesnt scroll the text

createTextField(“resumeText”,50 ,-220,-150,430,300);  
with(resumeText){  
html = true;  
type = dynamic;  
border = false;  
selectable = true;  
wordWrap = true;  
multiline = true;  
htmlText = \_global.resume  
textColor = 0xffffff  
}  
attachMovie(“FScrollBarSymbol”,“resume\_sb”, 40);  
with(resume\_sb){  
setScrollTarget(resumeText);  
\_x = resumeText.\_x + resumeText.\_width + 4;  
\_y = resumeText.\_y;  
setSize(resumeText.\_height);  
setHorizontal(false);  
}

to see it in action ( or in this case not in action:smirk:) take a look at [http://www.billstoudt.com/](http://www.billstoudt.com/) click on about and then resume.

interestingly it was working at one point and now it mysteriously stopped.

any help would be greatly appriciated.

Bill

---

<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 10, 2004, 12:48am UTC](https://forum.kirupa.com/t/scrollbar-mysteriously-not-working/57024/2 "2004-07-10T00:48:20Z")

</div>

please please please someone help me on this.

thanks a million.

Bill

---

<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 16, 2004, 8:32pm UTC](https://forum.kirupa.com/t/scrollbar-mysteriously-not-working/57024/3 "2004-07-16T20:32:54Z")

</div>

[left][font=Arial]Bill,[/font][/left]  
[left][font=Arial][/font] [/left]  
[left][font=Arial]I am a novice in Flash, and I just got my site up [/font][awecomeon.net](http://awcomeon.net/)[font=Arial]. I am having the same problem you are. On my Resume and Hobbies pages the scollbar doesnt work, while on my welcome page the scroll bar works fine. Ive looked at all the varibles that my feeble flash mind could look at and I am completely stumped. Hopefully someone will show the greatness of humanity and lend a hand. [/font][/left]  
[left] [/left]  
[left][font=Arial]Hey out there! Can someone show some love and help out Bill and myself?![/font][/left]  
[left] [/left]  
[left][font=Arial]Thank you![/font] [/left]

---

<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 18, 2004, 2:59am UTC](https://forum.kirupa.com/t/scrollbar-mysteriously-not-working/57024/4 "2004-07-18T02:59:02Z")

</div>

when you attach movies it is a good idea to reference other movie clips using relation to this or root. ie your code would read:  
createTextField(“resumeText”,50 ,-220,-150,430,300);  
with(resumeText){  
html = true;  
type = dynamic;  
border = false;  
selectable = true;  
wordWrap = true;  
multiline = true;  
htmlText = \_global.resume  
textColor = 0xffffff  
}  
attachMovie(“FScrollBarSymbol”,“resume\_sb”, 40);  
with(resume\_sb){  
setScrollTarget(\_root.resumeText);  
\_x = \_root.resumeText.\_x + \_root.resumeText.\_width + 4;  
\_y = \_root.resumeText.\_y;  
setSize(\_root.resumeText.\_height);  
setHorizontal(false);  
}

that is of course assuming this code was placed on the \_root level of your movie
