this script allows a button to load text in different textfield and a jpg.
it also allows the hiperlink in a text referring to an URL.
var contactInfo:LoadVars = new LoadVars(); // create LoadVars instance
contactInfo.load(“contact.txt”); // load external data
contactInfo.onLoad = function (success:Boolean) { // monitor data download
if (success) { // system passes status
name_txt.text = this.firstName + " " + this.lastName;
phone_txt.text = this.workPhone;
email_txt.html = true; // turn on HTML text
email_txt.htmlText = “<a href='mailto:” + this.email + “’>”
+ this.email + “</a>”; // single statement on 1 line
site_txt.html = true;
site_txt.htmlText = “<u>” + “<a href=’” + this.websiteURL + “’>”
+ this.websiteURL + “</a>” + “</u>”;
empty_mc.loadMovie(this.imageURL); // load JPEG
} else {
trace(“Failure”);
}
}
my question is: how should I change it to call the url in a _blank window?
thank U by now!