I am having a strange problem…
If I am using the following code to pull straight text data (output as html), I don’t have any problems, except of course that my html tags don’t render properly:
System.useCodePage = true;
loadText = new loadVars();
loadText.load(“http://www.mysite.com/func/data.php”);
loadText.onLoad = function() {
topbar.text = this.topbar;
};
However, if I do ANY of the following, it doesn’t work - the variables aren’t imported and I have a blank .swf:
change
topbar.text = this.topbar;
to
topbar.htmlText = this.topbar;
or to
topbar.html = true;
topbar.htmlText = this.topbar;
or I add
topbar.html = true;
topbar.htmlText = this.topbar;
AND set the ‘render as html’ in the text properties box…
I have tested this thing to death and I don’t get it… data.php renders fine, and the .swf works if I am just using plain topbar.text, but not with HTML…
What’s up?
Thanks