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

thanks 4 u comments..

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s