# \[FMX04/AS2.0\]Hiding the Scrollbar

**URL:** <https://forum.kirupa.com/t/fmx04-as2-0-hiding-the-scrollbar/140196>\
**Category:** Uncategorized\
**Created:** [March 9, 2005, 1:34am UTC](https://forum.kirupa.com/t/fmx04-as2-0-hiding-the-scrollbar/140196 "2005-03-09T01:34:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasarius](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jasarius](https://forum.kirupa.com/u/jasarius)\
**Post date:** [March 9, 2005, 1:34am UTC](https://forum.kirupa.com/t/fmx04-as2-0-hiding-the-scrollbar/140196/1 "2005-03-09T01:34:58Z")

</div>

Hello,

I hope that this is in the correct forum. I want to hide my scrollbar unless needed. When the data loaded into the dynamic text box fills up the scroll bar will appear as needed.

This is what I have so far…kinda stuck.

body\_sb.\_visible = false;  
body\_sb.\_visible = body\_txt.maxscroll \> 1;

Thanks.
