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

<channel>
	<title>Spreading Funkyness</title>
	<atom:link href="http://spreadingfunkyness.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://spreadingfunkyness.com</link>
	<description></description>
	<pubDate>Fri, 11 Jul 2008 16:28:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Posty runs on Linux</title>
		<link>http://spreadingfunkyness.com/posty-runs-on-linux/</link>
		<comments>http://spreadingfunkyness.com/posty-runs-on-linux/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 14:26:22 +0000</pubDate>
		<dc:creator>funkyboy</dc:creator>
		
		<category><![CDATA[adobeair]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[posty]]></category>

		<category><![CDATA[screencast]]></category>

		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://spreadingfunkyness.com/?p=48</guid>
		<description><![CDATA[I took some time to test Posty on Linux. Inspite the fact that Adobe Air for Linux is still alpha version, I am surprised that Posty runs fine on major Linux distributions. The only issue, first identified by Daria, is that Posty is memoryless, that is you set it to remember login data, but when [...]]]></description>
			<content:encoded><![CDATA[<p>I took some time to test <a href="http://spreadingfunkyness.com/posty">Posty</a> on Linux. Inspite the fact that <a href="http://labs.adobe.com/downloads/air_linux.html">Adobe Air for Linux</a> is still alpha version, I am surprised that Posty runs fine on major Linux distributions. The only issue, first identified by <a href="http://daria.servhome.org/">Daria</a>, is that Posty is memoryless, that is you set it to remember login data, but when you run the application again, you have to re-enter data again. I am in contact with Adobe engineers to discuss the issue.</p>
<p>The first distro I tried is <a href="http://www.pclinuxos.com/">PcLinuxOs</a>. Very easy to install on Paralles. It also associated the .air file extension to the Air installer application. AS you can see in the video, you click on the .air file and Posty installs.</p>
<p><center><br />
<object width="400" height="302"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=1302321&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=F6922D&amp;fullscreen=1" /><embed src="http://www.vimeo.com/moogaloop.swf?clip_id=1302321&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=F6922D&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="302"></embed></object><br /><a href="http://www.vimeo.com/1302321?pg=embed&#038;sec=1302321">Posty on PCLinuxOs</a> from <a href="http://www.vimeo.com/user345674?pg=embed&#038;sec=1302321">funkyboy</a> on <a href="http://vimeo.com?pg=embed&#038;sec=1302321">Vimeo</a>.<br />
</center><br />
<br/><br />
Then I tried <a href="http://www.opensuse.org/">OpenSuse</a>. Like PcLinuxOs was easy to install and set up. i had to run Adobe Air installer from the console. It is located in the /opt folder: </p>
<p><code><br />
  /opt/Adobe AIR/Versions/1.0<br />
</code></p>
<p><center><br />
<object width="400" height="302"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=1302408&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=F6922D&amp;fullscreen=1" /><embed src="http://www.vimeo.com/moogaloop.swf?clip_id=1302408&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=F6922D&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="302"></embed></object><br /><a href="http://www.vimeo.com/1302408?pg=embed&#038;sec=1302408">Posty on OpenSuse</a> from <a href="http://www.vimeo.com/user345674?pg=embed&#038;sec=1302408">funkyboy</a> on <a href="http://vimeo.com?pg=embed&#038;sec=1302408">Vimeo</a>.<br />
</center><br />
<br/><br />
Another mainstream distro I tested is <a href="http://www.mandriva.com/">Mandriva</a>. Apart from a warning in the console all went fine.</p>
<p><center><br />
<object width="400" height="302"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=1302423&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=F6922D&amp;fullscreen=1" /><embed src="http://www.vimeo.com/moogaloop.swf?clip_id=1302423&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=F6922D&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="302"></embed></object><br /><a href="http://www.vimeo.com/1302423?pg=embed&#038;sec=1302423">Posty on Mandriva</a> from <a href="http://www.vimeo.com/user345674?pg=embed&#038;sec=1302423">funkyboy</a> on <a href="http://vimeo.com?pg=embed&#038;sec=1302423">Vimeo</a>.<br />
</center><br />
<br/><br />
I already had an installation of <a href="http://www.ubuntu.com/">Ubuntu</a>. Setting up Posty was easy.<br />
<center><br />
<object width="400" height="241"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=1302564&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=F6922D&amp;fullscreen=1" /><embed src="http://www.vimeo.com/moogaloop.swf?clip_id=1302564&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=F6922D&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="241"></embed></object><br /><a href="http://www.vimeo.com/1302564?pg=embed&#038;sec=1302564">Posty on Ubuntu 8.04</a> from <a href="http://www.vimeo.com/user345674?pg=embed&#038;sec=1302564">funkyboy</a> on <a href="http://vimeo.com?pg=embed&#038;sec=1302564">Vimeo</a>.<br />
</center><br />
<br/></p>
<p>Finally I tried <a href="http://www.knoppix.com/">Knoppix</a>, which was the quickest to boot.</p>
<p><center><br />
<object width="400" height="302"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=1302645&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=F6922D&amp;fullscreen=1" /><embed src="http://www.vimeo.com/moogaloop.swf?clip_id=1302645&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=F6922D&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="302"></embed></object><br /><a href="http://www.vimeo.com/1302645?pg=embed&#038;sec=1302645">Posty on Knoppix</a> from <a href="http://www.vimeo.com/user345674?pg=embed&#038;sec=1302645">funkyboy</a> on <a href="http://vimeo.com?pg=embed&#038;sec=1302645">Vimeo</a>.<br />
</center><br />
<br/><br />
I also tried <a href="http://www.centos.org/">CentOs</a>, but it thrown an &#8220;Error loading the runtime&#8221; and <a href="http://www.slax.org/">Slax 6.0.7</a>, which asked me to be root, whereas I already was logged as root.<br />
<br/><br />
Credits:</p>
<ul>
<li><a href="http://distrowatch.com/">Distrowatch</a>
<li><a href="http://www.livecdlist.com/">LivecdList</a>
</ul>
<p><br/><br />
Thanks to Daria, <a href="http://daria.servhome.org/2008/07/05/test-de-posty-publipostage-sur-microblogs/">who first tried installing Posty on Ubuntu 7.10</a> and inspired me to test Posty on other distributions.<br />
<br/><br />
UPDATE: An Adobe Air engineer told me that Encrypted Local Store is not yet implemented on the Linux version of Adobe Air.</p>
]]></content:encoded>
			<wfw:commentRss>http://spreadingfunkyness.com/posty-runs-on-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Microblogging is simple with Posty</title>
		<link>http://spreadingfunkyness.com/microblogging-is-simple-with-posty/</link>
		<comments>http://spreadingfunkyness.com/microblogging-is-simple-with-posty/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 12:35:01 +0000</pubDate>
		<dc:creator>funkyboy</dc:creator>
		
		<category><![CDATA[microblogging]]></category>

		<category><![CDATA[posty]]></category>

		<category><![CDATA[screencast]]></category>

		<guid isPermaLink="false">http://spreadingfunkyness.com/?p=46</guid>
		<description><![CDATA[I created a quick screencast which shows how simple is to microblog by means of Posty.

Posty Screencast from funkyboy on Vimeo.

]]></description>
			<content:encoded><![CDATA[<p>I created a quick screencast which shows how simple is to microblog by means of Posty.</p>
<p><center><br />
<object width="400" height="313"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=1274655&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=F6922D&amp;fullscreen=1" /><embed src="http://www.vimeo.com/moogaloop.swf?clip_id=1274655&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=F6922D&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="313"></embed></object><br /><a href="http://www.vimeo.com/1274655?pg=embed&#038;sec=1274655">Posty Screencast</a> from <a href="http://www.vimeo.com/user345674?pg=embed&#038;sec=1274655">funkyboy</a> on <a href="http://vimeo.com?pg=embed&#038;sec=1274655">Vimeo</a>.<br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://spreadingfunkyness.com/microblogging-is-simple-with-posty/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Deleting Encrypted data in Adobe Air</title>
		<link>http://spreadingfunkyness.com/deleting-encrypted-data-in-adobe-air/</link>
		<comments>http://spreadingfunkyness.com/deleting-encrypted-data-in-adobe-air/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 14:43:29 +0000</pubDate>
		<dc:creator>funkyboy</dc:creator>
		
		<category><![CDATA[adobeair]]></category>

		<category><![CDATA[programming]]></category>

		<category><![CDATA[adobeair posty microblogging encrypted password]]></category>

		<guid isPermaLink="false">http://spreadingfunkyness.com/?p=44</guid>
		<description><![CDATA[Adobe Air apis allow storing encrypted data on your hard drive. During a conversation with an Adobe engineer I discovered that data are stored in this directory:


      Adobe/AIR/ELS/


For example on my mac data are stored in:


      /Users/MYUSERNAME/Library/Application Support/Adobe/AIR/ELS


Of course you can delete encrypted data via [...]]]></description>
			<content:encoded><![CDATA[<p>Adobe Air apis allow storing encrypted data on your hard drive. During a conversation with an Adobe engineer I discovered that data are stored in this directory:<br />
<br/></p>
<pre>
      Adobe/AIR/ELS/
</pre>
<p><br/><br />
For example on my mac data are stored in:<br />
<br/></p>
<pre>
      /Users/MYUSERNAME/Library/Application Support/Adobe/AIR/ELS
</pre>
<p><br/><br />
Of course you can delete encrypted data via code by using:<br />
<br/></p>
<pre>
      EncryptedLocalStore.reset();
</pre>
<p><br/><br />
Beware, this deletes ALL stored data!</p>
<p>More information <a href="http://help.adobe.com/en_US/AIR/1.1/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7e31.html">here</a>.</p>
<p>ps: I plan to implement a button in <a href="http://spreadingfunkyness.com/posty/">Posty</a> to delete encrypted data, e.g. in case you install Posty on a computer which is not of yours and you wanna clean up hard disk from sensible data.</p>
]]></content:encoded>
			<wfw:commentRss>http://spreadingfunkyness.com/deleting-encrypted-data-in-adobe-air/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dynamic function calling in Flex</title>
		<link>http://spreadingfunkyness.com/dynamic-function-calling-in-flex/</link>
		<comments>http://spreadingfunkyness.com/dynamic-function-calling-in-flex/#comments</comments>
		<pubDate>Fri, 30 May 2008 13:02:12 +0000</pubDate>
		<dc:creator>funkyboy</dc:creator>
		
		<category><![CDATA[adobeair]]></category>

		<category><![CDATA[flex]]></category>

		<category><![CDATA[programming]]></category>

		<category><![CDATA[flex air function call dynamic as3 programming]]></category>

		<guid isPermaLink="false">http://spreadingfunkyness.com/dynamic-function-calling-in-flex/</guid>
		<description><![CDATA[Sometimes I have the need to associate two different actions to the same button. It is not always a good solution. Indeed, good user interfaces should have a clear layout and buttons should always do the same thing. Sometimes, but very rarely, you can disregard such a rule and associate different actions to the same [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes I have the need to associate two different actions to the same button. It is not always a good solution. Indeed, good user interfaces should have a clear layout and buttons should always do the same thing. Sometimes, but very rarely, you can disregard such a rule and associate different actions to the same button. It is the case of play/pause. If you check your Itunes you will notice that when you click play the button changes icon to pause and viceversa. Same for Windows Media Player and many other players. This is allowed because actions are distinct and mutually exclusive. <br/> I was in front of a similar situation when I added the possiblity to visualize comments in <a href="http://spreadingfunkyness.com/posty">Posty</a>. The feature is very similar in Pownce, which allows replies to posts, and Friendfeed which has comments attached to entries. What I wanted to obtain is a button which is:</p>
<ul>
<li> visible when there are comments/replies
<li> dynamic, in the sense it switches functionality (and label) according to the state of comments/replied (shown or hidden)
</ul>
<p>To give you the flavor of my solution here I propose a demo with a button that shows/hides a logo.<br />
<br/><br />
<a href="http://spreadingfunkyness.com/wp-content/uploads/dynamicFunctionCall/dynamicFunctionCall.html">Demo</a> (right click to view source).<br />
<br/><br />
The solution exploits Flex capability to represent functions as objects. If you check out the code you&#8217;ll see a variable declared like this:</p>
<pre>
	<span style="color:#0033ff ">private var</span> _functionToBeCalled:<span style="color:#0033ff ">Function</span> = showLogo;;
</pre>
<p>The application initializes the variable with the <code>showLogo</code> function assigned by default. When executed, this function shows the logo, sets <code>hideLogo</code><br />
as the function to be called next time and changes the label to &#8220;Hide logo&#8221;.</p>
<pre>
	<span style="color:#0033ff ">private function</span> showLogo():<span style="color:#0033ff ">void</span> {
		logo.visible = <span style="color:#0033ff ">true</span>;
	<span style="color:#0033ff ">	this</span>.linkButton.label = <span style="color:#BC0000 ">&#8220;Hide logo&#8221;</span>;
	<span style="color:#0033ff ">	this</span>._functionToBeCalled = hideLogo;
	}
</pre>
<p>The <code>hideLogo</code> function does the exact &#8220;opposite&#8221;: hides the logo, sets the function to be called back to <code>showLogo</code> and changes the label.</p>
<p>Enjoy the trick!</p>
]]></content:encoded>
			<wfw:commentRss>http://spreadingfunkyness.com/dynamic-function-calling-in-flex/feed/</wfw:commentRss>
		</item>
		<item>
		<title>StumbleUpon - My &#8220;algorithm&#8221; to deal with friends limit</title>
		<link>http://spreadingfunkyness.com/stumbleupon-my-algorithm-to-deal-with-friends-limit/</link>
		<comments>http://spreadingfunkyness.com/stumbleupon-my-algorithm-to-deal-with-friends-limit/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 14:26:34 +0000</pubDate>
		<dc:creator>funkyboy</dc:creator>
		
		<category><![CDATA[socialnetworks]]></category>

		<category><![CDATA[stumbleupon]]></category>

		<guid isPermaLink="false">http://spreadingfunkyness.com/stumbleupon-my-algorithm-to-deal-with-friends-limit/</guid>
		<description><![CDATA[I like StumbleUpon. My website gets many visits from there. But as many ( blahblahtech  and  traffikd ) I have an issue with the friends limit.
Said briefly you can be fan of at most 200 people. After that you get a warning and you cannot add more fans. You cannot even reciprocate a [...]]]></description>
			<content:encoded><![CDATA[<p>I like StumbleUpon. My website gets many visits from there. But as many (<a href="http://www.blahblahtech.com/2008/02/stumbleupon-falters-on-friend-limit.html"> blahblahtech </a> and <a href="http://traffikd.com/stumbleupon/better-friend/"> traffikd </a>) I have an issue with the friends limit.<br />
Said briefly you can be fan of at most 200 people. After that you get a warning and you cannot add more fans. You cannot even reciprocate a fan of yours. So you are in a kind of deadlock.<br />
I devise this sort of algorithm to deal with such a situation:</p>
<ul>
<li> Become fan of a friend
<li> if he reciprocates fine
<li> if he doesn&#8217;t, persuade him to unfriend inactive people he is fan of
<li> if he doesn&#8217;t reply for a while unfriend him, because he is not active or does not share any interest with you
</ul>
<p>In Actionscript <img src='http://spreadingfunkyness.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre>
<span style="color:#0033ff ">var</span> limit:int = 2; // weeks

<span style="color:#0033ff ">for each</span> (stumbler:People <span style="color:#0033ff ">in</span> peopleYouAreFanOf) {
	<span style="color:#0033ff ">if</span> (!stumbler.reciprocates() ||
            !stumbler.persuaded() ||
            stumbler.getRepliesWithin(limit) == 0)
        {
		stumbler.unfriend();
	}
	<span style="color:#0033ff ">else</span> {
		you.sayThanks(stumbler);
		you.interactWith(stumbler);
	}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://spreadingfunkyness.com/stumbleupon-my-algorithm-to-deal-with-friends-limit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Posty - Star Pownce notes</title>
		<link>http://spreadingfunkyness.com/posty-star-pownce-notes/</link>
		<comments>http://spreadingfunkyness.com/posty-star-pownce-notes/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 12:42:31 +0000</pubDate>
		<dc:creator>funkyboy</dc:creator>
		
		<category><![CDATA[posty]]></category>

		<category><![CDATA[pownce]]></category>

		<guid isPermaLink="false">http://spreadingfunkyness.com/posty-star-pownce-notes/</guid>
		<description><![CDATA[ auto-explicative screenshot. Check Posty out!
]]></description>
			<content:encoded><![CDATA[<p><img src="http://spreadingfunkyness.com/wp-content/uploads/2008/04/stars.png" alt="stars.png" /> <br/><br/>auto-explicative screenshot. Check <a href="http://spreadingfunkyness.com/posty/">Posty</a> out!</p>
]]></content:encoded>
			<wfw:commentRss>http://spreadingfunkyness.com/posty-star-pownce-notes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Parsing xml in Flex - The case of tag names with a dash</title>
		<link>http://spreadingfunkyness.com/parsing-xml-in-flex-the-case-of-tag-names-with-a-dash/</link>
		<comments>http://spreadingfunkyness.com/parsing-xml-in-flex-the-case-of-tag-names-with-a-dash/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 09:54:36 +0000</pubDate>
		<dc:creator>funkyboy</dc:creator>
		
		<category><![CDATA[adobeair]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://spreadingfunkyness.com/19/</guid>
		<description><![CDATA[I am a fan of json.
I use it extensively but sometimes I am forced to use xml. A pretty well know way to parse xml in Flex and Adobe air is the following: 

  var xml:XML = new XML(&#8220;&#60;data&#62;&#60;tag&#62;content&#60;/tag&#62;&#60;/data&#62;&#8221;);
  private function parse():void {
	 for each (var t:XML in xml.children()) {
		trace(&#8220;tag name: &#8220;+t.name()+&#8221; tag [...]]]></description>
			<content:encoded><![CDATA[<p>I am a fan of <a href="http://www.json.org/" title="Json">json</a>.<br />
I use it extensively but sometimes I am forced to use xml. A pretty well know way to parse xml in Flex and Adobe air is the following: <br/></p>
<pre>
<span style="color: #6699cc">  var</span> xml:XML = <span style="color: #0033ff">new</span> XML(<span style:"color: #BC0000">&#8220;&lt;data&gt;&lt;tag&gt;content&lt;/tag&gt;&lt;/data&gt;&#8221;</span>);
<span style="color: #0033ff">  private</span> <span style="color: #339966">function</span> parse():<span style="color: #0033ff">void</span> {
	<span style="color: #0033ff"> for</span> <span style="color: #0033ff">each</span> (<span style="color: #6699cc">var</span> t:XML <span style="color: #0033ff">in</span> xml.children()) {
		<span style="color: #cc6666"><span class="Apple-tab-span" style="white-space: pre"></span>trace</span>(<span style="color: #990000">&#8220;tag name: &#8220;</span>+t.name()+<span style="color: #990000">&#8221; tag content &#8220;</span>+t.text());
	}
  }
</pre>
<p>Sometimes you are not the one who establishes tag names, e.g. xml comes from a webservice and you have to use it as it is. In developing <a href="http://spreadingfunkyness.com/posty/">Posty</a> I had to parse xml coming from a microblogging service, <a href="http://www.tumblr.com">Tumblr</a>. An sample xml returned by tumblr is the following.</p>
<pre>&lt;<span style="color: #6699cc">post</span> id=&#8221;30451729&#8243; &#8230;&gt;
	  &lt;<span style="color: #6699cc">regular-body</span>&gt;Text of my post&#8230;&lt;/<span style="color: #6699cc">regular-body</span>&gt;
&lt;/<span style="color: #6699cc">post</span>&gt;
</pre>
<p>Notice there is a dash in some tag name. To render data you parse the xml and extract relevant data. Adopting the same approach explained above, to retrieve the content of a tag you&#8217;d write:</p>
<pre><span style="color: #0033ff">  for each</span> (<span style="color: #6699cc">var</span> x:XML <span style="color: #0033ff">in</span> xml.posts.post) {
<span style="color: #cc6666">    trace</span>(<span style="color: #990000">&#8220;my regular body is &#8220;</span>+ x.regular-body);
  }
</pre>
<p>You will not be able to run this code. The compiler will say: access of undefined property body. What! I can&#8217;t parse xml with dashed tag names? No you can&#8217;t. More evidence from here[link]. The solution is to exploit a different syntax, which allows to access data in a dashed-name tag:</p>
<pre><span style="color: #0033ff">  for each</span> (<span style="color: #6699cc">var</span> x:XML <span style="color: #0033ff">in</span> xml.posts.post) {
<span style="color: #000000"></span><span style="color: #cc6666">    trace</span>(<span style="color: #990000">&#8220;my regular body is &#8220;</span>+ x.child(<span style="color: #990000">&#8220;regular-body&#8221;</span>));
  }</pre>
<p>The compiler will be happy and your xml will be parsed successfully.</p>
]]></content:encoded>
			<wfw:commentRss>http://spreadingfunkyness.com/parsing-xml-in-flex-the-case-of-tag-names-with-a-dash/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Posty - Beta2</title>
		<link>http://spreadingfunkyness.com/posty-beta2/</link>
		<comments>http://spreadingfunkyness.com/posty-beta2/#comments</comments>
		<pubDate>Sat, 29 Mar 2008 13:52:40 +0000</pubDate>
		<dc:creator>funkyboy</dc:creator>
		
		<category><![CDATA[jaiku]]></category>

		<category><![CDATA[microblogging]]></category>

		<category><![CDATA[posty]]></category>

		<category><![CDATA[pownce]]></category>

		<category><![CDATA[tumblr]]></category>

		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://spreadingfunkyness.com/posty-beta2/</guid>
		<description><![CDATA[Update: Final version available here.  A new release of Posty is available, with support to four networks: twitter, jaiku, pownce and tumblr. A quick recap of the features:

 write a message a post it to each service with one click
browse personal and public notes
reply to twitter and pownce notes
full browsing of tumblog, with rendering [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update</strong>: Final version available <a href="http://spreadingfunkyness.com/posty/">here</a>. <br/> A new release of Posty is available, with support to four networks: <a href="http://twitter.com">twitter</a>, <a href="http://jaiku.com">jaiku</a>, <a href="http://pownce.com">pownce</a> and <a href="http://www.tumblr.com">tumblr</a>. A quick recap of the features:
<ul>
<li> write a message a post it to each service with one click</li>
<li>browse personal and public notes</li>
<li>reply to twitter and pownce notes</li>
<li>full browsing of tumblog, with rendering of audio, video, conversation, etc.</li>
</ul>
<p><a href="http://spreadingfunkyness.com/posty-download/download.php?get=posty-beta2.air.zip">Download Posty</a>.<br/><img src="http://spreadingfunkyness.com/wp-content/uploads/2008/03/postymain.png" alt="Posty main screen" /><br/>A screenshot of the main interface.<br/><br/><img src="http://spreadingfunkyness.com/wp-content/uploads/2008/03/postytwitter.png" alt="postytwitter.png" /><br/>A screenshot of the twitter interface. <br/>To run Posty you need the <a href="http://get.adobe.com/air/">Adobe Air installer</a>.<br/>For any comment, suggestion, curiosity or feedback: posty AT spreadingfunkyness.com.</p>
]]></content:encoded>
			<wfw:commentRss>http://spreadingfunkyness.com/posty-beta2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hi. I am iTunes. I am busy. Pant Pant.</title>
		<link>http://spreadingfunkyness.com/hi-i-am-itunes-i-am-busy-pant-pant/</link>
		<comments>http://spreadingfunkyness.com/hi-i-am-itunes-i-am-busy-pant-pant/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 18:51:17 +0000</pubDate>
		<dc:creator>funkyboy</dc:creator>
		
		<category><![CDATA[itunes]]></category>

		<guid isPermaLink="false">http://spreadingfunkyness.com/hi-i-am-itunes-i-am-busy-pant-pant/</guid>
		<description><![CDATA[Hi, I am iTunes. I feel like &#8230; puff puff &#8230; pant pant. I am busy. No, it&#8217;s not the spring. I am really busy. What I do?

Play songs
Synch with ipods/iphones/apple tvs
Get covers/titles from the internet
Manage podcasts (what an effort!)
Sell songs
Rent movies
Play streaming radio
Soon I will sell iPhone apps

Darn! Stevie. Nobody helps me. Can&#8217;t you [...]]]></description>
			<content:encoded><![CDATA[<p>Hi, I am iTunes. I feel like &#8230; puff puff &#8230; pant pant. I am busy. No, it&#8217;s not the spring. I am really busy. What I do?
<ul>
<li>Play songs</li>
<li>Synch with ipods/iphones/apple tvs</li>
<li>Get covers/titles from the internet</li>
<li>Manage podcasts (what an effort!)</li>
<li>Sell songs</li>
<li>Rent movies</li>
<li>Play streaming radio</li>
<li>Soon I will sell iPhone apps</li>
</ul>
<p>Darn! Stevie. Nobody helps me. Can&#8217;t you devise a new software to do some of my duties?
<ul></ul>
]]></content:encoded>
			<wfw:commentRss>http://spreadingfunkyness.com/hi-i-am-itunes-i-am-busy-pant-pant/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Stumble with Safari (the easy way)</title>
		<link>http://spreadingfunkyness.com/stumble-with-safari-the-easy-way/</link>
		<comments>http://spreadingfunkyness.com/stumble-with-safari-the-easy-way/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 18:36:03 +0000</pubDate>
		<dc:creator>funkyboy</dc:creator>
		
		<category><![CDATA[safari]]></category>

		<category><![CDATA[stumbleupon]]></category>

		<category><![CDATA[bookmarklet]]></category>

		<guid isPermaLink="false">http://spreadingfunkyness.com/stumble-with-safari-the-easy-way/</guid>
		<description><![CDATA[I started using stumbleupon. I like it! But I also like Safari. As you might know there is no Safari bar (just for firefox and the other well spread browser). I often have the need to stumble a url, to simply state that it is my favorite. So I created a bookmarklet. I added a [...]]]></description>
			<content:encoded><![CDATA[<p>I started using <a href="http://spreadingfunk.stumbleupon.com/">stumbleupon</a>. I like it! But I also like Safari. As you might know there is no Safari bar (just for firefox and the other well spread browser). I often have the need to stumble a url, to simply state that it is my favorite. So I created a bookmarklet. I added a new bookmark in my bookmark bar, whose link is:<br/><br/><span>javascript:location.href=&#8217;http://www.stumbleupon.com/submit?url=&#8217;+encodeURIComponent(location.href) </span ><br/><br/> Any time I click the button I submit the url to my favorites. Nice uh? <br/><img src='http://spreadingfunkyness.com/wp-content/uploads/2008/03/stumblebutton.png' alt='stumblebutton.png' /></p>
]]></content:encoded>
			<wfw:commentRss>http://spreadingfunkyness.com/stumble-with-safari-the-easy-way/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
