Try requestSolicitante.lastResult.root.solicitante.nome Darren
>From: "falecomozig" <[EMAIL PROTECTED]> >Reply-To: flexcoders@yahoogroups.com >To: flexcoders@yahoogroups.com >Subject: [flexcoders] Getting XML from server >Date: Thu, 10 Aug 2006 15:03:14 -0000 > >Hi fellows. > >I have a test application where I send two variables to the server, I >get the two as POST vars and make a search in the db. As a result, I >have an agent sending this XML: > ><?xml version="1.0"?> ><root> ><solicitante> ><nome>AAA</nome> ><ramal>1111</ramal> ><departamento>BBB</departamento> ><secao>CCC</secao> ><email>HHH</email> ></solicitante> ></root> > >I´m trying to put some of theresults into textInputs with this: > >private function onResult(oEvent:ResultEvent):void >{ > txSolicitante.text = >requestSolicitante.lastResult.solicitante.nome; >} > >Well, it´s not working. >How can I do this??? > >Thanks > >Zig > > > > > > > >-- >Flexcoders Mailing List >FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com >Yahoo! Groups Links > > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/