convert as3.0 to csv file format