# Working with csv array

**URL:** <https://forum.kirupa.com/t/working-with-csv-array/292558>\
**Category:** flash\
**Created:** [July 15, 2009, 7:02pm UTC](https://forum.kirupa.com/t/working-with-csv-array/292558 "2009-07-15T19:02:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cortezcreations](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)\
**Post date:** [July 15, 2009, 7:02pm UTC](https://forum.kirupa.com/t/working-with-csv-array/292558/1 "2009-07-15T19:02:31Z")

</div>

Hello  
Thought I had a good handle on this but getting stumped on generating movie clips to the stage using external data from a csv file.  
I’m using a loader component and have the trace set up perfect.  
I now need to create an mc for every date that I’ve traced.

```auto

myCSV = new TP_SimpleCsvLoader("12MonthChange.csv", onBasicFileLoaded);
myCSV.loadCVS();

function onBasicFileLoaded() {
	for(t=0;t<myCSV.rowCount;t++) {

_global.num = myCSV.getRowAsArray(t);
_global.monthYear = ('\"'+ _global.num[0] + _global.num[1]+ '\"');
trace(_global.monthYear);
}
}
	

```

If anyone can give me a push or a point in the right direction it would be greatly appreciated.  
Basically I’m able to trace exactly what I want from the csv file I just need help on how to retrieve it and use it.

Cheers
