gazzer82
03-06-2006, 12:25 PM
Hi All
This is really doing my head in!!
Ok so what am i trying to do?
I am pulling in some data from a mysql databse using a php script to generate an xml file that is then pulled into flash using an xml connector.
The data is then passed into a dataholder, and then a combobox, this box is then used to sort another dataset by whats selected.
My Problem?
The combobox keeps reporting undefined when i try to get the selected option out of it.
The Script
_root.work_mc.type_txt.text = _root.work_mc.type_cb.getSelectedItem().label;
I have also tried pretty much every other option in the combobox and they all seem to report undefined.
Help Please!!
Cheers
Gareth
This is really doing my head in!!
Ok so what am i trying to do?
I am pulling in some data from a mysql databse using a php script to generate an xml file that is then pulled into flash using an xml connector.
The data is then passed into a dataholder, and then a combobox, this box is then used to sort another dataset by whats selected.
My Problem?
The combobox keeps reporting undefined when i try to get the selected option out of it.
The Script
_root.work_mc.type_txt.text = _root.work_mc.type_cb.getSelectedItem().label;
I have also tried pretty much every other option in the combobox and they all seem to report undefined.
Help Please!!
Cheers
Gareth