<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>nightdrops.com &#187; mxml</title>
	<atom:link href="http://www.nightdrops.com/tag/mxml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nightdrops.com</link>
	<description>like the color blue</description>
	<lastBuildDate>Thu, 01 Jul 2010 13:19:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Requesting Webservices in Flex 3</title>
		<link>http://www.nightdrops.com/2009/requesting-webservices-in-flex-3/</link>
		<comments>http://www.nightdrops.com/2009/requesting-webservices-in-flex-3/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 15:25:25 +0000</pubDate>
		<dc:creator>kajyr</dc:creator>
				<category><![CDATA[Blog posts]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[last.fm]]></category>
		<category><![CDATA[mxml]]></category>
		<category><![CDATA[webservices]]></category>

		<guid isPermaLink="false">http://www.nightdrops.com/?p=77</guid>
		<description><![CDATA[Follows Webservices, simple introduction. In Flex 3 requesting data is really simple, since you really have to load a well know url which prints out XML (or JSON or whatever). I assume you have read the introduction, here we are with a url that prints out informations about Cher&#8217;s top fans: http://ws.audioscrobbler.com/2.0/?method=artist.gettopfans&#38;artist=cher&#38;api_key=xxxxxxxxxxxx What we have to [...]]]></description>
			<content:encoded><![CDATA[<p>Follows <a href="http://www.nightdrops.com/2009/01/webservices-simple-introduction/" target="_self">Webservices, simple introduction.</a></p>
<p>In Flex 3 requesting data is really simple, since you really have to load a well know url which prints out XML (or JSON or whatever).</p>
<p>I assume you have read the introduction, here we are with a url that prints out informations about Cher&#8217;s top fans:</p>
<pre>http://ws.audioscrobbler.com/2.0/?method=artist.gettopfans&amp;artist=cher&amp;api_key=xxxxxxxxxxxx</pre>
<p>What we have to do is load that url with a mx:HTTPService Object and parse the result as XML. Simple, it isn&#8217;t?</p>
<p>First: create the HTTPService object:</p>
<div class="codecolorer-container mxml default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><br /><strong>GeSHi Error:</strong> GeSHi could not find the language mxml (using path /nfs/c03/h01/mnt/85630/domains/nightdrops.com/html/wp-content/plugins/snipplr/geshi/geshi/) (code 2)<br /></div>
<p>and the handlers</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><br /><strong>GeSHi Error:</strong> GeSHi could not find the language actionscript3 (using path /nfs/c03/h01/mnt/85630/domains/nightdrops.com/html/wp-content/plugins/snipplr/geshi/geshi/) (code 2)<br /></div>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><br /><strong>GeSHi Error:</strong> GeSHi could not find the language actionscript3 (using path /nfs/c03/h01/mnt/85630/domains/nightdrops.com/html/wp-content/plugins/snipplr/geshi/geshi/) (code 2)<br /></div>
<p>And oplà, in the data field you will have the returned xml, ready to be shown in your preferred component!</p>
<p><a href="http://www.nightdrops.com/wp-content/uploads/2009/01/requesting-webservices-in-flex-3.zip" onClick="javascript: pageTracker._trackPageview('/downloads/requesting-webservices-in-flex-3.zip>You can download the code</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nightdrops.com/2009/requesting-webservices-in-flex-3/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
