Re: [Flash MX 2004] Problem z ładowaniem tekstu
: śr kwie 12, 2006 1:28 pm
Jako instancje możesz wpisać np. instancjaPola_txt. W polu Var nie wpisujesz nic.
Kod: Zaznacz cały
var my_txt:LoadVars = new LoadVars();
my_txt.onLoad = function(success:Boolean) {
if (success) {
instancjaPola_txt.text = this.dane;
}
};
my_txt.load("test.txt");