okey, here you go
your problem is that u r adding a script to an instance where it's not in the same frame
so, u may do this or change your animation way
ActionScript Code:
//the button's as
on (press) {
_root.tb1place.loadMovie("textbox.swf");
}
on (release) {
var myData:LoadVars = new LoadVars();
myData.load("barze.txt");
trace(_level0.tb1place.textarea.text);
_level0.doIt = true
}
//in the same frame where the buttons is
var doIt = false;
this.onEnterFrame = function() {
if (doIT && _level0.tb1place._currentframe>=_level0.tb1place._totalframes) {
myData.onLoad = function(done) {
if (done) {
tb1place.textarea.text = this.barz1;
}
};
}
};