I am populating two comboxes one with state names and the
other with city names from a simple xml file using xmlconnector. If
I click on a state name in the first combo box then its
corresponding city names populate correctly in the second combobox.
Now I added three buttons on the layer and added the code to
change the selectedindex of the first combobox in the button's
onclick event. When I click the button the first combobox correctly
changes brings up the state name but the second combobox doe not
change. i.e. the second combobox populates the cities only on user
doing a mouse clicking on the state names. Everywhere in Adobe docs
it says 'user change' but not through 'code change'
What is wrong ? Is there a way to get around this ?
the data in a simple xml is