all groups > flash actionscript > july 2004 >
You're in the

flash actionscript

group:

dynamic text: scroll bar glitch?


dynamic text: scroll bar glitch? Robert Zwiercan
7/27/2004 8:38:54 PM
flash actionscript: I'm using loadVariables to load text from a .txt file to a dynamic text box
that has a scroll bar component attached to it. The text loads fine but when
there's enough text where the scroll bar should appear it doesn't. Has
anyone ever encountered this. I'm assuming that I should somehow be checking
that all the text is loaded beofe the scoll component tries to display it,
but I haven't found any info on how to do that.

Thanks for any help..

Re: dynamic text: scroll bar glitch? Jack.
7/28/2004 4:52:09 PM
External text and the Flash MX ScrollBar Component
http://www.macromedia.com/support/flash/ts/documents/scrolling_text_mx.htm

hth
Re: dynamic text: scroll bar glitch? JeffreyGong
7/28/2004 7:55:39 PM
My experience is that if you use the instance name of the dynamic field such as

disp_txt.text += "the long content";

the scrollbar works. But if you use the variable name of the field such as

disp += "the long content";

the scrollbar may not work.


Jeffrey



AddThis Social Bookmark Button