# For "custom scroll bar" make arrows .\_visible = false?

**URL:** https://forum.kirupa.com/t/for-custom-scroll-bar-make-arrows--visible-false/252867
**Category:** flash
**Created:** [February 24, 2008, 7:56pm UTC](https://forum.kirupa.com/t/for-custom-scroll-bar-make-arrows--visible-false/252867 "2008-02-24T19:56:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![u\_stu\_com](https://avatars.discourse-cdn.com/v4/letter/u/c57346/32.png) [@u\_stu\_com](https://forum.kirupa.com/u/u_stu_com)
#### Post date: [February 24, 2008, 7:56pm UTC](https://forum.kirupa.com/t/for-custom-scroll-bar-make-arrows--visible-false/252867/1 "2008-02-24T19:56:35Z")

</div>

I followed Kirupa’s custom scroll bar tutorial and I’m trying to tweak a few things. Where would I put the code to make the arrows invisible when the content can’t be scrolled any higher or lower? This is different from the scrollFace being invisible. I don’t mean when there is no scrolling at all. Also, where would the “return to visible” (else) code go? The code I plan on using is:

**btnDown.\_visible = false;**  
_else_ **btnDown.\_visible = true;**

**btnUp.\_visible = false;**  
_else_ \*\*btnUp.\_visible = true;

\*\*
