Kod: Zaznacz cały
System.useCodepage = true;
this.createTextField("my_txt", 0, 10, 10, 200, 200);
my_txt.wordWrap = true;
my_txt.html = true;
my_txt.htmlText = "<a href='asfunction:wczytywanie'>Wczytaj</a>";
function wczytywanie() {
var loadV = new LoadVars();
loadV.onLoad = function(succes) {
if (succes) {
my_txt.htmlText = this.zmiennaZpliku;
}
};
loadV.load("inny.txt");
}