Loading text issue

hi! I’ve made a simple code to load some news into a dynamic text-field:

System.useCodePage = true;
loadText = new LoadVars();
loadText.onLoad = function(success) {
    if (success) {
        // trace(success);
        newsBox.html = true;
        newsBox.htmlText = this.myNews;

the xml-file reads:

myNews= bla bla bla bla bla

it works fine alone, but when I load the swf into my main site I keep getting “undefined”
any ideas what I’m doing wrong?