<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Converting XML to objects using the Flex SimpleXMLDecoder class</title>
	<link>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Fri, 05 Dec 2008 10:25:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-14999</link>
		<author>peterd</author>
		<pubDate>Thu, 28 Aug 2008 08:14:53 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-14999</guid>
		<description>alex,

Does this help at all? &lt;a href="http://blog.flexexamples.com/2008/08/28/parsing-xml-nodes-and-objects-with-dashes-in-their-names-in-actionscript-30/" rel="nofollow"&gt;&lt;u&gt;"Parsing XML nodes and Objects with dashes in their names in ActionScript 3.0"&lt;/u&gt;&lt;/a&gt;

Peter</description>
		<content:encoded><![CDATA[<p>alex,</p>
<p>Does this help at all? <a href="http://blog.flexexamples.com/2008/08/28/parsing-xml-nodes-and-objects-with-dashes-in-their-names-in-actionscript-30/" rel="nofollow"><u>&#8220;Parsing XML nodes and Objects with dashes in their names in ActionScript 3.0&#8243;</u></a></p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-14958</link>
		<author>alex</author>
		<pubDate>Tue, 26 Aug 2008 20:49:40 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-14958</guid>
		<description>^^ tag like font-size</description>
		<content:encoded><![CDATA[<p>^^ tag like font-size</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-14957</link>
		<author>alex</author>
		<pubDate>Tue, 26 Aug 2008 20:48:57 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-14957</guid>
		<description>how can i access a  with dashes like  ?   i receive Flex: 1120: Access of undefined property size...</description>
		<content:encoded><![CDATA[<p>how can i access a  with dashes like  ?   i receive Flex: 1120: Access of undefined property size&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-12549</link>
		<author>peterd</author>
		<pubDate>Thu, 08 May 2008 00:16:10 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-12549</guid>
		<description>&lt;a href="http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-12536" rel="nofollow"&gt;marco&lt;/a&gt;,

Nope, no special code. Later in the code you should see the following MXML code:

&lt;pre class="code"&gt;
    &#60;mx:HTTPService id="serv"
            url="{XML_URL}"
            resultFormat="xml"
            result="serv_result(event);"
            fault="serv_fault(event);" /&#62;
&lt;/pre&gt;

Basically the &lt;code&gt;creationComplete&lt;/code&gt; event is calling the HTTPService tag's &lt;code&gt;send()&lt;/code&gt; method, which should trigger the &lt;code&gt;result&lt;/code&gt; or &lt;code&gt;fault&lt;/code&gt; events which in turn calls the &lt;code&gt;serv_result()&lt;/code&gt; or &lt;code&gt;serv_fault()&lt;/code&gt; methods.

Peter</description>
		<content:encoded><![CDATA[<p><a href="http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-12536" rel="nofollow">marco</a>,</p>
<p>Nope, no special code. Later in the code you should see the following MXML code:</p>
<pre class="code">
    &lt;mx:HTTPService id="serv"
            url="{XML_URL}"
            resultFormat="xml"
            result="serv_result(event);"
            fault="serv_fault(event);" /&gt;
</pre>
<p>Basically the <code>creationComplete</code> event is calling the HTTPService tag&#8217;s <code>send()</code> method, which should trigger the <code>result</code> or <code>fault</code> events which in turn calls the <code>serv_result()</code> or <code>serv_fault()</code> methods.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marco</title>
		<link>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-12536</link>
		<author>marco</author>
		<pubDate>Wed, 07 May 2008 04:00:08 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-12536</guid>
		<description>&lt;code&gt;creationComplete="serv.send();"&lt;/code&gt; ?? 

where is the &lt;code&gt;serv.send();&lt;/code&gt; function on the script ?? is it a special code ?</description>
		<content:encoded><![CDATA[<p><code>creationComplete="serv.send();"</code> ?? </p>
<p>where is the <code>serv.send();</code> function on the script ?? is it a special code ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duivvv</title>
		<link>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-7363</link>
		<author>duivvv</author>
		<pubDate>Wed, 05 Mar 2008 10:15:24 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-7363</guid>
		<description>how do attributes get filled in on the objects ?

for instance

if i'll One

can i access it by resultObj.album.id ?</description>
		<content:encoded><![CDATA[<p>how do attributes get filled in on the objects ?</p>
<p>for instance</p>
<p>if i&#8217;ll One</p>
<p>can i access it by resultObj.album.id ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim yang</title>
		<link>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-3948</link>
		<author>tim yang</author>
		<pubDate>Wed, 07 Nov 2007 10:58:19 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/09/19/converting-xml-to-objects-using-the-flex-simplexmldecoder-class/#comment-3948</guid>
		<description>very usefull thanks!!!!1!</description>
		<content:encoded><![CDATA[<p>very usefull thanks!!!!1!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
