I am trying to modify a widget for use in a flex app. I have a mxml that makes a query over a feature layer. All the feature layers are in a XML and can be changed depending on what query you want. I want to pass the result fields from the query to another mxml that is the infoWindowRenderer and is supposed to show an info window with the the data of the query. Tried the get/set methods but that didn't work. Any idea about the communication between the mxml's?
I tried to do the task with the custom event method, but in order to use the custom event I have to import one of the mxml-s as a custom component. I couldn't do that so I tried to move the combobox to the main mxml and try to call the custom event from there but got an error that I didn't work out:
1061: Call to a possibly undefined method transferCurrentLayer through a reference with static type Class.