Quote Originally Posted by Uwe S.
records[i] = {label:Nr[0], value:Name[1]}
You should't have changed it like that since there are no arrays named Nr or Name. If you want to use the first two fields, try it like this
Code:
lv = new LoadVars();

lv.onData = function(src){
 
 records = src.split('\n');
 for (var i = 1; i < records.length; i++){
  fields = records[i].split(';');
  records[i] = {label:fields[0], value:fields[1]};
 }
 _root.listbox1.setItems(records);

}

lv.load('myData.csv'); // load the CSV file