# \[MX04\] AS1.0 - Hiding the scrollbar untill needed

**URL:** <https://forum.kirupa.com/t/mx04-as1-0-hiding-the-scrollbar-untill-needed/117922>\
**Category:** Uncategorized\
**Created:** [July 31, 2004, 8:50pm UTC](https://forum.kirupa.com/t/mx04-as1-0-hiding-the-scrollbar-untill-needed/117922 "2004-07-31T20:50:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![poperszky](https://avatars.discourse-cdn.com/v4/letter/p/b487fb/32.png) [@poperszky](https://forum.kirupa.com/u/poperszky)\
**Post date:** [July 31, 2004, 8:50pm UTC](https://forum.kirupa.com/t/mx04-as1-0-hiding-the-scrollbar-untill-needed/117922/1 "2004-07-31T20:50:54Z")

</div>

Hi,  
I have a dynamic text field that loads text from an external .txt file. I have attached the scrollbar component to that text field. Is there a way to hide the scrollbar untill the text is overflowing and the scrollbar is needed?

This is a Flash UI Component Set 2 scrollbar and I am exporting in AS1.0.

Thanks in advance.  
Mike

---

<div class="post-metadata">

**Author:** ![poperszky](https://avatars.discourse-cdn.com/v4/letter/p/b487fb/32.png) [@poperszky](https://forum.kirupa.com/u/poperszky)\
**Post date:** [August 1, 2004, 2:39pm UTC](https://forum.kirupa.com/t/mx04-as1-0-hiding-the-scrollbar-untill-needed/117922/2 "2004-08-01T14:39:06Z")

</div>

Am I asking the wrong kind of question? Or, is this not possible? Anyone?

---

<div class="post-metadata">

**Author:** ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)\
**Post date:** [August 1, 2004, 2:53pm UTC](https://forum.kirupa.com/t/mx04-as1-0-hiding-the-scrollbar-untill-needed/117922/3 "2004-08-01T14:53:42Z")

</div>

scrollbar.\_visible = (textfield.maxscroll \> 1)

---

<div class="post-metadata">

**Author:** ![poperszky](https://avatars.discourse-cdn.com/v4/letter/p/b487fb/32.png) [@poperszky](https://forum.kirupa.com/u/poperszky)\
**Post date:** [August 1, 2004, 7:13pm UTC](https://forum.kirupa.com/t/mx04-as1-0-hiding-the-scrollbar-untill-needed/117922/4 "2004-08-01T19:13:13Z")

</div>

You da man senocular. I appreciate your help! 🙂
