Flash – Getting image from folder

Flash – Getting image from folder

right_picture2._with = 250;

right_picture2._height = 80;

_root.importImage = “picture.jpg”;

this.loadMovie(“images/”+_root.importImage);

Advertisements

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>