# Build the scrollbar in Flash

**URL:** <https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346>\
**Category:** Uncategorized\
**Created:** [June 29, 2003, 4:35pm UTC](https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346 "2003-06-29T16:35:03Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikemx](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@mikemx](https://forum.kirupa.com/u/mikemx)\
**Post date:** [June 29, 2003, 4:35pm UTC](https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346/1 "2003-06-29T16:35:03Z")

</div>

I found this when looking around for something useful  
[http://www.philterdesign.com/blog/archives/000013.html](http://www.philterdesign.com/blog/archives/000013.html)  
but I can’t make it work. Is there anyone out there that has been using this or something similar? Do you know any tutorials or maybe example fla files that I could use? I’m kind of a beginner so I would need things explained a bit more…

Cheers

Mike

---

<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:** [June 29, 2003, 4:50pm UTC](https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346/2 "2003-06-29T16:50:39Z")

</div>

Works fine for me.

For this script to work you need to create a movie clip symbol called “clipHolder” and in the library right click on that movie clip and select “Link” and choose to “Export for Actionscript” and have the linkage name set to “clipHolder”

Then inside that movie clip you put all your content.

---

<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:** [June 29, 2003, 4:59pm UTC](https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346/3 "2003-06-29T16:59:14Z")

</div>

Heres an example (I also changed a bit of the code, not much, but there was a useless line in there that I removed).

---

<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:** [June 29, 2003, 5:06pm UTC](https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346/4 "2003-06-29T17:06:14Z")

</div>

…the zip file is empty

---

<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:** [June 29, 2003, 5:13pm UTC](https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346/5 "2003-06-29T17:13:40Z")

</div>

I thought that might happen, sorry.

The forum went all crazy on me when I tried to attach 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:** [June 29, 2003, 5:19pm UTC](https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346/6 "2003-06-29T17:19:22Z")

</div>

GRRR… it did it again, the forum locks up when I try to upload (most likely my computer though).

I can’t FTP to my server right now so I can’t upload it there and link to it.

I guess you will just have to take my advice a few posts back on how to get it to work.

Oh, and in the script you can remove the line \_root.macStyle.-----whatever-----

---

<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:** [June 29, 2003, 6:25pm UTC](https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346/7 "2003-06-29T18:25:04Z")

</div>

I just can’t make it work… I followed every step in the instructions, but there is no scroller! Could you maybe upload your example file later on when you have the possibility?

Cheers a lot!

Mike

---

<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:** [June 29, 2003, 8:27pm UTC](https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346/8 "2003-06-29T20:27:10Z")

</div>

Let’s give this another shot :sigh:

---

<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:** [June 29, 2003, 8:27pm UTC](https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346/9 "2003-06-29T20:27:38Z")

</div>

SCORE!!!

---

<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:** [June 29, 2003, 10:00pm UTC](https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346/10 "2003-06-29T22:00:42Z")

</div>

Thanks!

---

<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:** [June 29, 2003, 10:42pm UTC](https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346/11 "2003-06-29T22:42:16Z")

</div>

No problem 🙂

---

<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 1, 2003, 2:24pm UTC](https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346/12 "2003-07-01T14:24:26Z")

</div>

I’ve noticed that there seem to be kind of a bug/problem in there when using movieclips that fit the screen.  
If I use a movieclip that fit the screen, re-size the browser window so that the scroll bars appear, scroll down to the bottom-right corner, maximize my browser window… then part of my movieclip has disappeared!  
Have you noticed this before? Is there a workaround for this?

Cheers

Mike

---

<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 1, 2003, 4:58pm UTC](https://forum.kirupa.com/t/build-the-scrollbar-in-flash/24346/13 "2003-07-01T16:58:57Z")

</div>

Sorry, I can’t think of a solution offhand, it fixes it self if you resize the window again because it works onResize, so technically I would think it would auto-resize when you maximized the browser, but apparently not… I find that odd.
