I'm a novice in Flex and learning with self experimentation. However, I'm at a complete loss when trying to use the code generated by Flex 4's "Connect to XML" Data Services.
I'd like to load a local XML file dynamically into my flex application and fill a combobox with the values fetched from the XML.
Now the Data Service generated nice package and classes to read this XML file, but I'm not sure how to use in to define my combobox's dataprovider.
Not able to figure out how to assign the token to the CallResponder.
Can anyone please point me to an example code that uses this auto generated class and it's methods?
With the DCD workflow, connecting to all types of services has been made very easy.
After you complete the service introspection and generation using the DCD wizard, switch over to design view and drag and drop a combo box. Now right click on the combo box and click on "Bind to data". It opens a popup window where you can choose which service's result (a getData() method, say) and you can also choose the labelField, which is the data displayed on each ComboBox item.
does this answer your query, or do you still want to know what the generated code is all about ?
Thanks so much Bala. Flash 4 simply rocks! My problem solved in a ziffy!