Binding is ONE-WAY.
You will need to update the model yourself. Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: Wednesday, May 28, 2008 1:35 PM To: [email protected] Subject: RE: [flexcoders] I must be stupid or something Try using an XMLList (instead of XML) dataprovider, it should update when the controls update. -----Original Message----- From: [email protected] <mailto:flexcoders%40yahoogroups.com> on behalf of George Sent: Wed 28/05/2008 18:27 To: [email protected] <mailto:flexcoders%40yahoogroups.com> Subject: [flexcoders] I must be stupid or something I have an HTTPService which returns an XML result. This works fine. I used the result format of e4x when the service is called the resultHandler places the resulting XML in a MXML script variable marked as [Bindable] for use in binding the controls to. The binding seems to work fine and I get the results in the on screen controls, but when I update the values in the controls, those values do not get written back to the MXML variable which contains the XML result. What am I doing wrong? Is the supposed to be an event handler which updates the MXML variable? Isn't the binding both ways? If the XML is updated, the controls are updated, and if the controls are updated, the XML is updated? __________________________________________________________ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. __________________________________________________________

