Groups | Blog | Home
all groups > flash (macromedia) > october 2004 >

flash (macromedia) : scrollbar won't scroll?



the queen is dead
10/15/2004 9:04:21 PM
i'm pretty new to this.. i have a dynamic text box that is loading an external
text file... this works fine. however i'm using the scrollbar component, and it
shows up in the file, but won't scroll... there are no buttons, to go up or
down, just a white area where everything should be. if i select the text it
scrolls down past the text box.

anyway, i'm using flash mx 2004 on a mac...

if anyone can help i would greatly appreciate it.

thanks!

-matt
Pascal R.
10/15/2004 11:01:22 PM
I had the same problem a while ago. The Scrollbar Component doesn't
"recalculate" the content size, this is why you don't get the scroll buttons.
What you need to do is to reset the size of the Scrollbar Coponent. This way
you get it to recalculate the contents size!
scrollBar.setSize(100,200);
AddThis Social Bookmark Button