In the extras folder is a class called XMLObjectOutput which is not
perfect but has given some folks a starting point for getting the kind
of deserialization you want.

If you want to use the same deserializer as HTTPService you can try this
undocumented trick:

var decoder = new mx.services.XMLDecoder();
var deserialized = decoderXML.decode(myXML);

I haven't tested that in a while though so no guarantees that you can
get away with passing params to the decoder constructor :-)

Matt

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of thunderstumpgesatwork
Sent: Sunday, April 23, 2006 3:13 PM
To: [email protected]
Subject: [flexcoders] Flex1.5 - Info about XML object and working with
XML in Actionscript?

Hi all,

I've come to realize how much more complete the Flex 2 documentation
seems than the Flex 1.5 documentation...

I'm looking for Flex1.5 documentation on XML objects and working with
XML. That or I need some help converting an XML object that is
returned from a RemoteObject call into an ActionScript Object. I know
there's functionality that does this for web-service results, and
<mx:Model> tags that reference an XML file source.... can I tap into
that?

Any guidance as to where additional documentation can be found is
greatly appreciated. I have looked through the "Developing Flex
Applications" help library that comes with FlexBuilder 1.5, as well as
the ActionScript/MXML Language reference for Flex 1.5... neither seem
to discuss how to use XML objects, or suggest how I might convert the
XML to an Object.

Thanks,
Thunder





--
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




Reply via email to