BeoWolfe
04-15-2005, 03:12 PM
Greetings,
Here is the code I am using in frame 1 of my document:
var datafile:LoadVars = new LoadVars();
datafile.onLoad = function() {
textbox.text=this.var1
}
datafile.load("vardata.txt");
stop ();
One frame 1 of the movie, my textbox correctly displays the information. I have the box come up again in frame 15, but the box shows up as empty.
I have tried using _global.textbox.text=this.var1 but that doesn't work either.
Any idea on how I would beable to get this to work?
Here is the code I am using in frame 1 of my document:
var datafile:LoadVars = new LoadVars();
datafile.onLoad = function() {
textbox.text=this.var1
}
datafile.load("vardata.txt");
stop ();
One frame 1 of the movie, my textbox correctly displays the information. I have the box come up again in frame 15, but the box shows up as empty.
I have tried using _global.textbox.text=this.var1 but that doesn't work either.
Any idea on how I would beable to get this to work?