Tutorial: creating a ListBox

I’m having some trouble trying to make my particular listbox work.

I have the listbox inserted into a movieclip identified as “test”. I’m attaching the movie “test” in the main timeframe, defining the elements in the array in the main timeframe, but trying to fill those elements into a listbox that is on “test”'s timeframe. Here’s my code thus far…

myLabels = new Array ();
myLabels[0] = “--------”;
myLabels[1] = “this”;
myLabels[2] = “is”;
myLabels[3] = “a”;
myLabels[4] = “test”;
// Populate the listbox
_root.attachMovie(“test”, “foo”, 10);
k = foo._name;
trace(k);
trace(“array length:”+myLabels.length);
for (i=0;i<myLabels.length;i++) {
_root[“foo”].country.addItem(myLabels*) ;
}

The listbox under “test” has been given the instance name “country”.

Anyone know why it’s not inserting the array values into this listbox?

thanks!