Loading Multiple Text Files into one Dynamic Area

Good Afternoon Everyone !
I am making an office calendar that allows text to be loaded when they press a button. I also want them to be able to link to certain html pages…and so forth
I have the calendar done, and everything works…except the html.
I have this embedded in each button

//Flash Script to Load on Button Press
on (release){
var variables_lv:LoadVars = new LoadVars();
variables_lv.load(“july_2_event.txt”);
variables_lv.onData = function(data) {
event_loader_clip.text=data;
}
}

but the html is not rendering…even if I have the rendering action pressed.
“I am a rookie and this is frustrating”
art-:stare:

Have you tried _root?


_root.event_loader_clip.text=data;

_root didn’t work
You know, when I declare variables on a single page I have no problems, but I can’t do that unless I put 30 different text areas on top of each other for each individual button. Pain in the *** !

“My IQ automatically upgrades to exceed yours”…thats funny !
art-

Seems like there’s only one text file. :\ Have you enabled embedded html on the textbox?

unfortunately yes…what have I done ?
Step 1 - I created a text file with no variables
Step 2 - I embedded that code above
Step 3 - I made the text area html readable, gave it an instance name

It all loads fantastic, but has no blasted links

can you load multiple files into the same text area with a button, or do you have to keep layering them…

Yes you can…here’s an example:

var files = ["birthday.txt","funtimes.txt"]; //What files?
for(var i = 0; i<files.length; i++){
var data = load(files*); //Load them
data.onLoad = function(){
_root.filetxt += this; //Add them
}
}

Or something like that…anyway.