I have no idea how to address a string from loadvars object to a dynamically created textfiled, please help!
my code looks like this so far -
_root.din_fmt = new TextFormat();
_root.din_fmt.size = 10;
_root.din_fmt.font = "DIN";
this.createTextField("info_txt", 1, 0, 0, 460, 10);
this.info_txt.text = "Loading..."; // text displaying fine
this.info_txt.embedFonts = true;
this.info_txt.setTextFormat(_root.din_fmt);
this.info_txt.autoSize = true;
this.info_txt.background = true;
this.info_txt.backgroundColor = 0xFFFFA6;
this.my_lv = new LoadVars();
this.my_lv.load("http://domain.com/text.php?id="+this.somevar);
this.my_lv.onLoad = function(success) {
if (success) {
trace(my_lv.text) //works fine
info_txt.text = my_lv.text // empties textfield !?
} else {
trace("error");
}
};