Scroll bars

got a q?:
i want multiple scroll bars on my site all on the same page.
i can get the first scroll bar to work with this script:

loadText = new loadVars();
loadText.load(“solo.txt”);
// creating the loadVarsText function
loadText.onLoad = function() {
scroller2.text = this.solotext;
};

BUT when i create a second scroll bar and rename the text instance (for example “scroller2”) and point it to a different simple text document, it doesn’t work correctly. I either can only scroll a part of information i have in that document or none at all!!!

ALSO: why is it that the formatting for the text (font, size, spacing) HAS to be done IN Flash. Is there a way to do it in the simple text document

any help will be much appreciated
peace
pithcell

You need to change the name of the newText object.

Try chaning it to newText2.

You don’t HAVE to define the font size IN Flash. You can HTML enable the textbox and use font formatting tags and links. Change your end line to look like this.

loadText.onLoad = function() {
scroller2.html = true;
scroller2.htmlText = this.solotext;
};