Why isn’t this working? I trace “myNews”, it loads ok but the field myfield is undefined and i don’t understand why… can anyone help me?
[AS]
onClipEvent (load) {
loadText = new LoadVars();
loadText.load(“TEXT.txt”);
loadText.onLoad = function() {
_root.MCtexte.createTextField(“myfield”, 500, 15, 8, 387, 460);
//trace(_root.MCtexte.myfield);
_root.MCtexte.myfield.html = true;
_root.MCtexte.myfield.htmlText = this.myNews;
_root.MCtexte.myfield.condenseWhite = true;
_root.MCtexte.myfield.multiline = true;
_root.MCtexte.myfield.wordWrap = true;
//trace(this.myNews)
};
}
[/AS]