# Show/Hide scrollbar

**URL:** <https://forum.kirupa.com/t/show-hide-scrollbar/123814>\
**Category:** Uncategorized\
**Created:** [September 27, 2004, 6:28pm UTC](https://forum.kirupa.com/t/show-hide-scrollbar/123814 "2004-09-27T18:28:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fmorenoramiro](https://avatars.discourse-cdn.com/v4/letter/f/ac91a4/32.png) [@fmorenoramiro](https://forum.kirupa.com/u/fmorenoramiro)\
**Post date:** [September 27, 2004, 6:28pm UTC](https://forum.kirupa.com/t/show-hide-scrollbar/123814/1 "2004-09-27T18:28:06Z")

</div>

Hi all,

1. I’ve downloaded the Source for MX included in the “Hide/View the Scrollbar Component” page of [kirupa.com](http://kirupa.com). It simply doesn’t work when I open the file and publish it. I’m using Flash MX 2004, … has anyone experienced the same problem and solved it?

2. I’ve been able to set the scroll visibility with an external dynamic text using several procedures. One of them is:  
[indent][color=red]SB1[/color].setScrollTarget(\_root.[color=red]Texto1[/color]);  
if ([color=red]Texto1[/color].maxscroll \> 1) {  
[color=red]SB1[/color].\_visible = true;  
};

_Were [color=red]SB1[/color] is the scrollbar instance, and [color=red]Texto1[/color] the dynamic text instance._  
[/indent]All works fine in my PC, but it doesn’t work when I load it in the server (the scrollbar cannot be visualized).

Does anyone know if there’s a bug or a rational explanation for this problem?:h:  
Thank you in advance,  
Fernando
