# Combobox to datagrid problem

**URL:** <https://forum.kirupa.com/t/combobox-to-datagrid-problem/154367>\
**Category:** flash\
**Created:** [July 8, 2005, 9:04pm UTC](https://forum.kirupa.com/t/combobox-to-datagrid-problem/154367 "2005-07-08T21:04:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ay13](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@ay13](https://forum.kirupa.com/u/ay13)\
**Post date:** [July 8, 2005, 9:04pm UTC](https://forum.kirupa.com/t/combobox-to-datagrid-problem/154367/1 "2005-07-08T21:04:35Z")

</div>

i have a combobox (cbShows) that lists catagories from an xml file (xml connector called “xcShows”)… this loads fine… i rearrange fileds and say “label=showName;data=showLink” … showLink is a url to another xml file that i am wanting to load into another xmlConnector called “xcAudio” xcAudio then populates a dataset which pupulates a datagrid… i tested the xcAudio connector with a typed in xml file and it works fine so i know the problem is not in the xmlConnector -\> dataSet -\> dataGrid flow. the problem has to lie in the code i used to pass information from the combobox to xcAudio…

comboFunction = new Object();  
comboFunction.change = function (evt){  
this.xcAudio.direction = “receive”;  
this.xcAudio.URL = evt.target.selectedItem.data;  
this.xcAudio.trigger();  
}  
this.cbShows.addEventListener(“change”, comboFunction);

can anyone help me figure out were the code is messing up…  
thanks ahead of time for any help anyone can give…
