Load Variables from Text File

From scripting
Jump to: navigation, search
loadText = new loadVars();
loadText.load("resume.txt");

loadText.onLoad = function() {
		scroller.text = this.resumetext;
};

loadTextC = new loadVars();
loadTextC.load("contact.txt");

loadTextC.onLoad = function() {
		ContactData.text = this.title  + "     " +  this.email  + "     " +  "[cell]: " + this.cell  + "     " + "[home]: " + this.home;
};