flash data integration:
hi everybody...
does anyone know how to do this ????
i am binding an xml connector with a textarea component and a combobox
component...
when an item in combobox changes the value changes in the textarea....
the general syntax to make a databinding using actionscript is this
---------------------------------------------
new mx.data.binding.Binding({component:, property:"", event:[""]},
{component:, property:""}, {cls:mx.data.formatters.Custom,
settings:{classname:"", classname_class:}});
--------------------------------------------
now the sample schema for the the xml connector is :
xml connector name: my_xml
results ; XML
----newdata : Object
--------data : Array
------------[n] : Object
------------a : String
------------b : String
so the syntax i need are :
1.binding between the my_xml array and the combo box (my_combo) dataprovider
2.binding between the my_xml--> a:String and the textarea (my_txt) text
3.binding between the index of the xml connector (my_xml) and the
selectedindex of the combobox (my_combo)
anyone can solve this problem ??????????????????