# setDataProvider()

**URL:** <https://forum.kirupa.com/t/setdataprovider/37553>\
**Category:** flash\
**Created:** [December 11, 2003, 5:11pm UTC](https://forum.kirupa.com/t/setdataprovider/37553 "2003-12-11T17:11:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrthad](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@andrthad](https://forum.kirupa.com/u/andrthad)\
**Post date:** [December 11, 2003, 5:11pm UTC](https://forum.kirupa.com/t/setdataprovider/37553/1 "2003-12-11T17:11:05Z")

</div>

Hi All,

setDataProvider is now not working. I have some code that sets a combobox data to an array. Like so:

```auto

comboBox.setDataProvider(myArray);

```

This code was working just fine when it is was main movie, but now I have loaded this movie into a main movie and the comboBox is not being populated. The array “myArray” is being created in the same timeline as the comboBox.

Any ideas for troubleshooting?
