PDA

View Full Version : need help with scrollbars..



matthewriley
September 30th, 2007, 03:33 PM
hey! i added a scrollbar to my dynamic text box and its working fine.
(http://delisadean.cfpatheater.com/, Biography page)

however, i want to hide it when there is not enough text in the box for the scrollbar to be needed. i have followed the tutorial on "hide/view the scrollbar component"
(http://www.kirupa.com/developer/mx2004/hide_scrollbar.htm) and it works
(http://delisadean.cfpatheater.com/, any other page), but when there is more text in the box than the dimensions of the text box, the text is scrollable but there is no scrollbar visible. i can click in the text area and scroll it with my mouse, but no scrollbar shows to click the arrows or drag the actual bar (no example online).

i do not know much actionscript so i need help finding the right code. i am using flash cs3, actionscript 2.0. thanks in advanced!

olbedhead
December 30th, 2007, 10:16 PM
Hi there, i am actually having nearly the same problem. I followed the same tutorial, and the scrollbar hides when not enough text, and shows when there isn't enough text, but the draggable icon in the middle of the scrollbar is missing. If i hit the page-down button on my keyboard, the text scrolls, but that's the only way.

Please help! Anyone figure this out? I also have Flash CS3 and actionscript 2.0, flash player 7.

olbedhead
December 30th, 2007, 10:35 PM
I actually fixed my problem. I don't know if this is helpful to you Matthewriley, but i had the scrollbar component on the first frame, but my function isn't getting called until a label on the 5th frame. So i moved back the scrollbar component to start on the 5th frame and it works perfectly.

Hope this helps anyone else out there!