it doesn't seem to be working. I've tried naming the external file both news.txt and news.html, both with the same text.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
&news =
This is a test
</body>
</html>
I've added &news= because when flash imported it without a news variable it was jumbled html code. My actionscript looks as follows:
newsText = new LoadVars();
newsText.onLoad = function(success) {
if(success) {
_root.screen.news.newtext.text = newsText.news;
}
};
newsText.load("http://www.bartbryant.net/news.html");
i've tried loading both news.html and news.txt
I have been succesful in loading the actual text of the html file but it isn't linkable, but rather shows the coding.
Any thoughts?