My forehead has gone completely flat from banging it against a wall...
Any explanation for the following will be greatly appreciated:
I have an asp page that returns the following string:
&newsitems=<p><b>News Header</b></p><p>News Item Text</p><br>
here's the ASP URL:
http://neo.artsytech.com/ifd/news.asp and the "second half" (News Item Text) displays in a Flash text field
while the "first half" (News Header) doesn't..... ????
here's the Flash URL:
http://neo.artsytech.com/ifd/testwin.htm here's the ActionScript:
------------------------------------------
newsvar = new LoadVars();
newsvar.load("news.asp");
newsFont = new TextFormat();
newsFont.font = "Arial";
function loadNews() {
newstext.html = true;
newstext.htmlText = newsvar.newsitems;
}
newsvar.onLoad = loadNews();
newstext.scroll = 1;
newstext.border = true;
newstext.borderColor = 0xcc0000;
newstext.setTextFormat(newsFont);
newstext.embedFonts = true;
------------------------------------------
Thank you :-)