CSV file to Array Problem
I have been struggling with importing a csv file and creating an array. I am able to have the file display with the commas in a dynamic text box but can't figure out how to use the commas to separate the data into grids.
If anyone can help it wouldbe very much appreciated. I have two weeks to complete this and have spent countless hours researching a solution. Thank you in advance.
My current code is:
var loader: URLLoader = new URLLoader();
loader.load(new URLRequest("external.csv"));
loader.addEventListener(Event.COMPLETE, onComplete);
function onComplete(event:Event):void
{
external_txt.text = event.target.data;
}
The comma delimited file is "external.csv" and the dynamic text field's name is "external_txt"
Thanks again