Flash : Getting data from text file/html file

Flash : Getting data from text file/html file

Flash

var textFileData:LoadVars = new LoadVars();
textFileData.onLoad = function(){
name_txt.htmlText = textFileData.name;
}
textFileData.load(“text.html”);

text.html
&name=<a href=’http://www.google.com&#8217; target=’_blank’><font color=’#ff0000′><b>google.com</b></a></font><br>

Advertisements