Populate ListBox at runtime

Hi, How do I get an array (in an external text file) to act as a data provider for a ListBox? This is my code:

import mx.controls.List;
var clbNav:List;
var dp:Array = [
{ label “item1”, data “f01” },
{ label: “item2”, data: “f02” }];
clbNav.dataProvider = dp;
–etc–
I need the "var dp:Array = " to read from a text file.
I’ve tried 40 different things, been through all the books I have, all over the net, spent 10 hours on this. Obviously too dumb to get it functioning.
Please, can someone point me in the right direction. Thank you, thank you.