I don't quite understand. Why return an XML string in a RemoteObject? Why not 
just return objects?


--- In flexcoders@yahoogroups.com, "tiend...@..." <tienda...@...> wrote:
>
> I use RemoteObject
> Yes, in PHP I return XML string. And in Flex I read XML string. 
> So I don't need convert ArrayCollection to XML.
> 
> I use ex4.
> 
> --- In flexcoders@yahoogroups.com, "Tracy Spratt" <tspratt@> wrote:
> >
> > I'd suggest using XML all the way through, instead of converting XML to
> > ArrayCollection first, then trying to convert it back.  What RPC protocol
> > are you using for server communication?  What is your resultFormat?
> > 
> >  
> > 
> > Tracy Spratt,
> > 
> > Lariat Services, development services available
> > 
> >   _____  
> > 
> > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> > Behalf Of tiendans@
> > Sent: Monday, March 09, 2009 8:58 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Convert ArrayCollection to XML
> > 
> >  
> > 
> > Thanks,
> > 
> > I was read it, but can not apply in my app.
> > I think , can not convert ArrayCollection to XML. You must convert XML in
> > PHP code.
> > 
> > Anyway thank you.
> > 
> > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
> > "oneworld95" <oneworld95@> wrote:
> > >
> > > http://nsdevaraj.
> > <http://nsdevaraj.wordpress.com/2008/08/20/arraycollection-xml/>
> > wordpress.com/2008/08/20/arraycollection-xml/
> > > 
> > > - Alex C
> > > 
> > > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
> > "tiendans@" <tiendanvn@> wrote:
> > > >
> > > > Hi all guru,
> > > > 
> > > > I have a question about ArrayCollection.
> > > > 
> > > > [Backend: MySQL,PHP]
> > > > MySQL return result in Array.
> > > > 
> > > > [Frontend: Flex]
> > > > dp = new ArrayCollection( ArrayUtil.toArray(event.result));
> > > > 
> > > > I want to convert ArrayCollection (dp) to XML, and show XML result in
> > TextArea.
> > > > 
> > > > 
> > > > Help me please !
> > > >
> > >
> >
>


Reply via email to