PDA

View Full Version : i beg help.....variables and what the....?


queenie
05-19-2004, 06:00 AM
ok....i've tried so many times to get my fla. attached, but it just ain;t happening for me, so here's my story.....i want to link menu items that link to external texts to show in a textbox.....another words, click menu item and voila in the textbox the stuff appears. Anyways, the menu is in one movie cip called menu and the scroller textbox is another mc called main.....so in the menu movie clip on the 5th frame i have the button items that link to the text box. So what do i need to put on the button to make it link to the movie clip frame 2....i've tried various loadvariables configurations but nothing is working for me and i'm just confusing myself.....any help?

thanks in advance

farafiro
05-19-2004, 06:07 AM
queenie
welcome to the forums

can u describe more??
i don't understand anything

stealthelephant
05-19-2004, 09:25 AM
something like this

//textfile
///&writing=heybabe


//inside the first mc
var textdata = new LoadVars();
textdata.load(textfile);
textdata.onLoad = function(success){
if(success){
othermc.text = this.writing; //othermc.text is a timeline var in the mc
}
}
button.onclick = function(){
othermc.textfield.text = othermc.text;
}