I have a dynamic text box with text imported from an external .txt file and I’m trying to add a scrollbar using the scrollbar component. The scrollbar works fine if I simply paste the text into the box, but does not work when pulling the HTML formatted text from the .txt file.
Any idea what I am doing wrong or how to fix it? Thanks!
ETA: Here is my script:
myLoadVars = new LoadVars();
myLoadVars.onLoad = function() {
ContactText.htmlText = myLoadVars.myHTMLdata;
}
myLoadVars.load(“ContactText.txt”);