I am using flash mx 2004 and I need to know a method to read a number value from a text document.I’ve read it as text, but the conversion didn,t worked.
This was the script:
var nr:Number;
loadText = new LoadVars();
loadText.load(“users.txt”);
loadText.onLoad = function() {
nrutil.text = Number(this.nrutil);
nr = Number(this.nrutil);
};
And a last question is if flash can write in files, because until now, I haven’t been able to do it without php.