Answered
Import and read a file in AS3
Using AS3, I want to extracte data from a file to fill in my arrays.
I would like to do this without using php and server side coding
all done in AS3
the file can be a spread sheet
thx in advance
Using AS3, I want to extracte data from a file to fill in my arrays.
I would like to do this without using php and server side coding
all done in AS3
the file can be a spread sheet
thx in advance
var urlLDR:URLLoader=new URLLoader();
var urlR:URLRequest=new URLRequest("yourfile.txt");
urlLDR.addEventListener(Event.COMPLETE,f);
urlLDR.load(urlR);
function f(e:Event){
trace(e.target.data);
}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.