RE: [flexcoders] Re: Multiple ComboBox Selection and Tree from XML

2007-01-02 Thread Tracy Spratt
The benefit of the handler function over the binding is that you can examine the structure of the current item to understand how to build the expression to return the dataProvider. Now, you are going to need separate handler functions for each combo box, or else pass in a parameter and create l

RE: [flexcoders] Re: Multiple ComboBox Selection and Tree from XML

2007-01-02 Thread Tracy Spratt
Ok, good. Now, each item in the first combo box has an XML "location" node in it. If the location node contains the child nodes necessary to populate the second combo, then in the "listChangeHandler" do something similar to what you did in the result handler. You can directly assign the dataProvi

RE: [flexcoders] Re: Multiple ComboBox Selection and Tree from XML

2006-12-29 Thread Tracy Spratt
If the data can be in one file then that is the easiest way to do it. Use HTTPService with resultFormat="e4x" to get the data into Flex. Then use an e4x expression to return an XMLList of the correct nodes for the first combo box. When you have that working, post back. Tracy __