Here's the setup:
I have a 4 frame movie with a text box and a scrollbar (attached) on the stage across all 4 frames. Very simple. The scrollbar works if I'm not pulling in text from a mySQL db.
Yep, I've searched the board - I've Googled until my fingers are numb and I can't find ONE simple example of getting scrollbars to work with dynamic text - unless it's a .txt file, which is not an option. For me, it's either Flash or a .php page to display the data. I'd rather use Flash.
I dont think there is much difference, what you use to load your text. Once its loaded into Flash (loading using loadvariables or PHP script or even typing into text box directly) and variable has got the value to show in the text box, they all work same way.
Its hard to help, if all the information you give, is "it doesnt work". Perhaps if you describe better, what is the value of variable, once its loaded and how have you set up your text box and scrollbars, someone might have better idea.
The only problem that I see at this point is when the text show on the stage (frame 3) I see all of the HTML formatting in the textbox - which is then immediately replaced by the actual text.
hey!!!! i figured it out!!!
ive been trying to figure this out for a while too... looking everywhere but couldnt find answers....
ok so...
its not working cause its trying to scroll the empty text box... so what i did was... i made a variable send to the flash movie so i know when its done loading. so i have php send &status="read";
then on frame 2 in the movie i have it check when its done loading and when it is i tell it to stop at 3... and at frame 3... i have the scroll bar in a different layer only on frame 3. so just make a new layer and frame on 3 and drag the bar over the text so it snaps and it should work!!!! =)
tell me if that helps or if you cant get it i can send you the file