# Having issues with the List component

**URL:** https://forum.kirupa.com/t/having-issues-with-the-list-component/240494
**Category:** flash
**Created:** [October 3, 2007, 2:21pm UTC](https://forum.kirupa.com/t/having-issues-with-the-list-component/240494 "2007-10-03T14:21:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dColumbus](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@dColumbus](https://forum.kirupa.com/u/dColumbus)
#### Post date: [October 3, 2007, 2:21pm UTC](https://forum.kirupa.com/t/having-issues-with-the-list-component/240494/1 "2007-10-03T14:21:04Z")

</div>

From Flash Media Server I am gathering a list of video’s that are available to stream sent to my Flex 2 application. I then take the response (the list) and trace to make sure that it’s there:

```auto

// if i don't access the "name" property, I don't see anything
trace(response[0].name);

```

I then loop through the array, and add it to an ArrayCollection (it seems redundant extracting and array and adding it to an array again):

```auto

var i:int;
for (i=0; i<response.length; i++)
{
    responderArray.addItem(response*.name);
}

```

Then I trace the new array to verify that it contains the right information, and attempt to use it as a dataProvider for myList:

```auto

trace(responderArray);
myList.dataProvider(responderArray);

```

It just plain ol’ doesn’t work. I can’t seem to add the information contained in my array (either the original response array, or my newly formed ArrayCollection) to add to myList component.

The Flex error that I keep getting in debug is:  
“TypeError: Error #1006: value is not a function.”

This just doesn’t make sense to me… I would VERY much appreciate some help with this!
