Show/Hide scrollbar

Hi all,

  1. I’ve downloaded the Source for MX included in the “Hide/View the Scrollbar Component” page of 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