Hiho,

I'm sitting here, working on my first homepage build
with Flash and I've got a problem that's drivin' me nuts!

I've got an animation, within it theres a dynamic textfield called
"text_box" - with actionscript text is being loaded into the fieldvariables
and with a nice script I can "flip through pages" within the textfield.
Of course, this script is not my invention, I'm not good at scripting,
instead I'm using the free scrollbar from this site:

http://homepage.ntlworld.com/andy_bl...ash/scrollbar/

You can download the fla for the scrollbar from there.

Now here's my prob:

You can "flip thorugh the pages" with a button, the script
used is mainly:

function on_release(){
// Actions to occur when button is released
_parent.text_num = (++_parent.text_num == 5 ? 1 : _parent.text_num);
_parent.text_box.scroll = 1;
_parent.text_box = _parent["text_box"+_parent.text_num];

But now I dont want to define the text within the "pages" through
vars, like it's in the scrollbar script;

text_box1 = "...";
text_box2 = "...";
text_box3 = "...";
text_box4 = "...";
text_box = text_box1;
text_num = 1;

I want to load the text from txt-files, like:

text_box1 = loadVariables("loadtext.txt", newstext);

This is working great for page 1, but I dont get it to load
the txt's to the other pages - the pages remain emty
HTML tags arent supported neither


I hope I discribed the problem properly, forgive me my english,
actually I'm from Germany.

I would be REALLY glad if someone could help me here, I'm really stuck


Faeroon

PS: I'm using Flash MX