<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Oaxoa Blog</title>
	
	<link>http://blog.oaxoa.com</link>
	<description>weblog about actionscript 3 experiments, flex, php and web development stuff</description>
	<pubDate>Mon, 16 May 2011 14:56:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/OaxoaBlog" /><feedburner:info uri="oaxoablog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>45.47024368516981</geo:lat><geo:long>9.188003540039062</geo:long><item>
		<title>Freelance collaboration needed (living near Milan preferred)</title>
		<link>http://feedproxy.google.com/~r/OaxoaBlog/~3/CqBM3vrqnro/</link>
		<comments>http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 07:37:16 +0000</pubDate>
		<dc:creator>Pierluigi Pesenti</dc:creator>
		
		<category><![CDATA[3D]]></category>

		<category><![CDATA[actionscript 3]]></category>

		<guid isPermaLink="false">http://blog.oaxoa.com/?p=222</guid>
		<description><![CDATA[Hi there, almost 10 months without posting&#8230; this blog is not dead. I am just working very much and my spare time to dedicate to actionscript experiments has lowered.
Lately I have been working with different companies. Some who doesn&#8217;t pay (I will probably post here name, url, email address everything of who didn&#8217;t pay me) [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there, almost 10 months without posting&#8230; this blog is not dead. I am just working very much and my spare time to dedicate to actionscript experiments has lowered.</p>
<p>Lately I have been working with different companies. Some who doesn&#8217;t pay (I will probably post here name, url, email address everything of who didn&#8217;t pay me) and others who pay, and pay fast.</p>
<p>Now I am working on many different projects with the one who pays fast, and we/I simply need collaboration on the actionscript/flex side.</p>
<p>What do we need is an actionscript developers, not necessarily a senior one, but neither the noob who just wrote some gotoAndPlay in the flash timeline.<br />
What we need is a developer who knows everything about AS3 itself and OOP and something about code architecture and design patterns, who can actually write a simple game (given the graphics obviously) or with little or no supervision. He must know well the Flash Builder IDE and knowing the Flex 4 framework is a BIG plus. His skills will be probably used on small self-contained projects or well defined parts and components of the main projects.</p>
<p>He must be friendly, available to constructive discussion, and respect terms and agreements.</p>
<p>We are preferably looking for an italian developer living at a resonable distance from Milan so we can meet and spend some time together to evaluate his skills. If no local candidates will be found, remote collaboration is also welcome, preferably within Europe so we can call on Skype or telephone without hours of different time zone.</p>
<p>The collaboration type will be project based and (initially) no recruitment is intended.</p>
<p>Please feel free to write me at <em>info [at] oaxoa [dot] com</em> with this subject:<br />
<strong>[FLASH developer] Name Surname</strong></p>
<p>with just a brief description of you and your skills (please don&#8217;t send 20 page resumes) and some links of work you have done are available online. Also include a phone number and a Skype account if you have one.</p>
<p>Yo.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d222').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d222" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/&amp;title=Freelance+collaboration+needed+%28living+near+Milan+preferred%29" title="Add to&nbsp;BlinkBits"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinkbits.png" title="Add to&nbsp;BlinkBits" alt="Add to&nbsp;BlinkBits" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;Name=Freelance+collaboration+needed+%28living+near+Milan+preferred%29&amp;Description=Freelance+collaboration+needed+%28living+near+Milan+preferred%29&amp;Url=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/" title="Add to&nbsp;BlinkList"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinklist.png" title="Add to&nbsp;BlinkList" alt="Add to&nbsp;BlinkList" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/&amp;title=Freelance+collaboration+needed+%28living+near+Milan+preferred%29" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://de.lirio.us/login/?action=add&amp;address=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/&amp;title=Freelance+collaboration+needed+%28living+near+Milan+preferred%29" title="Add to&nbsp;De.lirio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delirious.png" title="Add to&nbsp;De.lirio.us" alt="Add to&nbsp;De.lirio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/&amp;title=Freelance+collaboration+needed+%28living+near+Milan+preferred%29" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=Freelance+collaboration+needed+%28living+near+Milan+preferred%29&amp;url=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/&amp;version=0.7" title="Add to&nbsp;Feed Me Links"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/feedmelinks.png" title="Add to&nbsp;Feed Me Links" alt="Add to&nbsp;Feed Me Links" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Freelance+collaboration+needed+%28living+near+Milan+preferred%29&amp;u=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/" title="Add to&nbsp;FURL"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/furl.png" title="Add to&nbsp;FURL" alt="Add to&nbsp;FURL" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/&amp;title=Freelance+collaboration+needed+%28living+near+Milan+preferred%29" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.linkagogo.com/go/AddNoPopup?url=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/&amp;title=Freelance+collaboration+needed+%28living+near+Milan+preferred%29" title="Add to&nbsp;LinkaGoGo"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/linkagogo.png" title="Add to&nbsp;LinkaGoGo" alt="Add to&nbsp;LinkaGoGo" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/&amp;title=Freelance+collaboration+needed+%28living+near+Milan+preferred%29&amp;description=Freelance+collaboration+needed+%28living+near+Milan+preferred%29" title="Add to&nbsp;Ma.gnolia"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/magnolia.png" title="Add to&nbsp;Ma.gnolia" alt="Add to&nbsp;Ma.gnolia" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/&amp;title=Freelance+collaboration+needed+%28living+near+Milan+preferred%29" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/&amp;title=Freelance+collaboration+needed+%28living+near+Milan+preferred%29" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/&amp;title=Freelance+collaboration+needed+%28living+near+Milan+preferred%29" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.sphere.com/search?q=sphereit:http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/&amp;title=Freelance+collaboration+needed+%28living+near+Milan+preferred%29" title="Add to&nbsp;SphereIt"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/sphereit.png" title="Add to&nbsp;SphereIt" alt="Add to&nbsp;SphereIt" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/&amp;title=Freelance+collaboration+needed+%28living+near+Milan+preferred%29" title="Add to&nbsp;Spurl"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://taggly.com/bookmarks.php/pass?action=add&amp;address=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/" title="Add to&nbsp;Taggly"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/taggly.png" title="Add to&nbsp;Taggly" alt="Add to&nbsp;Taggly" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d222').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->

<p><a href="http://feedads.g.doubleclick.net/~a/jpbSJ6cHpzA6LtQ258hrQu5Wly4/0/da"><img src="http://feedads.g.doubleclick.net/~a/jpbSJ6cHpzA6LtQ258hrQu5Wly4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/jpbSJ6cHpzA6LtQ258hrQu5Wly4/1/da"><img src="http://feedads.g.doubleclick.net/~a/jpbSJ6cHpzA6LtQ258hrQu5Wly4/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=CqBM3vrqnro:6atDc1fII-I:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=CqBM3vrqnro:6atDc1fII-I:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?i=CqBM3vrqnro:6atDc1fII-I:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/OaxoaBlog/~4/CqBM3vrqnro" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.oaxoa.com/2010/10/07/freelance-collaboration-needed-living-near-milan-preferred/</feedburner:origLink></item>
		<item>
		<title>3D Christmas tree (aka the “Merry Christmas” post)</title>
		<link>http://feedproxy.google.com/~r/OaxoaBlog/~3/ODNNskLhMqs/</link>
		<comments>http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 09:07:22 +0000</pubDate>
		<dc:creator>Pierluigi Pesenti</dc:creator>
		
		<category><![CDATA[3D]]></category>

		<category><![CDATA[Math]]></category>

		<category><![CDATA[Particles]]></category>

		<category><![CDATA[actionscript 3]]></category>

		<guid isPermaLink="false">http://blog.oaxoa.com/?p=211</guid>
		<description><![CDATA[Hi there,
lot of time without posting some code. I have been working three months on a Disney project, which will be on-line soon and makes me very proud, but almost drained all of my energies.
Here is my Christmas card/gift for my readers, in less than 80 lines of code. Obviously with source code. The lights [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there,</p>
<p>lot of time without posting some code. I have been working three months on a Disney project, which will be on-line soon and makes me very proud, but almost drained all of my energies.</p>
<p>Here is my Christmas card/gift for my readers, in less than 80 lines of code. Obviously with source code. The lights are vector graphics in the attached FLA&#8217;s library to make it easy to customize or animate.</p>
<p>Nothing too fancy here about the code, just some trigonometric math. You can have a look at the correctOrientations function which can be interesting to avoid lights deformations due to the FP10 native 3D.<br />
<a href='http://blog.oaxoa.com/wp-content/classes/oaxoa_Xmas2009.zip'>Download source code</a>.</p>
<p><strong>I wish you all great winter holidays, and an awesome beginning of 2010!</strong><br />
And make me smile by leaving a greetings comment <img src='http://blog.oaxoa.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Watch the running example:<br />
<a href="http://blog.oaxoa.com/wp-content/examples/showExample.php?f=Xmas2009.swf&#038;w=400&#038;h=600">Click to start (mouseX affects rotation)<br /><img src="http://blog.oaxoa.com/wp-content/xmas2009.gif" alt="xmas2009" title="xmas2009" width="400" height="600" class="alignnone size-full wp-image-212" /></a></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d211').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d211" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/&amp;title=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29" title="Add to&nbsp;BlinkBits"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinkbits.png" title="Add to&nbsp;BlinkBits" alt="Add to&nbsp;BlinkBits" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;Name=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29&amp;Description=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29&amp;Url=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/" title="Add to&nbsp;BlinkList"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinklist.png" title="Add to&nbsp;BlinkList" alt="Add to&nbsp;BlinkList" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/&amp;title=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://de.lirio.us/login/?action=add&amp;address=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/&amp;title=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29" title="Add to&nbsp;De.lirio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delirious.png" title="Add to&nbsp;De.lirio.us" alt="Add to&nbsp;De.lirio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/&amp;title=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29&amp;url=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/&amp;version=0.7" title="Add to&nbsp;Feed Me Links"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/feedmelinks.png" title="Add to&nbsp;Feed Me Links" alt="Add to&nbsp;Feed Me Links" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29&amp;u=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/" title="Add to&nbsp;FURL"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/furl.png" title="Add to&nbsp;FURL" alt="Add to&nbsp;FURL" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/&amp;title=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.linkagogo.com/go/AddNoPopup?url=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/&amp;title=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29" title="Add to&nbsp;LinkaGoGo"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/linkagogo.png" title="Add to&nbsp;LinkaGoGo" alt="Add to&nbsp;LinkaGoGo" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/&amp;title=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29&amp;description=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29" title="Add to&nbsp;Ma.gnolia"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/magnolia.png" title="Add to&nbsp;Ma.gnolia" alt="Add to&nbsp;Ma.gnolia" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/&amp;title=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/&amp;title=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/&amp;title=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.sphere.com/search?q=sphereit:http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/&amp;title=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29" title="Add to&nbsp;SphereIt"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/sphereit.png" title="Add to&nbsp;SphereIt" alt="Add to&nbsp;SphereIt" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/&amp;title=3D+Christmas+tree+%28aka+the+%26%238220%3BMerry+Christmas%26%238221%3B+post%29" title="Add to&nbsp;Spurl"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://taggly.com/bookmarks.php/pass?action=add&amp;address=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/" title="Add to&nbsp;Taggly"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/taggly.png" title="Add to&nbsp;Taggly" alt="Add to&nbsp;Taggly" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d211').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->

<p><a href="http://feedads.g.doubleclick.net/~a/32VsTzIy0eix-GBeXrieVWL78NI/0/da"><img src="http://feedads.g.doubleclick.net/~a/32VsTzIy0eix-GBeXrieVWL78NI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/32VsTzIy0eix-GBeXrieVWL78NI/1/da"><img src="http://feedads.g.doubleclick.net/~a/32VsTzIy0eix-GBeXrieVWL78NI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=ODNNskLhMqs:-i0FWraOW1g:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=ODNNskLhMqs:-i0FWraOW1g:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?i=ODNNskLhMqs:-i0FWraOW1g:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/OaxoaBlog/~4/ODNNskLhMqs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.oaxoa.com/2009/12/24/3d-christmas-tree-aka-the-merry-christmas-post/</feedburner:origLink></item>
		<item>
		<title>Google Translate database is… Windows Font Viewer</title>
		<link>http://feedproxy.google.com/~r/OaxoaBlog/~3/nbZ8f0mReQ4/</link>
		<comments>http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 01:10:29 +0000</pubDate>
		<dc:creator>Pierluigi Pesenti</dc:creator>
		
		<category><![CDATA[bugs]]></category>

		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://blog.oaxoa.com/?p=198</guid>
		<description><![CDATA[Google Translate goes realtime&#8230; Ooooooh! -_-
Just a quick (non-technical) post, but I cannot resist&#8230; Ok, Google translate introduces a realtime translation feature as highlighted as every new Google feature by billions of blogs (I saw it here: http://mashable.com/2009/11/16/google-translate-update/), but where is the GTranslate database taken from? 
Does Anyone know? I do&#8230;
The Google Translate source database [...]]]></description>
			<content:encoded><![CDATA[<p>Google Translate goes realtime&#8230; Ooooooh! -_-</p>
<p>Just a quick (non-technical) post, but I cannot resist&#8230; Ok, Google translate introduces a realtime translation feature as highlighted as every new Google feature by billions of blogs (I saw it here: <a href='http://mashable.com/2009/11/16/google-translate-update/'>http://mashable.com/2009/11/16/google-translate-update/</a>), but where is the GTranslate database taken from? </p>
<p>Does Anyone know? I do&#8230;<br />
The Google Translate source database is&#8230; Windows Font Viewer!</p>
<p>Any other way to explain how is it possible that writing:<br />
&#8220;a quick brown fox&#8221; </p>
<p>is translated in </p>
<p>&#8220;<em>uno Cantami o Diva</em>&#8221; (literally: &#8220;one Sing, O goddess&#8221;)</p>
<p>(<a href='http://translate.google.com/#en|it|a%20quick%20brown%20fox'>Try it yourself</a>)</p>
<p>For those not into Greek epic poems translated in Italian, this is the beginning of the <a href='http://en.wikipedia.org/wiki/Iliad'>Homer&#8217;s Iliad</a> which in my language reads:</p>
<blockquote><p>
<em>Cantami, o Diva, del Pelìde Achille<br />
l&#8217;ira funesta che infiniti addusse<br />
lutti agli Achei, molte anzi tempo all&#8217;Orco<br />
generose travolse alme d&#8217;eroi,<br />
e di cani e d&#8217;augelli orrido pasto<br />
lor salme abbandonò (così di Giove<br />
l&#8217;alto consiglio s&#8217;adempìa), da quando<br />
primamente disgiunse aspra contesa<br />
il re de&#8217; prodi Atride e il divo Achille.<br />
E qual de&#8217; numi inimicolli?</em>
</p></blockquote>
<p>So how is it possible that a brown fox becomes a singing Goddess? I couldn&#8217;t remember but then I realized that the beginning of that poem is used by the Italian version of Windows in the font viewer to preview fonts!</p>
<p><img src="http://blog.oaxoa.com/wp-content/fontviewer.gif" alt="" title="" width="500" height="216" /></p>
<p>So &#8220;A quick brown fox jumped over a lazy dog&#8221; (which is used in the English version since it contains every letter of the alphabet &#8211;a <a href='http://en.wikipedia.org/wiki/Pangram'>pangram</a>) according to GTranslate in Italian should be translated with the beginning of a classical piece of literature&#8230; just because it&#8217;s another common pangram (almost)).</p>
<p>Obviously the magic doesn&#8217;t end here: just change &#8220;a quick brown fox&#8221; in &#8220;A quick brown fox&#8221; (with capital A) and the result is &#8220;Una volpe veloce&#8221; (correct)&#8230;</p>
<p>or remove the article: &#8220;quick brown fox&#8221; and the result is &#8220;quick brown fox&#8221; (not translated at all)! </p>
<p>I can understand translating from english to japanese (which are structurally completely different languages) back and forth can produce funny idiosyncrasies as seen on <a href='http://translationparty.com/'>Translation Party</a> but Italian is more similar and &#8220;quick&#8221;, &#8220;brown&#8221; and &#8220;fox&#8221; are common words learned at the first grade during the English lessons.</p>
<p>So I never wrote a dictionary db or algorithm and I am not so sure I could do better, but Google surely can, and <abbr title='a decent translation system'>first things</abbr> should come first.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d198').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d198" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/&amp;title=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer" title="Add to&nbsp;BlinkBits"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinkbits.png" title="Add to&nbsp;BlinkBits" alt="Add to&nbsp;BlinkBits" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;Name=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer&amp;Description=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer&amp;Url=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/" title="Add to&nbsp;BlinkList"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinklist.png" title="Add to&nbsp;BlinkList" alt="Add to&nbsp;BlinkList" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/&amp;title=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://de.lirio.us/login/?action=add&amp;address=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/&amp;title=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer" title="Add to&nbsp;De.lirio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delirious.png" title="Add to&nbsp;De.lirio.us" alt="Add to&nbsp;De.lirio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/&amp;title=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer&amp;url=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/&amp;version=0.7" title="Add to&nbsp;Feed Me Links"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/feedmelinks.png" title="Add to&nbsp;Feed Me Links" alt="Add to&nbsp;Feed Me Links" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer&amp;u=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/" title="Add to&nbsp;FURL"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/furl.png" title="Add to&nbsp;FURL" alt="Add to&nbsp;FURL" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/&amp;title=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.linkagogo.com/go/AddNoPopup?url=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/&amp;title=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer" title="Add to&nbsp;LinkaGoGo"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/linkagogo.png" title="Add to&nbsp;LinkaGoGo" alt="Add to&nbsp;LinkaGoGo" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/&amp;title=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer&amp;description=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer" title="Add to&nbsp;Ma.gnolia"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/magnolia.png" title="Add to&nbsp;Ma.gnolia" alt="Add to&nbsp;Ma.gnolia" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/&amp;title=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/&amp;title=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/&amp;title=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.sphere.com/search?q=sphereit:http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/&amp;title=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer" title="Add to&nbsp;SphereIt"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/sphereit.png" title="Add to&nbsp;SphereIt" alt="Add to&nbsp;SphereIt" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/&amp;title=Google+Translate+database+is%26%238230%3B+Windows+Font+Viewer" title="Add to&nbsp;Spurl"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://taggly.com/bookmarks.php/pass?action=add&amp;address=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/" title="Add to&nbsp;Taggly"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/taggly.png" title="Add to&nbsp;Taggly" alt="Add to&nbsp;Taggly" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d198').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->

<p><a href="http://feedads.g.doubleclick.net/~a/Bq1ja_N-pHQHHajeF0sAf2i0ORk/0/da"><img src="http://feedads.g.doubleclick.net/~a/Bq1ja_N-pHQHHajeF0sAf2i0ORk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Bq1ja_N-pHQHHajeF0sAf2i0ORk/1/da"><img src="http://feedads.g.doubleclick.net/~a/Bq1ja_N-pHQHHajeF0sAf2i0ORk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=nbZ8f0mReQ4:jpxg7sayjxg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=nbZ8f0mReQ4:jpxg7sayjxg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?i=nbZ8f0mReQ4:jpxg7sayjxg:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/OaxoaBlog/~4/nbZ8f0mReQ4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.oaxoa.com/2009/11/17/google-translate-database-is-windows-font-viewer/</feedburner:origLink></item>
		<item>
		<title>NihongoUp by divita - Learn japanese the fun way</title>
		<link>http://feedproxy.google.com/~r/OaxoaBlog/~3/zI9NoymNERE/</link>
		<comments>http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 14:05:24 +0000</pubDate>
		<dc:creator>Pierluigi Pesenti</dc:creator>
		
		<category><![CDATA[fun]]></category>

		<category><![CDATA[game]]></category>

		<category><![CDATA[general]]></category>

		<category><![CDATA[japanese]]></category>

		<guid isPermaLink="false">http://blog.oaxoa.com/?p=186</guid>
		<description><![CDATA[This is the first time I publish a review, but since I am learning japanese and this game is so much fun and so much useful I think it deserves visibility.
NihongoUp is a japanese learning game developed in Adobe AIR by Philip Seyfi.
It is structured in four main categories:

Kana (Hiragana, Katakana, All kana)
Kanji (JLPT  [...]]]></description>
			<content:encoded><![CDATA[<p>This is the first time I publish a review, but since I am learning japanese and this game is so much fun and so much useful I think it deserves visibility.</p>
<p><a href='http://nihongoup.com/'>NihongoUp</a> is a japanese learning game developed in Adobe AIR by <a href='http://www.divita.eu'>Philip Seyfi</a>.<br />
It is structured in four main categories:</p>
<ul>
<li>Kana (Hiragana, Katakana, All kana)</li>
<li>Kanji (JLPT  3, JLPT 2)</li>
<li>Vocabulary (JLPT 4, JLPT 3, JLPT 2, JLPT 1)</li>
<li>Grammar (particles, counters)</li>
</ul>
<p><img src="http://blog.oaxoa.com/wp-content/nihongoup1.jpg" width="500" height="375" alt="nihongoup" /></p>
<p>There are mainly two kinds of games, a typing one, used in the &#8220;Kana&#8221; section where lots of balloon comes down the screen with a japanese symbol attached. You have to type the translitterated kana before the balloon disappears to gain score points and raise the level number. It&#8217;s simply funny and perfect for someone at the beginning of the studying process.</p>
<p><img src="http://blog.oaxoa.com/wp-content/nihongoup3.jpg" width="500" height="370" alt="nihongoup" /></p>
<p>The other kind of game reuses the concept of the falling balloons but you simply have to choose between four possible answers to the question located at the bottom of the screen. This game concept is used in the other sections, where you can train your Kanji knowledge, grammar skills or the richness of your japanese vocabulary.</p>
<p><img src="http://blog.oaxoa.com/wp-content/nihongoup2.jpg" width="500" height="376" alt="nihongoup" /></p>
<p>What else to say? It is well coded and the database is huge with <del datetime="2009-10-20T06:52:47+00:00">8000</del> <ins datetime="2009-10-20T06:52:47+00:00">10000</ins> (!) records filled all the <a href='http://en.wikipedia.org/wiki/JLPT'>JLPT</a> Kanjis and training sentences, so this game could really help the willing student to become a japanese language master, with fun.</p>
<p>So if you are studying japanese and you are a flash developer (likely as you are reading this&#8230;), support this valuable work. A license serial number costs only $4.99 and before buying you can trying a free trial to test it out.</p>
<p><a href='http://nihongoup.com/'>http://nihongoup.com/</a></p>
<p>I&#8217;ll soon be back posting lots of new actionscript stuff. Have a nice sushi day <img src='http://blog.oaxoa.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d186').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d186" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/&amp;title=NihongoUp+by+divita+-+Learn+japanese+the+fun+way" title="Add to&nbsp;BlinkBits"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinkbits.png" title="Add to&nbsp;BlinkBits" alt="Add to&nbsp;BlinkBits" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;Name=NihongoUp+by+divita+-+Learn+japanese+the+fun+way&amp;Description=NihongoUp+by+divita+-+Learn+japanese+the+fun+way&amp;Url=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/" title="Add to&nbsp;BlinkList"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinklist.png" title="Add to&nbsp;BlinkList" alt="Add to&nbsp;BlinkList" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/&amp;title=NihongoUp+by+divita+-+Learn+japanese+the+fun+way" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://de.lirio.us/login/?action=add&amp;address=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/&amp;title=NihongoUp+by+divita+-+Learn+japanese+the+fun+way" title="Add to&nbsp;De.lirio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delirious.png" title="Add to&nbsp;De.lirio.us" alt="Add to&nbsp;De.lirio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/&amp;title=NihongoUp+by+divita+-+Learn+japanese+the+fun+way" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=NihongoUp+by+divita+-+Learn+japanese+the+fun+way&amp;url=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/&amp;version=0.7" title="Add to&nbsp;Feed Me Links"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/feedmelinks.png" title="Add to&nbsp;Feed Me Links" alt="Add to&nbsp;Feed Me Links" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=NihongoUp+by+divita+-+Learn+japanese+the+fun+way&amp;u=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/" title="Add to&nbsp;FURL"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/furl.png" title="Add to&nbsp;FURL" alt="Add to&nbsp;FURL" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/&amp;title=NihongoUp+by+divita+-+Learn+japanese+the+fun+way" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.linkagogo.com/go/AddNoPopup?url=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/&amp;title=NihongoUp+by+divita+-+Learn+japanese+the+fun+way" title="Add to&nbsp;LinkaGoGo"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/linkagogo.png" title="Add to&nbsp;LinkaGoGo" alt="Add to&nbsp;LinkaGoGo" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/&amp;title=NihongoUp+by+divita+-+Learn+japanese+the+fun+way&amp;description=NihongoUp+by+divita+-+Learn+japanese+the+fun+way" title="Add to&nbsp;Ma.gnolia"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/magnolia.png" title="Add to&nbsp;Ma.gnolia" alt="Add to&nbsp;Ma.gnolia" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/&amp;title=NihongoUp+by+divita+-+Learn+japanese+the+fun+way" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/&amp;title=NihongoUp+by+divita+-+Learn+japanese+the+fun+way" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/&amp;title=NihongoUp+by+divita+-+Learn+japanese+the+fun+way" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.sphere.com/search?q=sphereit:http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/&amp;title=NihongoUp+by+divita+-+Learn+japanese+the+fun+way" title="Add to&nbsp;SphereIt"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/sphereit.png" title="Add to&nbsp;SphereIt" alt="Add to&nbsp;SphereIt" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/&amp;title=NihongoUp+by+divita+-+Learn+japanese+the+fun+way" title="Add to&nbsp;Spurl"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://taggly.com/bookmarks.php/pass?action=add&amp;address=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/" title="Add to&nbsp;Taggly"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/taggly.png" title="Add to&nbsp;Taggly" alt="Add to&nbsp;Taggly" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d186').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->

<p><a href="http://feedads.g.doubleclick.net/~a/6vfXg5I2n3bEQaIqAcOdsl3N95g/0/da"><img src="http://feedads.g.doubleclick.net/~a/6vfXg5I2n3bEQaIqAcOdsl3N95g/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/6vfXg5I2n3bEQaIqAcOdsl3N95g/1/da"><img src="http://feedads.g.doubleclick.net/~a/6vfXg5I2n3bEQaIqAcOdsl3N95g/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=zI9NoymNERE:4eXj9oRxszk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=zI9NoymNERE:4eXj9oRxszk:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?i=zI9NoymNERE:4eXj9oRxszk:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/OaxoaBlog/~4/zI9NoymNERE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.oaxoa.com/2009/10/18/nihongoup-by-divita-learn-japanese-the-fun-way/</feedburner:origLink></item>
		<item>
		<title>Actionscript 3 - as3 | Rorschach mask (realtime animated inkblots)</title>
		<link>http://feedproxy.google.com/~r/OaxoaBlog/~3/tSlZYtzDMDE/</link>
		<comments>http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 07:19:13 +0000</pubDate>
		<dc:creator>Pierluigi Pesenti</dc:creator>
		
		<category><![CDATA[BitmapData]]></category>

		<category><![CDATA[actionscript 3]]></category>

		<category><![CDATA[classes]]></category>

		<category><![CDATA[fluids]]></category>

		<category><![CDATA[fun]]></category>

		<category><![CDATA[morphing]]></category>

		<category><![CDATA[perlinNoise]]></category>

		<category><![CDATA[simulation]]></category>

		<category><![CDATA[threshold]]></category>

		<guid isPermaLink="false">http://blog.oaxoa.com/?p=165</guid>
		<description><![CDATA[Everybody knows about Rorschach inkblot tests, and they always charmed me&#8230; It&#8217;s like looking clouds and recognizing different shapes.
However I must admit the real turn on came after watching Watchmen the movie. Seeing those animated inkblots on the face of the character symbolically named Rorschach is something really fascinating. So here we are, after about [...]]]></description>
			<content:encoded><![CDATA[<p>Everybody knows about Rorschach inkblot tests, and they always charmed me&#8230; It&#8217;s like looking clouds and recognizing different shapes.</p>
<p>However I must admit the real turn on came after watching <a href='http://www.imdb.com/title/tt0409459/'>Watchmen</a> the movie. Seeing those animated inkblots on the face of the character symbolically named Rorschach is something really fascinating. So here we are, after about an hour of coding fun this is what I came up with.</p>
<p><a href="http://blog.oaxoa.com/wp-content/examples/showExample.php?f=rorschach_test1.swf&#038;w=400&#038;h=400"><img src="http://blog.oaxoa.com/wp-content/rorschach1.gif" width="300" height="300" alt="" /><br />Click to start</a></p>
<p>Here after adding a cool persistence of the ink (call it motion blur if you like), and the face oval:</p>
<p><a href="http://blog.oaxoa.com/wp-content/examples/showExample.php?f=rorschach_test2.swf&#038;w=300&#038;h=400"><img src="http://blog.oaxoa.com/wp-content/rorschach_test2.jpg" width="300" height="400" alt="" /><br />Click to start</a></p>
<p>How it&#8217;s made is quite simple:</p>
<p>- perlinNoise a bitmapData<br />
- draw a circular gradient mask (I used a beginGradientFill on a Shape/Sprite)<br />
- BitmapData.draw() the mask onto the perlinNoise bitmapData<br />
- threshold<br />
- (optional) a little blur to simulate antialias</p>
<p>Since a picture is worth a thousand words:</p>
<p><a href="http://blog.oaxoa.com/wp-content/examples/showExample.php?f=rorschach_steps.swf&#038;w=600&#038;h=340"><img src="http://blog.oaxoa.com/wp-content/rorschach_steps.jpg" width="500" height="283" alt="" /><br />Click to see it moving</a></p>
<p>I&#8217;ve built a class to do this easily. Six parameters are optional to instance it:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> Rorschach<span style="color: #66cc66;">&#40;</span>w:uint=<span style="color: #cc66cc;">400</span>, h:uint=<span style="color: #cc66cc;">400</span>, mirror:<span style="color: #0066CC;">Boolean</span>=<span style="color: #000000; font-weight: bold;">true</span>, seed:uint=<span style="color: #cc66cc;">0</span>, ovalClass:<span style="color: #000000; font-weight: bold;">Class</span>=<span style="color: #000000; font-weight: bold;">null</span>, ovalScale:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;">1</span>, ovalYOffset:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span></pre></div></div>

<p>ovalClass is the (optional) reference to the class containing the face background.</p>
<p>So the usage is very simple, here an example:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">oaxoa</span>.<span style="color: #006600;">fx</span>.<span style="color: #006600;">Rorschach</span>;
addChild<span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> Rorschach<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">300</span>,<span style="color: #cc66cc;">300</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">//addChild(new Rorschach(300,300,true,0,blankMaskImage, 1.2, -20));</span></pre></div></div>

<p><a href='http://blog.oaxoa.com/wp-content/classes/Rorschach.zip'>Download Rorschach class</a> for your experimentation pleasure.</p>
<p>All nice, but the aim of this simple experiment is seeing Rorschach animated face in action so here we go&#8230; we will be using this class in a practical example.</p>
<p>To simulate 3D volume and perspective we need flash CS4 (or any 3D engine):<br />
we create a MovieClip which has the Rorschach class instanced and a rectangular solid background for composition reference in it. Then we set layer visibility to wireframe and add another instance to the stage, which is flipped horizontally.<br />
Just position the two instances using 3D rotations and we are ready.</p>
<p><img src="http://blog.oaxoa.com/wp-content/rorschach2_wf.jpg" width="350" height="297" alt="" /></p>
<p>Just build et voilà!</p>
<p><a href="http://blog.oaxoa.com/wp-content/examples/showExample.php?f=rorschach2.swf&#038;w=731&#038;h=548"><img src="http://blog.oaxoa.com/wp-content/rorschach2.jpg" width="500" height="375" alt="" /><br />Click to start</a></p>
<blockquote><p>Rorschach&#8217;s Journal. October 12th, 1985. Dog Carcass in alley this morning, tire tread on burst stomach. This city is afraid of me. I have seen its true face. The streets are extended gutters and the gutters are full of blood and when the drains finally scab over, all the vermin will drown. The accumulated filth of all their sex and murder will foam up about their waists and all the whores and politicians will look up and shout &#8216;Save us!&#8217; And I&#8217;ll look down, and whisper &#8216;no.&#8217;</p></blockquote>
<p>The last (and D-E-F-I-N-I-T-I-V-E! <img src='http://blog.oaxoa.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> ) usage for this is apply it to a realtime webcam face detection algorithm. I used this originally created by <a href='http://maaash.jp/as3/as3marilena-object-detection-in-as3/'>Ohtsuka Masakazu</a> and optimized by <a href='http://www.quasimondo.com/archives/000687.php'>Mario Klingemann</a>. The result is totally weird (don&#8217;t expect photoreal hollywood effect LOL) but it&#8217;s funny, even if the face detection algorithm is not perfectly smooth.</p>
<p>Have fun being the definitive comics anti-hero:</p>
<p><a href="http://blog.oaxoa.com/wp-content/examples/showExample.php?f=FaceDetector_Camera.swf&#038;w=320&#038;h=240"><img src="http://blog.oaxoa.com/wp-content/rorschach_facedetection.jpg" width="320" height="239" alt="" /><br />Click to start</a></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d165').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d165" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/&amp;title=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29" title="Add to&nbsp;BlinkBits"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinkbits.png" title="Add to&nbsp;BlinkBits" alt="Add to&nbsp;BlinkBits" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;Name=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29&amp;Description=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29&amp;Url=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/" title="Add to&nbsp;BlinkList"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinklist.png" title="Add to&nbsp;BlinkList" alt="Add to&nbsp;BlinkList" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/&amp;title=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://de.lirio.us/login/?action=add&amp;address=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/&amp;title=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29" title="Add to&nbsp;De.lirio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delirious.png" title="Add to&nbsp;De.lirio.us" alt="Add to&nbsp;De.lirio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/&amp;title=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29&amp;url=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/&amp;version=0.7" title="Add to&nbsp;Feed Me Links"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/feedmelinks.png" title="Add to&nbsp;Feed Me Links" alt="Add to&nbsp;Feed Me Links" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29&amp;u=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/" title="Add to&nbsp;FURL"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/furl.png" title="Add to&nbsp;FURL" alt="Add to&nbsp;FURL" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/&amp;title=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.linkagogo.com/go/AddNoPopup?url=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/&amp;title=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29" title="Add to&nbsp;LinkaGoGo"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/linkagogo.png" title="Add to&nbsp;LinkaGoGo" alt="Add to&nbsp;LinkaGoGo" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/&amp;title=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29&amp;description=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29" title="Add to&nbsp;Ma.gnolia"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/magnolia.png" title="Add to&nbsp;Ma.gnolia" alt="Add to&nbsp;Ma.gnolia" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/&amp;title=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/&amp;title=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/&amp;title=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.sphere.com/search?q=sphereit:http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/&amp;title=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29" title="Add to&nbsp;SphereIt"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/sphereit.png" title="Add to&nbsp;SphereIt" alt="Add to&nbsp;SphereIt" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/&amp;title=Actionscript+3+-+as3+%7C+Rorschach+mask+%28realtime+animated+inkblots%29" title="Add to&nbsp;Spurl"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://taggly.com/bookmarks.php/pass?action=add&amp;address=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/" title="Add to&nbsp;Taggly"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/taggly.png" title="Add to&nbsp;Taggly" alt="Add to&nbsp;Taggly" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d165').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->

<p><a href="http://feedads.g.doubleclick.net/~a/BDRlKApDPRYoC157NliyneV4VXs/0/da"><img src="http://feedads.g.doubleclick.net/~a/BDRlKApDPRYoC157NliyneV4VXs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/BDRlKApDPRYoC157NliyneV4VXs/1/da"><img src="http://feedads.g.doubleclick.net/~a/BDRlKApDPRYoC157NliyneV4VXs/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=tSlZYtzDMDE:XOptIreg4AM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=tSlZYtzDMDE:XOptIreg4AM:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?i=tSlZYtzDMDE:XOptIreg4AM:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/OaxoaBlog/~4/tSlZYtzDMDE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.oaxoa.com/2009/09/11/actionscript-3-as3-rorschach-mask-realtime-animated-inkblots/</feedburner:origLink></item>
		<item>
		<title>30 years since… - Happy birthday to me :)</title>
		<link>http://feedproxy.google.com/~r/OaxoaBlog/~3/qpgaXzLOOso/</link>
		<comments>http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 07:08:39 +0000</pubDate>
		<dc:creator>Pierluigi Pesenti</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[fun]]></category>

		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://blog.oaxoa.com/?p=154</guid>
		<description><![CDATA[Well, now it&#8217;s official&#8230; I am 30 years old  .
Nothing strange, it&#8217;s a number&#8230; but quite significative.
For the event I set up a donation form if you want to buy me a glass of wine.
If you don&#8217;t&#8230; hey no worries, I&#8217;ll still like you the same  .
With the eventual donations I&#8217;ll buy me [...]]]></description>
			<content:encoded><![CDATA[<p>Well, now it&#8217;s official&#8230; I am 30 years old <img src='http://blog.oaxoa.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Nothing strange, it&#8217;s a number&#8230; but quite significative.<br />
For the event I set up a donation form if you want to buy me a glass of wine.<br />
If you don&#8217;t&#8230; hey no worries, I&#8217;ll still like you the same <img src='http://blog.oaxoa.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p>With the eventual donations I&#8217;ll buy me a present and then post it here so if you will see a Ferrari pictures here tomorrow it will mean you have being doing great!</p>
<h2>Donations so far: $15 USD</h2>
<form id="donateplusform" action="http://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" id="cmd" name="cmd" value="_donations">
			<p class="donate_amount"><label for="amount">Donation Amount:</label><br /><input type="text" name="amount" id="amount" value="5" /> <small>(Currency: USD)</small></p>
			<p class="recognition_wall"><label><input type="checkbox" id="recognize" name="recognize" value="1" /> Put my Donation on the Recognition Wall</label></p>
			<div id="wallinfo">
			<p class="show_onwall" id="wallops"><label for="show_onwall">Show on Wall:</label><br /><select name="item_number">
				<option value="0:">Do not show any information</option>
				<option value="1:">Donation Amount, User Details &amp; Comments</option>
				<option value="2:">User Details &amp; Comments Only</option>
			</select></p>
			<p class="donor_name"><label for="donor_name">Name:</label><br /><input type="text" name="on0" id="donor_name" /></p>
			<p class="donor_email"><label for="donor_email">Email:</label><br /><input type="text" name="os0" id="donor_email" /></p>
			<p class="donor_url"><label for="donor_url">Website:</label><br /><input type="text" name="on1" id="donor_url" /></p>
			<p  class="donor_comment"><label for="donor_comment">Comments:</label><br /><textarea name="os1" id="donor_comment" rows="4" cols="45" style="width:90%"></textarea><br /><span id="charinfo">Write your comment within 199 characters.</span> </p></div>
<input type="hidden" name="notify_url" value="http://blog.oaxoa.com/wp-content/plugins/donate-plus/paypal.php">
<input type="hidden" name="item_name" value="Donation to Oaxoa Blog">
<input type="hidden" name="business" value="pantaa@tiscalinet.it">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="rm" value="1">
<input type="hidden" name="return" value="http://blog.oaxoa.com?thankyou=true">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted">
<p class="submit"><input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></p>
</form>
<div id="donorwall"><h2>A special thank to:</h2><div class="donorbox"><p><cite><strong><a href="http://www.google.com" rel="external" class="name url">andrea sallese</a></strong> </cite> Says: <br /><small class="date time"><a href="#donor-1">Aug 3, 2009 at 9:59 am</a></small><blockquote class="comment">best flash expertise eva.</blockquote></div></div>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d154').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d154" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/&amp;title=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29" title="Add to&nbsp;BlinkBits"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinkbits.png" title="Add to&nbsp;BlinkBits" alt="Add to&nbsp;BlinkBits" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;Name=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29&amp;Description=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29&amp;Url=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/" title="Add to&nbsp;BlinkList"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinklist.png" title="Add to&nbsp;BlinkList" alt="Add to&nbsp;BlinkList" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/&amp;title=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://de.lirio.us/login/?action=add&amp;address=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/&amp;title=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29" title="Add to&nbsp;De.lirio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delirious.png" title="Add to&nbsp;De.lirio.us" alt="Add to&nbsp;De.lirio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/&amp;title=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29&amp;url=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/&amp;version=0.7" title="Add to&nbsp;Feed Me Links"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/feedmelinks.png" title="Add to&nbsp;Feed Me Links" alt="Add to&nbsp;Feed Me Links" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29&amp;u=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/" title="Add to&nbsp;FURL"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/furl.png" title="Add to&nbsp;FURL" alt="Add to&nbsp;FURL" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/&amp;title=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.linkagogo.com/go/AddNoPopup?url=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/&amp;title=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29" title="Add to&nbsp;LinkaGoGo"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/linkagogo.png" title="Add to&nbsp;LinkaGoGo" alt="Add to&nbsp;LinkaGoGo" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/&amp;title=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29&amp;description=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29" title="Add to&nbsp;Ma.gnolia"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/magnolia.png" title="Add to&nbsp;Ma.gnolia" alt="Add to&nbsp;Ma.gnolia" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/&amp;title=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/&amp;title=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/&amp;title=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.sphere.com/search?q=sphereit:http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/&amp;title=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29" title="Add to&nbsp;SphereIt"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/sphereit.png" title="Add to&nbsp;SphereIt" alt="Add to&nbsp;SphereIt" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/&amp;title=30+years+since%26%238230%3B+-+Happy+birthday+to+me+%3A%29" title="Add to&nbsp;Spurl"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://taggly.com/bookmarks.php/pass?action=add&amp;address=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/" title="Add to&nbsp;Taggly"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/taggly.png" title="Add to&nbsp;Taggly" alt="Add to&nbsp;Taggly" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d154').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->

<p><a href="http://feedads.g.doubleclick.net/~a/0sHsgo6OSYGjFq3EedPhGmzgtl4/0/da"><img src="http://feedads.g.doubleclick.net/~a/0sHsgo6OSYGjFq3EedPhGmzgtl4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/0sHsgo6OSYGjFq3EedPhGmzgtl4/1/da"><img src="http://feedads.g.doubleclick.net/~a/0sHsgo6OSYGjFq3EedPhGmzgtl4/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=qpgaXzLOOso:4I_4XFx4sxo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=qpgaXzLOOso:4I_4XFx4sxo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?i=qpgaXzLOOso:4I_4XFx4sxo:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/OaxoaBlog/~4/qpgaXzLOOso" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.oaxoa.com/2009/08/03/30-years-since-happy-birthday-to-me/</feedburner:origLink></item>
		<item>
		<title>Actionscript 3 - as3 Lightning / Thunderbolt / Electric discharge Class</title>
		<link>http://feedproxy.google.com/~r/OaxoaBlog/~3/t9YDnxo_HWU/</link>
		<comments>http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 21:34:28 +0000</pubDate>
		<dc:creator>Pierluigi Pesenti</dc:creator>
		
		<category><![CDATA[BitmapData]]></category>

		<category><![CDATA[Math]]></category>

		<category><![CDATA[actionscript 3]]></category>

		<category><![CDATA[algorithms]]></category>

		<category><![CDATA[classes]]></category>

		<category><![CDATA[fun]]></category>

		<category><![CDATA[morphing]]></category>

		<category><![CDATA[perlinNoise]]></category>

		<category><![CDATA[simulation]]></category>

		<guid isPermaLink="false">http://blog.oaxoa.com/?p=131</guid>
		<description><![CDATA[Finally here we come!
Yup, sry for the delay, I&#8217;ve had a lot of work recently.
I have prepared three demos and a publishable (but far from perfect and not yet documented) class. The demos are FLA based&#8230; you can find the timeline code to assemble the demos at the bottom of the post. I&#8217;ll publish some [...]]]></description>
			<content:encoded><![CDATA[<p>Finally here we come!</p>
<p>Yup, sry for the delay, I&#8217;ve had a lot of work recently.</p>
<p>I have prepared three demos and a publishable (but far from perfect and not yet documented) class. The demos are FLA based&#8230; you can find the timeline code to assemble the demos at the bottom of the post. I&#8217;ll publish some documentation in the next days, so until then just look at the demos&#8217; code to unserstand the basic of the class usage.</p>
<p>Download <a href="http://blog.oaxoa.com/wp-content/classes/Lightning.zip">Lightning classes</a></p>
<p><strong>Demo N°1:</strong><br />
This demo shows the two different behaviours the class can mimic: Electric discharge/beam or lightning. Drag the ball near or far to the coil to see different behaviors.</p>
<p><a href="http://blog.oaxoa.com/wp-content/examples/showExample.php?f=lightning_test_coil.swf&#038;w=727&#038;h=566"><img src="http://blog.oaxoa.com/wp-content/lightning_test_coil.jpg" width="500" height="352" alt="" /><br />Click to start</a></p>
<p><strong>Demo N°2:</strong><br />
This demos show the maxLength and maxLengthVary properties in action.<br />
Bring the fingers near to the plug to have continuos electricity. Bringing the hand far from the plug lowers the discharge probability. Reaching the max distance simply disables it.</p>
<p><a href="http://blog.oaxoa.com/wp-content/examples/showExample.php?f=lightning_test_plug.swf&#038;w=413&#038;h=564"><img src="http://blog.oaxoa.com/wp-content/lightning_test_plug.jpg" width="300" height="418" alt="" /><br />Click to start</a></p>
<p><strong>Demo N°3:</strong><br />
This demo is a good reason for the publishing delay <img src='http://blog.oaxoa.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>A nice sandbox to play with (some of) the properties.<br />
The class is recursive to create children so many properties have also a decay twin property which rule how the property is passed to children.<br />
As instance if you set a childrenMaxCount = 6 to the main Lightning instance it will have a maximum of 6 direct children. Its children will have a childrenMaxCount value which depends on the main instance childrenMaxCount and childrenMaxCountDecay.<br />
So if you set childrenMaxCount = 6 and childrenMaxCountDecay = .5 the children of the main instance will have childrenMaxCount = 3.<br />
If you set childrenMaxCount = 6 and childrenMaxCountDecay = 0 the children of the main instance will have childrenMaxCount = 6 (no decay).</p>
<p>This value can be very useful to optimize the speed of execution cause smaller branches don&#8217;t need many children or many steps of detail.</p>
<p><a href="http://blog.oaxoa.com/wp-content/examples/showExample.php?f=lightning_test5.swf&#038;w=730&#038;h=680"><img src="http://blog.oaxoa.com/wp-content/lightning_test5.jpg" width="500" height="465" alt="" /><br />Click to start</a></p>
<p>Ok, I&#8217;m too tired to write more. I&#8217;ll publish some documentation in the next days.<br />
Feel free to ask everything question you can have in the comments, and as usual if you like this stuff scream it in the comments!</p>
<p>Demos&#8217; code after the break. Waiting for your comments I will surf through the website of <a href="http://www.webhostingsearch.com/review/fatcow.php" title="fatcow">fatcow</a> and see if they have any good hosting plans.<br />
<span id="more-131"></span><br />
Demos code is just timeline code to instance and pilot the lightning class&#8230; and very untidy! Please don&#8217;t blame it <img src='http://blog.oaxoa.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>Demo N°1:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">oaxoa</span>.<span style="color: #006600;">fx</span>.<span style="color: #006600;">Lightning</span>;
<span style="color: #0066CC;">import</span> com.<span style="color: #006600;">oaxoa</span>.<span style="color: #006600;">fx</span>.<span style="color: #006600;">LightningFadeType</span>;
&nbsp;
const cx:uint=<span style="color: #cc66cc;">360</span>;
const cy:uint=<span style="color: #cc66cc;">320</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">color</span>:uint=0xffffff;
<span style="color: #000000; font-weight: bold;">var</span> ll:Lightning=<span style="color: #000000; font-weight: bold;">new</span> Lightning<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">color</span>, <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
ll.<span style="color: #006600;">blendMode</span>=BlendMode.<span style="color: #0066CC;">ADD</span>;
ll.<span style="color: #006600;">childrenDetachedEnd</span>=<span style="color: #000000; font-weight: bold;">true</span>;
ll.<span style="color: #006600;">childrenLifeSpanMin</span>=.<span style="color: #cc66cc;">1</span>;
ll.<span style="color: #006600;">childrenLifeSpanMax</span>=<span style="color: #cc66cc;">2</span>;
ll.<span style="color: #006600;">childrenMaxCount</span>=<span style="color: #cc66cc;">4</span>;
ll.<span style="color: #006600;">childrenMaxCountDecay</span>=.<span style="color: #cc66cc;">5</span>;
ll.<span style="color: #006600;">steps</span>=<span style="color: #cc66cc;">150</span>;
ll.<span style="color: #006600;">alphaFadeType</span>=LightningFadeType.<span style="color: #006600;">TIP_TO_END</span>;
&nbsp;
ball.<span style="color: #0066CC;">useHandCursor</span>=ball.<span style="color: #006600;">buttonMode</span>=<span style="color: #000000; font-weight: bold;">true</span>;
dot1.<span style="color: #006600;">mouseEnabled</span>=dot2.<span style="color: #006600;">mouseEnabled</span>=<span style="color: #000000; font-weight: bold;">false</span>;
dot1.<span style="color: #006600;">alpha</span>=.<span style="color: #cc66cc;">75</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> glow:GlowFilter=<span style="color: #000000; font-weight: bold;">new</span> GlowFilter<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
glow.<span style="color: #0066CC;">color</span>=<span style="color: #0066CC;">color</span>;
glow.<span style="color: #006600;">strength</span>=<span style="color: #cc66cc;">3.5</span>;
glow.<span style="color: #0066CC;">quality</span>=<span style="color: #cc66cc;">3</span>;
glow.<span style="color: #006600;">blurX</span>=glow.<span style="color: #006600;">blurY</span>=<span style="color: #cc66cc;">10</span>;
ll.<span style="color: #006600;">filters</span>=dot1.<span style="color: #006600;">filters</span>=dot2.<span style="color: #006600;">filters</span>=<span style="color: #66cc66;">&#91;</span>glow<span style="color: #66cc66;">&#93;</span>;
addChild<span style="color: #66cc66;">&#40;</span>ll<span style="color: #66cc66;">&#41;</span>;
&nbsp;
ll.<span style="color: #006600;">childrenProbability</span>=.<span style="color: #cc66cc;">3</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> p:Point=<span style="color: #000000; font-weight: bold;">new</span> Point<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
randomizePoint<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> randomizePoint<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">var</span> angle:<span style="color: #0066CC;">Number</span>=-<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">random</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>*<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">PI</span>;
	<span style="color: #000000; font-weight: bold;">var</span> dist:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;">160</span>+<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">random</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>*<span style="color: #cc66cc;">180</span>;
	p.<span style="color: #006600;">x</span>=cx+<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">cos</span><span style="color: #66cc66;">&#40;</span>angle<span style="color: #66cc66;">&#41;</span>*dist;
	p.<span style="color: #006600;">y</span>=cy+<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">sin</span><span style="color: #66cc66;">&#40;</span>angle<span style="color: #66cc66;">&#41;</span>*dist;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
addEventListener<span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">ENTER_FRAME</span>, onframe<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> onframe<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">var</span> rnd:<span style="color: #0066CC;">Number</span>=<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">random</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>rnd&lt;.<span style="color: #cc66cc;">05</span><span style="color: #66cc66;">&#41;</span> randomizePoint<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #000000; font-weight: bold;">var</span> dx:<span style="color: #0066CC;">Number</span>=cx-ball.<span style="color: #006600;">x</span>;
	<span style="color: #000000; font-weight: bold;">var</span> dy:<span style="color: #0066CC;">Number</span>=cy-ball.<span style="color: #006600;">y</span>;
	<span style="color: #000000; font-weight: bold;">var</span> d:<span style="color: #0066CC;">Number</span>=<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">sqrt</span><span style="color: #66cc66;">&#40;</span>dx*dx+dy*dy<span style="color: #66cc66;">&#41;</span>;
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>d&lt;<span style="color: #cc66cc;">310</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		dot2.<span style="color: #0066CC;">visible</span>=<span style="color: #000000; font-weight: bold;">true</span>;
		<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>ll.<span style="color: #006600;">childrenDetachedEnd</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
			ll.<span style="color: #006600;">childrenDetachedEnd</span>=<span style="color: #000000; font-weight: bold;">false</span>;
			ll.<span style="color: #006600;">alphaFadeType</span>=LightningFadeType.<span style="color: #006600;">GENERATION</span>;
			ll.<span style="color: #006600;">killAllChildren</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		ll.<span style="color: #006600;">endX</span>=dot2.<span style="color: #006600;">x</span>=ball.<span style="color: #006600;">x</span>;
		ll.<span style="color: #006600;">endY</span>=dot2.<span style="color: #006600;">y</span>=ball.<span style="color: #006600;">y</span>;
	<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
		dot2.<span style="color: #0066CC;">visible</span>=<span style="color: #000000; font-weight: bold;">false</span>;
		<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>!ll.<span style="color: #006600;">childrenDetachedEnd</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
			ll.<span style="color: #006600;">childrenDetachedEnd</span>=<span style="color: #000000; font-weight: bold;">true</span>;
			ll.<span style="color: #006600;">alphaFadeType</span>=LightningFadeType.<span style="color: #006600;">TIP_TO_END</span>;
			ll.<span style="color: #006600;">killAllChildren</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
		ll.<span style="color: #006600;">endX</span>=p.<span style="color: #006600;">x</span>;
		ll.<span style="color: #006600;">endY</span>=p.<span style="color: #006600;">y</span>;
	<span style="color: #66cc66;">&#125;</span>
	<span style="color: #000000; font-weight: bold;">var</span> ddx:<span style="color: #0066CC;">Number</span>=cx-ll.<span style="color: #006600;">endX</span>;
	<span style="color: #000000; font-weight: bold;">var</span> ddy:<span style="color: #0066CC;">Number</span>=cy-ll.<span style="color: #006600;">endY</span>;
	<span style="color: #000000; font-weight: bold;">var</span> aangle:<span style="color: #0066CC;">Number</span>=<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">atan2</span><span style="color: #66cc66;">&#40;</span>ddy, ddx<span style="color: #66cc66;">&#41;</span>;
	ll.<span style="color: #006600;">startX</span>=cx-<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">cos</span><span style="color: #66cc66;">&#40;</span>aangle<span style="color: #66cc66;">&#41;</span>*<span style="color: #cc66cc;">80</span>;
	dot1.<span style="color: #006600;">scaleX</span>=<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">sin</span><span style="color: #66cc66;">&#40;</span>aangle<span style="color: #66cc66;">&#41;</span>;
	ll.<span style="color: #006600;">startY</span>=cy;
	dot1.<span style="color: #006600;">x</span>=ll.<span style="color: #006600;">startX</span>;
	dot1.<span style="color: #006600;">y</span>=ll.<span style="color: #006600;">startY</span>;
	ll.<span style="color: #006600;">update</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
ball.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>, onmdown<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> onmdown<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	ball.<span style="color: #0066CC;">startDrag</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
ball.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_UP</span>, onmup<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> onmup<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	ball.<span style="color: #0066CC;">stopDrag</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p><strong>Demo N°2:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">oaxoa</span>.<span style="color: #006600;">fx</span>.<span style="color: #006600;">Lightning</span>;
<span style="color: #0066CC;">import</span> com.<span style="color: #006600;">oaxoa</span>.<span style="color: #006600;">fx</span>.<span style="color: #006600;">LightningFadeType</span>;
&nbsp;
setChildIndex<span style="color: #66cc66;">&#40;</span>fingers, <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> iy:<span style="color: #0066CC;">Number</span>=fingers.<span style="color: #006600;">y</span>;
addEventListener<span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_MOVE</span>, onmove<span style="color: #66cc66;">&#41;</span>;
&nbsp;
fingers.<span style="color: #006600;">x</span>=fingers.<span style="color: #006600;">y</span>/<span style="color: #cc66cc;">2.5</span><span style="color: #cc66cc;">-10</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> updatePositions<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	ll.<span style="color: #006600;">endX</span>=fingers.<span style="color: #006600;">x</span>+fingers.<span style="color: #006600;">dot1</span>.<span style="color: #006600;">x</span>;
	ll.<span style="color: #006600;">endY</span>=fingers.<span style="color: #006600;">y</span>+fingers.<span style="color: #006600;">dot1</span>.<span style="color: #006600;">y</span>;
	ll2.<span style="color: #006600;">endX</span>=fingers.<span style="color: #006600;">x</span>+fingers.<span style="color: #006600;">dot2</span>.<span style="color: #006600;">x</span>;
	ll2.<span style="color: #006600;">endY</span>=fingers.<span style="color: #006600;">y</span>+fingers.<span style="color: #006600;">dot2</span>.<span style="color: #006600;">y</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> onmove<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	fingers.<span style="color: #006600;">y</span>=mouseY<span style="color: #cc66cc;">-150</span>;
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>fingers.<span style="color: #006600;">y</span>&lt;iy<span style="color: #66cc66;">&#41;</span> fingers.<span style="color: #006600;">y</span>=iy;
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>fingers.<span style="color: #006600;">y</span>&gt;<span style="color: #cc66cc;">320</span><span style="color: #66cc66;">&#41;</span> fingers.<span style="color: #006600;">y</span>=<span style="color: #cc66cc;">320</span>;
	fingers.<span style="color: #006600;">x</span>=fingers.<span style="color: #006600;">y</span>/<span style="color: #cc66cc;">2.5</span><span style="color: #cc66cc;">-10</span>;
	updatePositions<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	event.<span style="color: #0066CC;">updateAfterEvent</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
addEventListener<span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">ENTER_FRAME</span>, onframe<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> onframe<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	ll.<span style="color: #006600;">update</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	ll2.<span style="color: #006600;">update</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">color</span>:uint=0xddeeff;
<span style="color: #000000; font-weight: bold;">var</span> ll:Lightning=<span style="color: #000000; font-weight: bold;">new</span> Lightning<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">color</span>, <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> ll2:Lightning=<span style="color: #000000; font-weight: bold;">new</span> Lightning<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">color</span>, <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
ll.<span style="color: #006600;">blendMode</span>=ll2.<span style="color: #006600;">blendMode</span>=BlendMode.<span style="color: #0066CC;">ADD</span>;
ll.<span style="color: #006600;">childrenProbability</span>=ll2.<span style="color: #006600;">childrenProbability</span>=.<span style="color: #cc66cc;">5</span>;
ll.<span style="color: #006600;">childrenLifeSpanMin</span>=ll2.<span style="color: #006600;">childrenLifeSpanMin</span>=.<span style="color: #cc66cc;">1</span>;
ll.<span style="color: #006600;">childrenLifeSpanMax</span>=ll2.<span style="color: #006600;">childrenLifeSpanMax</span>=<span style="color: #cc66cc;">2</span>;
ll.<span style="color: #006600;">maxLength</span>=ll2.<span style="color: #006600;">maxLength</span>=<span style="color: #cc66cc;">50</span>;
ll.<span style="color: #006600;">maxLengthVary</span>=ll2.<span style="color: #006600;">maxLengthVary</span>=<span style="color: #cc66cc;">200</span>;
&nbsp;
ll.<span style="color: #006600;">startX</span>=dot3.<span style="color: #006600;">x</span>;
ll.<span style="color: #006600;">startY</span>=dot3.<span style="color: #006600;">y</span>;
ll2.<span style="color: #006600;">startX</span>=dot4.<span style="color: #006600;">x</span>;
ll2.<span style="color: #006600;">startY</span>=dot4.<span style="color: #006600;">y</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> glow:GlowFilter=<span style="color: #000000; font-weight: bold;">new</span> GlowFilter<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
glow.<span style="color: #0066CC;">color</span>=<span style="color: #0066CC;">color</span>;
glow.<span style="color: #006600;">strength</span>=<span style="color: #cc66cc;">3.5</span>;
glow.<span style="color: #0066CC;">quality</span>=<span style="color: #cc66cc;">3</span>;
glow.<span style="color: #006600;">blurX</span>=glow.<span style="color: #006600;">blurY</span>=<span style="color: #cc66cc;">10</span>;
ll.<span style="color: #006600;">filters</span>=ll2.<span style="color: #006600;">filters</span>=<span style="color: #66cc66;">&#91;</span>glow<span style="color: #66cc66;">&#93;</span>;
addChild<span style="color: #66cc66;">&#40;</span>ll<span style="color: #66cc66;">&#41;</span>;
addChild<span style="color: #66cc66;">&#40;</span>ll2<span style="color: #66cc66;">&#41;</span>;
&nbsp;
updatePositions<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p><strong>Demo N°3:</strong><br />
(The ugliest bunch of random code lines ever written :D)</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">oaxoa</span>.<span style="color: #006600;">fx</span>.<span style="color: #006600;">Lightning</span>;
<span style="color: #0066CC;">import</span> com.<span style="color: #006600;">oaxoa</span>.<span style="color: #006600;">fx</span>.<span style="color: #006600;">LightningFadeType</span>;
<span style="color: #0066CC;">import</span> com.<span style="color: #006600;">oaxoa</span>.<span style="color: #006600;">components</span>.<span style="color: #006600;">ToolTip</span>;
<span style="color: #0066CC;">import</span> fl.<span style="color: #006600;">controls</span>.<span style="color: #0066CC;">Button</span>;
<span style="color: #0066CC;">import</span> fl.<span style="color: #0066CC;">data</span>.<span style="color: #006600;">DataProvider</span>;
&nbsp;
<span style="color: #0066CC;">import</span> fl.<span style="color: #006600;">events</span>.<span style="color: #006600;">SliderEvent</span>;
<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">color</span>:uint=0xffffff;
<span style="color: #000000; font-weight: bold;">var</span> ll:Lightning=<span style="color: #000000; font-weight: bold;">new</span> Lightning<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">color</span>, <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
ll.<span style="color: #006600;">blendMode</span>=BlendMode.<span style="color: #0066CC;">ADD</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> glow:GlowFilter=<span style="color: #000000; font-weight: bold;">new</span> GlowFilter<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
glow.<span style="color: #0066CC;">color</span>=<span style="color: #0066CC;">color</span>;
glow.<span style="color: #006600;">strength</span>=<span style="color: #cc66cc;">4</span>;
glow.<span style="color: #0066CC;">quality</span>=<span style="color: #cc66cc;">3</span>;
glow.<span style="color: #006600;">blurX</span>=glow.<span style="color: #006600;">blurY</span>=<span style="color: #cc66cc;">10</span>;
ll.<span style="color: #006600;">filters</span>=<span style="color: #66cc66;">&#91;</span>glow<span style="color: #66cc66;">&#93;</span>;
addChild<span style="color: #66cc66;">&#40;</span>ll<span style="color: #66cc66;">&#41;</span>;
ll.<span style="color: #006600;">startX</span>=cross1.<span style="color: #006600;">x</span>;
ll.<span style="color: #006600;">startY</span>=cross1.<span style="color: #006600;">y</span>;
&nbsp;
ll.<span style="color: #006600;">endX</span>=cross2.<span style="color: #006600;">x</span>;
ll.<span style="color: #006600;">endY</span>=cross2.<span style="color: #006600;">y</span>;
&nbsp;
setChildIndex<span style="color: #66cc66;">&#40;</span>ll,<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
ll.<span style="color: #006600;">childrenMaxGenerations</span>=<span style="color: #cc66cc;">3</span>;
ll.<span style="color: #006600;">childrenMaxCountDecay</span>=.<span style="color: #cc66cc;">5</span>;
&nbsp;
addEventListener<span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">ENTER_FRAME</span>, onframe<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> onframe<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	ll.<span style="color: #006600;">startX</span>=cross1.<span style="color: #006600;">x</span>;
	ll.<span style="color: #006600;">startY</span>=cross1.<span style="color: #006600;">y</span>;
&nbsp;
	ll.<span style="color: #006600;">endX</span>=cross2.<span style="color: #006600;">x</span>;
	ll.<span style="color: #006600;">endY</span>=cross2.<span style="color: #006600;">y</span>;
	ll.<span style="color: #006600;">update</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	updateCircles<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #0066CC;">import</span> com.<span style="color: #006600;">oaxoa</span>.<span style="color: #006600;">components</span>.<span style="color: #006600;">FrameRater</span>;
<span style="color: #000000; font-weight: bold;">var</span> fr:FrameRater=<span style="color: #000000; font-weight: bold;">new</span> FrameRater<span style="color: #66cc66;">&#40;</span>0xffffff, <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;
addChild<span style="color: #66cc66;">&#40;</span>fr<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> ttip:ToolTip=<span style="color: #000000; font-weight: bold;">new</span> ToolTip<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
addChild<span style="color: #66cc66;">&#40;</span>ttip<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> tfmt:<span style="color: #0066CC;">TextFormat</span>=<span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">TextFormat</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;_sans&quot;</span>, <span style="color: #cc66cc;">11</span>, 0xffffff<span style="color: #66cc66;">&#41;</span>;
&nbsp;
cb0.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>label:<span style="color: #ff0000;">&quot;Choose a preset&quot;</span>, value:<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
cb0.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>label:<span style="color: #ff0000;">&quot;Fast discharge&quot;</span>, value:<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
cb0.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>label:<span style="color: #ff0000;">&quot;Fast discharge (Max length + max length variation)&quot;</span>, value:<span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
cb0.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>label:<span style="color: #ff0000;">&quot;Fast discharge (slow-motion)&quot;</span>, value:<span style="color: #cc66cc;">3</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
cb0.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>label:<span style="color: #ff0000;">&quot;Moving Thunderbolt&quot;</span>, value:<span style="color: #cc66cc;">4</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
cb0.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>label:<span style="color: #ff0000;">&quot;Moving Thunderbolt (Max length + max length variation)&quot;</span>, value:<span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
cb0.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">0</span>;
cb0.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">CHANGE</span>, oncb<span style="color: #66cc66;">&#41;</span>;
cb0.<span style="color: #0066CC;">textField</span>.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;textFormat&quot;</span>, tfmt<span style="color: #66cc66;">&#41;</span>;
cb0.<span style="color: #006600;">dropdown</span>.<span style="color: #006600;">setRendererStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;textFormat&quot;</span>, tfmt<span style="color: #66cc66;">&#41;</span>;
&nbsp;
cb1.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>label:<span style="color: #ff0000;">&quot;Discharge&quot;</span>, value:<span style="color: #000000; font-weight: bold;">false</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
cb1.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>label:<span style="color: #ff0000;">&quot;Lightning (detached end)&quot;</span>, value:<span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
cb1.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">1</span>;
cb1.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">CHANGE</span>, oncb<span style="color: #66cc66;">&#41;</span>;
cb1.<span style="color: #0066CC;">textField</span>.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;textFormat&quot;</span>, tfmt<span style="color: #66cc66;">&#41;</span>;
cb1.<span style="color: #006600;">dropdown</span>.<span style="color: #006600;">setRendererStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;textFormat&quot;</span>, tfmt<span style="color: #66cc66;">&#41;</span>;
&nbsp;
cb2.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>label:<span style="color: #ff0000;">&quot;None&quot;</span>, value:LightningFadeType.<span style="color: #006600;">NONE</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
cb2.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>label:<span style="color: #ff0000;">&quot;Generation&quot;</span>, value:LightningFadeType.<span style="color: #006600;">GENERATION</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
cb2.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>label:<span style="color: #ff0000;">&quot;Tip to end&quot;</span>, value:LightningFadeType.<span style="color: #006600;">TIP_TO_END</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
cb2.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">2</span>;
cb2.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">CHANGE</span>, oncb<span style="color: #66cc66;">&#41;</span>;
cb2.<span style="color: #0066CC;">textField</span>.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;textFormat&quot;</span>, tfmt<span style="color: #66cc66;">&#41;</span>;
cb2.<span style="color: #006600;">dropdown</span>.<span style="color: #006600;">setRendererStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;textFormat&quot;</span>, tfmt<span style="color: #66cc66;">&#41;</span>;
&nbsp;
cb3.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>label:<span style="color: #ff0000;">&quot;None&quot;</span>, value:LightningFadeType.<span style="color: #006600;">NONE</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
cb3.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>label:<span style="color: #ff0000;">&quot;Generation&quot;</span>, value:LightningFadeType.<span style="color: #006600;">GENERATION</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
cb3.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span>label:<span style="color: #ff0000;">&quot;Tip to end&quot;</span>, value:LightningFadeType.<span style="color: #006600;">TIP_TO_END</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
cb3.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">2</span>;
cb3.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">CHANGE</span>, oncb<span style="color: #66cc66;">&#41;</span>;
cb3.<span style="color: #0066CC;">textField</span>.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;textFormat&quot;</span>, tfmt<span style="color: #66cc66;">&#41;</span>;
cb3.<span style="color: #006600;">dropdown</span>.<span style="color: #006600;">setRendererStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;textFormat&quot;</span>, tfmt<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> oncb<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">var</span> t:ComboBox=event.<span style="color: #006600;">currentTarget</span> as ComboBox;
	<span style="color: #b1b100;">switch</span><span style="color: #66cc66;">&#40;</span>t<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		<span style="color: #b1b100;">case</span> cb0:
			setPreset<span style="color: #66cc66;">&#40;</span>t.<span style="color: #006600;">selectedItem</span>.<span style="color: #006600;">value</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> cb1:
			ll.<span style="color: #006600;">childrenDetachedEnd</span>=t.<span style="color: #006600;">selectedItem</span>.<span style="color: #006600;">value</span>;
			ll.<span style="color: #006600;">killAllChildren</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> cb2:
			ll.<span style="color: #006600;">alphaFadeType</span>=t.<span style="color: #006600;">selectedItem</span>.<span style="color: #006600;">value</span>;
			ll.<span style="color: #006600;">killAllChildren</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> cb3:
			ll.<span style="color: #006600;">thicknessFadeType</span>=t.<span style="color: #006600;">selectedItem</span>.<span style="color: #006600;">value</span>;
			ll.<span style="color: #006600;">killAllChildren</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #b1b100;">break</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
&nbsp;
slider.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>SliderEvent.<span style="color: #006600;">CHANGE</span>, onslider<span style="color: #66cc66;">&#41;</span>;
slider2.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>SliderEvent.<span style="color: #006600;">CHANGE</span>, onslider<span style="color: #66cc66;">&#41;</span>;
slider3.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>SliderEvent.<span style="color: #006600;">CHANGE</span>, onslider<span style="color: #66cc66;">&#41;</span>;
slider4.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>SliderEvent.<span style="color: #006600;">CHANGE</span>, onslider<span style="color: #66cc66;">&#41;</span>;
slider5.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>SliderEvent.<span style="color: #006600;">CHANGE</span>, onslider<span style="color: #66cc66;">&#41;</span>;
slider6.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>SliderEvent.<span style="color: #006600;">CHANGE</span>, onslider<span style="color: #66cc66;">&#41;</span>;
slider7.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>SliderEvent.<span style="color: #006600;">CHANGE</span>, onslider<span style="color: #66cc66;">&#41;</span>;
slider8.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>SliderEvent.<span style="color: #006600;">CHANGE</span>, onslider<span style="color: #66cc66;">&#41;</span>;
slider9.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>SliderEvent.<span style="color: #006600;">CHANGE</span>, onslider<span style="color: #66cc66;">&#41;</span>;
slider10.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>SliderEvent.<span style="color: #006600;">CHANGE</span>, onslider<span style="color: #66cc66;">&#41;</span>;
slider11.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>SliderEvent.<span style="color: #006600;">CHANGE</span>, onslider<span style="color: #66cc66;">&#41;</span>;
slider12.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>SliderEvent.<span style="color: #006600;">CHANGE</span>, onslider<span style="color: #66cc66;">&#41;</span>;
slider13.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>SliderEvent.<span style="color: #006600;">CHANGE</span>, onslider<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> onslider<span style="color: #66cc66;">&#40;</span>event:SliderEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">var</span> t:Slider=event.<span style="color: #006600;">currentTarget</span> as Slider;
	ttip.<span style="color: #0066CC;">show</span><span style="color: #66cc66;">&#40;</span>t.<span style="color: #006600;">value</span>.<span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
	ttip.<span style="color: #006600;">y</span>=t.<span style="color: #006600;">y</span><span style="color: #cc66cc;">-30</span>;
	<span style="color: #b1b100;">switch</span><span style="color: #66cc66;">&#40;</span>t<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		<span style="color: #b1b100;">case</span> slider:
			ll.<span style="color: #006600;">smoothPercentage</span>=t.<span style="color: #006600;">value</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> slider2:
			ll.<span style="color: #006600;">childrenAngleVariation</span>=t.<span style="color: #006600;">value</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> slider3:
			ll.<span style="color: #006600;">childrenMaxCount</span>=t.<span style="color: #006600;">value</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> slider4:
			ll.<span style="color: #006600;">wavelength</span>=t.<span style="color: #006600;">value</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> slider5:
			ll.<span style="color: #006600;">amplitude</span>=t.<span style="color: #006600;">value</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> slider6:
			ll.<span style="color: #006600;">speed</span>=t.<span style="color: #006600;">value</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> slider7:
			ll.<span style="color: #006600;">thickness</span>=t.<span style="color: #006600;">value</span>;
			ll.<span style="color: #006600;">killAllChildren</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> slider8:
			ll.<span style="color: #006600;">maxLength</span>=t.<span style="color: #006600;">value</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> slider9:
			ll.<span style="color: #006600;">maxLengthVary</span>=t.<span style="color: #006600;">value</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> slider10:
			ll.<span style="color: #006600;">childrenProbability</span>=t.<span style="color: #006600;">value</span>;
			ll.<span style="color: #006600;">killAllChildren</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> slider11:
			ll.<span style="color: #006600;">childrenLifeSpanMin</span>=t.<span style="color: #006600;">value</span>;
			ll.<span style="color: #006600;">killAllChildren</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>t.<span style="color: #006600;">value</span>&gt;slider12.<span style="color: #006600;">value</span><span style="color: #66cc66;">&#41;</span> slider12.<span style="color: #006600;">value</span>=t.<span style="color: #006600;">value</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> slider12:
			ll.<span style="color: #006600;">childrenLifeSpanMax</span>=t.<span style="color: #006600;">value</span>;
			ll.<span style="color: #006600;">killAllChildren</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			slider11.<span style="color: #0066CC;">visible</span>=t.<span style="color: #006600;">value</span>!=<span style="color: #cc66cc;">0</span>;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> slider13:
			ll.<span style="color: #006600;">steps</span>=t.<span style="color: #006600;">value</span>;
			ll.<span style="color: #006600;">killAllChildren</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #b1b100;">break</span>;
	<span style="color: #66cc66;">&#125;</span>
	ll.<span style="color: #006600;">render</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> setPreset<span style="color: #66cc66;">&#40;</span>n:uint<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">switch</span><span style="color: #66cc66;">&#40;</span>n<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		<span style="color: #808080; font-style: italic;">// fast discharge</span>
		<span style="color: #b1b100;">case</span> <span style="color: #cc66cc;">1</span>:
			ll.<span style="color: #006600;">childrenLifeSpanMin</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">childrenLifeSpanMax</span>=<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">childrenProbability</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">childrenMaxGenerations</span>=<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">childrenMaxCount</span>=<span style="color: #cc66cc;">4</span>;
			ll.<span style="color: #006600;">childrenAngleVariation</span>=<span style="color: #cc66cc;">110</span>;
			ll.<span style="color: #006600;">thickness</span>=<span style="color: #cc66cc;">2</span>;
			ll.<span style="color: #006600;">steps</span>=<span style="color: #cc66cc;">100</span>;
&nbsp;
			ll.<span style="color: #006600;">smoothPercentage</span>=<span style="color: #cc66cc;">50</span>;
			ll.<span style="color: #006600;">wavelength</span>=.<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">amplitude</span>=.<span style="color: #cc66cc;">5</span>;
			ll.<span style="color: #006600;">speed</span>=.<span style="color: #cc66cc;">7</span>;
			ll.<span style="color: #006600;">maxLength</span>=<span style="color: #cc66cc;">0</span>;
			ll.<span style="color: #006600;">maxLengthVary</span>=<span style="color: #cc66cc;">0</span>;
&nbsp;
			ll.<span style="color: #006600;">childrenDetachedEnd</span>=<span style="color: #000000; font-weight: bold;">false</span>;
			cb1.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">0</span>;
			ll.<span style="color: #006600;">alphaFadeType</span>=LightningFadeType.<span style="color: #006600;">GENERATION</span>;
			cb2.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">thicknessFadeType</span>=LightningFadeType.<span style="color: #006600;">NONE</span>;
			cb3.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">0</span>;
&nbsp;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #808080; font-style: italic;">// fast discharge (with max length+variation)</span>
		<span style="color: #b1b100;">case</span> <span style="color: #cc66cc;">2</span>:
			ll.<span style="color: #006600;">childrenLifeSpanMin</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">childrenLifeSpanMax</span>=<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">childrenProbability</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">childrenMaxGenerations</span>=<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">childrenMaxCount</span>=<span style="color: #cc66cc;">4</span>;
			ll.<span style="color: #006600;">childrenAngleVariation</span>=<span style="color: #cc66cc;">110</span>;
			ll.<span style="color: #006600;">thickness</span>=<span style="color: #cc66cc;">2</span>;
			ll.<span style="color: #006600;">steps</span>=<span style="color: #cc66cc;">100</span>;
&nbsp;
			ll.<span style="color: #006600;">smoothPercentage</span>=<span style="color: #cc66cc;">50</span>;
			ll.<span style="color: #006600;">wavelength</span>=.<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">amplitude</span>=.<span style="color: #cc66cc;">5</span>;
			ll.<span style="color: #006600;">speed</span>=.<span style="color: #cc66cc;">7</span>;
			ll.<span style="color: #006600;">maxLength</span>=<span style="color: #cc66cc;">440</span>;
			ll.<span style="color: #006600;">maxLengthVary</span>=<span style="color: #cc66cc;">75</span>;
&nbsp;
			ll.<span style="color: #006600;">childrenDetachedEnd</span>=<span style="color: #000000; font-weight: bold;">false</span>;
			cb1.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">0</span>;
			ll.<span style="color: #006600;">alphaFadeType</span>=LightningFadeType.<span style="color: #006600;">GENERATION</span>;
			cb2.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">thicknessFadeType</span>=LightningFadeType.<span style="color: #006600;">NONE</span>;
			cb3.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">0</span>;
&nbsp;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #808080; font-style: italic;">// fast discharge slowmo</span>
		<span style="color: #b1b100;">case</span> <span style="color: #cc66cc;">3</span>:
			ll.<span style="color: #006600;">childrenLifeSpanMin</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">childrenLifeSpanMax</span>=<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">childrenProbability</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">childrenMaxGenerations</span>=<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">childrenMaxCount</span>=<span style="color: #cc66cc;">4</span>;
			ll.<span style="color: #006600;">childrenAngleVariation</span>=<span style="color: #cc66cc;">110</span>;
			ll.<span style="color: #006600;">thickness</span>=<span style="color: #cc66cc;">2</span>;
			ll.<span style="color: #006600;">steps</span>=<span style="color: #cc66cc;">100</span>;
&nbsp;
			ll.<span style="color: #006600;">smoothPercentage</span>=<span style="color: #cc66cc;">50</span>;
			ll.<span style="color: #006600;">wavelength</span>=.<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">amplitude</span>=.<span style="color: #cc66cc;">5</span>;
			ll.<span style="color: #006600;">speed</span>=.<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">maxLength</span>=<span style="color: #cc66cc;">0</span>;
			ll.<span style="color: #006600;">maxLengthVary</span>=<span style="color: #cc66cc;">0</span>;
&nbsp;
			ll.<span style="color: #006600;">childrenDetachedEnd</span>=<span style="color: #000000; font-weight: bold;">false</span>;
			cb1.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">0</span>;
			ll.<span style="color: #006600;">alphaFadeType</span>=LightningFadeType.<span style="color: #006600;">GENERATION</span>;
			cb2.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">thicknessFadeType</span>=LightningFadeType.<span style="color: #006600;">NONE</span>;
			cb3.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">0</span>;
&nbsp;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #808080; font-style: italic;">// moving thumnder</span>
		<span style="color: #b1b100;">case</span> <span style="color: #cc66cc;">4</span>:
			ll.<span style="color: #006600;">childrenLifeSpanMin</span>=.<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">childrenLifeSpanMax</span>=<span style="color: #cc66cc;">2</span>;
			ll.<span style="color: #006600;">childrenProbability</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">childrenMaxGenerations</span>=<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">childrenMaxCount</span>=<span style="color: #cc66cc;">4</span>;
			ll.<span style="color: #006600;">childrenAngleVariation</span>=<span style="color: #cc66cc;">130</span>;
			ll.<span style="color: #006600;">thickness</span>=<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">steps</span>=<span style="color: #cc66cc;">100</span>;
&nbsp;
			ll.<span style="color: #006600;">smoothPercentage</span>=<span style="color: #cc66cc;">50</span>;
			ll.<span style="color: #006600;">wavelength</span>=.<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">amplitude</span>=.<span style="color: #cc66cc;">5</span>;
			ll.<span style="color: #006600;">speed</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">maxLength</span>=<span style="color: #cc66cc;">0</span>;
			ll.<span style="color: #006600;">maxLengthVary</span>=<span style="color: #cc66cc;">0</span>;
&nbsp;
			ll.<span style="color: #006600;">childrenDetachedEnd</span>=<span style="color: #000000; font-weight: bold;">true</span>;
			cb1.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">alphaFadeType</span>=LightningFadeType.<span style="color: #006600;">TIP_TO_END</span>;
			cb2.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">2</span>;
			ll.<span style="color: #006600;">thicknessFadeType</span>=LightningFadeType.<span style="color: #006600;">GENERATION</span>;
			cb3.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">1</span>;
&nbsp;
			<span style="color: #b1b100;">break</span>;
		<span style="color: #b1b100;">case</span> <span style="color: #cc66cc;">5</span>:
			ll.<span style="color: #006600;">childrenLifeSpanMin</span>=.<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">childrenLifeSpanMax</span>=<span style="color: #cc66cc;">2</span>;
			ll.<span style="color: #006600;">childrenProbability</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">childrenMaxGenerations</span>=<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">childrenMaxCount</span>=<span style="color: #cc66cc;">4</span>;
			ll.<span style="color: #006600;">childrenAngleVariation</span>=<span style="color: #cc66cc;">130</span>;
			ll.<span style="color: #006600;">thickness</span>=<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">steps</span>=<span style="color: #cc66cc;">100</span>;
&nbsp;
			ll.<span style="color: #006600;">smoothPercentage</span>=<span style="color: #cc66cc;">50</span>;
			ll.<span style="color: #006600;">wavelength</span>=.<span style="color: #cc66cc;">3</span>;
			ll.<span style="color: #006600;">amplitude</span>=.<span style="color: #cc66cc;">5</span>;
			ll.<span style="color: #006600;">speed</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">maxLength</span>=<span style="color: #cc66cc;">440</span>;
			ll.<span style="color: #006600;">maxLengthVary</span>=<span style="color: #cc66cc;">75</span>;
&nbsp;
			ll.<span style="color: #006600;">childrenDetachedEnd</span>=<span style="color: #000000; font-weight: bold;">true</span>;
			cb1.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">1</span>;
			ll.<span style="color: #006600;">alphaFadeType</span>=LightningFadeType.<span style="color: #006600;">TIP_TO_END</span>;
			cb2.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">2</span>;
			ll.<span style="color: #006600;">thicknessFadeType</span>=LightningFadeType.<span style="color: #006600;">GENERATION</span>;
			cb3.<span style="color: #006600;">selectedIndex</span>=<span style="color: #cc66cc;">1</span>;
&nbsp;
			<span style="color: #b1b100;">break</span>;
	<span style="color: #66cc66;">&#125;</span>
	ll.<span style="color: #006600;">killAllChildren</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	updateSliders<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #000000; font-weight: bold;">function</span> updateSliders<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	slider.<span style="color: #006600;">value</span>=ll.<span style="color: #006600;">smoothPercentage</span>;
	slider2.<span style="color: #006600;">value</span>=ll.<span style="color: #006600;">childrenAngleVariation</span>;
	slider3.<span style="color: #006600;">value</span>=ll.<span style="color: #006600;">childrenMaxCount</span>;
	slider4.<span style="color: #006600;">value</span>=ll.<span style="color: #006600;">wavelength</span>;
	slider5.<span style="color: #006600;">value</span>=ll.<span style="color: #006600;">amplitude</span>;
	slider6.<span style="color: #006600;">value</span>=ll.<span style="color: #006600;">speed</span>;
	slider7.<span style="color: #006600;">value</span>=ll.<span style="color: #006600;">thickness</span>;
	slider8.<span style="color: #006600;">value</span>=ll.<span style="color: #006600;">maxLength</span>;
	slider9.<span style="color: #006600;">value</span>=ll.<span style="color: #006600;">maxLengthVary</span>;
	slider10.<span style="color: #006600;">value</span>=ll.<span style="color: #006600;">childrenProbability</span>;
	slider11.<span style="color: #006600;">value</span>=ll.<span style="color: #006600;">childrenLifeSpanMin</span>;
	slider12.<span style="color: #006600;">value</span>=ll.<span style="color: #006600;">childrenLifeSpanMax</span>;
	slider13.<span style="color: #006600;">value</span>=ll.<span style="color: #006600;">steps</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #808080; font-style: italic;">///////////////////</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> tf:<span style="color: #0066CC;">TextFormat</span>=<span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">TextFormat</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
tf.<span style="color: #0066CC;">color</span>=0xffffff;
&nbsp;
cross1.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_UP</span>, onup<span style="color: #66cc66;">&#41;</span>;
cross1.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>, ondown<span style="color: #66cc66;">&#41;</span>;
cross2.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_UP</span>, onup<span style="color: #66cc66;">&#41;</span>;
cross2.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>, ondown<span style="color: #66cc66;">&#41;</span>;
cross1.<span style="color: #006600;">buttonMode</span>=cross2.<span style="color: #006600;">buttonMode</span>=cross1.<span style="color: #0066CC;">useHandCursor</span>=cross2.<span style="color: #0066CC;">useHandCursor</span>=<span style="color: #000000; font-weight: bold;">true</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> ondown<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	event.<span style="color: #006600;">currentTarget</span>.<span style="color: #006600;">alpha</span>=.<span style="color: #cc66cc;">2</span>;
	event.<span style="color: #006600;">currentTarget</span>.<span style="color: #0066CC;">startDrag</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #000000; font-weight: bold;">function</span> onup<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	event.<span style="color: #006600;">currentTarget</span>.<span style="color: #006600;">alpha</span>=<span style="color: #cc66cc;">1</span>;
	event.<span style="color: #006600;">currentTarget</span>.<span style="color: #0066CC;">stopDrag</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #000000; font-weight: bold;">var</span> circles:Shape=<span style="color: #000000; font-weight: bold;">new</span> Shape<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
addChildAt<span style="color: #66cc66;">&#40;</span>circles, <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> updateCircles<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	circles.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">clear</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>ll.<span style="color: #006600;">maxLength</span>&gt;<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		circles.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">lineStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">6</span>, 0xffffff, .<span style="color: #cc66cc;">3</span><span style="color: #66cc66;">&#41;</span>;
		circles.<span style="color: #006600;">graphics</span>.<span style="color: #006600;">drawCircle</span><span style="color: #66cc66;">&#40;</span>cross1.<span style="color: #006600;">x</span>, cross1.<span style="color: #006600;">y</span>, ll.<span style="color: #006600;">maxLength</span><span style="color: #66cc66;">&#41;</span>;
		circles.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">lineStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">2</span>, 0xffffff, .<span style="color: #cc66cc;">4</span><span style="color: #66cc66;">&#41;</span>;
		circles.<span style="color: #006600;">graphics</span>.<span style="color: #006600;">drawCircle</span><span style="color: #66cc66;">&#40;</span>cross1.<span style="color: #006600;">x</span>, cross1.<span style="color: #006600;">y</span>, ll.<span style="color: #006600;">maxLength</span>+ll.<span style="color: #006600;">maxLengthVary</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #000000; font-weight: bold;">var</span> steps:uint=<span style="color: #cc66cc;">5</span>;
		<span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:uint=<span style="color: #cc66cc;">1</span>; i&lt;steps; i++<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
			circles.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">lineStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span>, 0xffffff, .<span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
			circles.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span>0xffffff, .<span style="color: #cc66cc;">025</span><span style="color: #66cc66;">&#41;</span>;
			circles.<span style="color: #006600;">graphics</span>.<span style="color: #006600;">drawCircle</span><span style="color: #66cc66;">&#40;</span>cross1.<span style="color: #006600;">x</span>, cross1.<span style="color: #006600;">y</span>, ll.<span style="color: #006600;">maxLength</span>+<span style="color: #66cc66;">&#40;</span>ll.<span style="color: #006600;">maxLengthVary</span>/steps<span style="color: #66cc66;">&#41;</span>*i<span style="color: #66cc66;">&#41;</span>;
			circles.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
&nbsp;
setPreset<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d131').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d131" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/&amp;title=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class" title="Add to&nbsp;BlinkBits"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinkbits.png" title="Add to&nbsp;BlinkBits" alt="Add to&nbsp;BlinkBits" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;Name=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class&amp;Description=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class&amp;Url=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/" title="Add to&nbsp;BlinkList"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinklist.png" title="Add to&nbsp;BlinkList" alt="Add to&nbsp;BlinkList" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/&amp;title=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://de.lirio.us/login/?action=add&amp;address=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/&amp;title=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class" title="Add to&nbsp;De.lirio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delirious.png" title="Add to&nbsp;De.lirio.us" alt="Add to&nbsp;De.lirio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/&amp;title=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class&amp;url=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/&amp;version=0.7" title="Add to&nbsp;Feed Me Links"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/feedmelinks.png" title="Add to&nbsp;Feed Me Links" alt="Add to&nbsp;Feed Me Links" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class&amp;u=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/" title="Add to&nbsp;FURL"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/furl.png" title="Add to&nbsp;FURL" alt="Add to&nbsp;FURL" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/&amp;title=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.linkagogo.com/go/AddNoPopup?url=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/&amp;title=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class" title="Add to&nbsp;LinkaGoGo"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/linkagogo.png" title="Add to&nbsp;LinkaGoGo" alt="Add to&nbsp;LinkaGoGo" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/&amp;title=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class&amp;description=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class" title="Add to&nbsp;Ma.gnolia"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/magnolia.png" title="Add to&nbsp;Ma.gnolia" alt="Add to&nbsp;Ma.gnolia" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/&amp;title=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/&amp;title=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/&amp;title=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.sphere.com/search?q=sphereit:http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/&amp;title=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class" title="Add to&nbsp;SphereIt"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/sphereit.png" title="Add to&nbsp;SphereIt" alt="Add to&nbsp;SphereIt" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/&amp;title=Actionscript+3+-+as3+Lightning+%2F+Thunderbolt+%2F+Electric+discharge+Class" title="Add to&nbsp;Spurl"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://taggly.com/bookmarks.php/pass?action=add&amp;address=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/" title="Add to&nbsp;Taggly"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/taggly.png" title="Add to&nbsp;Taggly" alt="Add to&nbsp;Taggly" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d131').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->

<p><a href="http://feedads.g.doubleclick.net/~a/lw_njo6TyR0EhVsOkVWMpVXXwSc/0/da"><img src="http://feedads.g.doubleclick.net/~a/lw_njo6TyR0EhVsOkVWMpVXXwSc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/lw_njo6TyR0EhVsOkVWMpVXXwSc/1/da"><img src="http://feedads.g.doubleclick.net/~a/lw_njo6TyR0EhVsOkVWMpVXXwSc/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=t9YDnxo_HWU:tNIWazRK_KU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=t9YDnxo_HWU:tNIWazRK_KU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?i=t9YDnxo_HWU:tNIWazRK_KU:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/OaxoaBlog/~4/t9YDnxo_HWU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/</feedburner:origLink></item>
		<item>
		<title>Back from Prague</title>
		<link>http://feedproxy.google.com/~r/OaxoaBlog/~3/Vz_eNBglJlw/</link>
		<comments>http://blog.oaxoa.com/2009/06/03/back-from-prague/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 13:44:03 +0000</pubDate>
		<dc:creator>Pierluigi Pesenti</dc:creator>
		
		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://blog.oaxoa.com/?p=121</guid>
		<description><![CDATA[I am back from a week in Prague.
My 6th time there (my wife is czech) but the first time just for tourism.
Prague is awesome but prepare to walk a lot.
A picture to let you enjoy my best side 

Got to get back to work now. And complete my lightning class.. which is almost done.
Posting soon.


Bookmark [...]]]></description>
			<content:encoded><![CDATA[<p>I am back from a week in Prague.<br />
My 6th time there (my wife is czech) but the first time just for tourism.<br />
Prague is awesome but prepare to walk a lot.</p>
<p>A picture to let you enjoy my best side <img src='http://blog.oaxoa.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /><br />
<img src="http://blog.oaxoa.com/wp-content/praha.jpg" alt="praha" title="praha" width="550" height="413" class="alignnone size-full wp-image-122" /></p>
<p>Got to get back to work now. And complete my lightning class.. which is almost done.<br />
Posting soon.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d121').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d121" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://blog.oaxoa.com/2009/06/03/back-from-prague/&amp;title=Back+from+Prague" title="Add to&nbsp;BlinkBits"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinkbits.png" title="Add to&nbsp;BlinkBits" alt="Add to&nbsp;BlinkBits" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;Name=Back+from+Prague&amp;Description=Back+from+Prague&amp;Url=http://blog.oaxoa.com/2009/06/03/back-from-prague/" title="Add to&nbsp;BlinkList"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinklist.png" title="Add to&nbsp;BlinkList" alt="Add to&nbsp;BlinkList" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://blog.oaxoa.com/2009/06/03/back-from-prague/" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.oaxoa.com/2009/06/03/back-from-prague/&amp;title=Back+from+Prague" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://de.lirio.us/login/?action=add&amp;address=http://blog.oaxoa.com/2009/06/03/back-from-prague/&amp;title=Back+from+Prague" title="Add to&nbsp;De.lirio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delirious.png" title="Add to&nbsp;De.lirio.us" alt="Add to&nbsp;De.lirio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://blog.oaxoa.com/2009/06/03/back-from-prague/&amp;title=Back+from+Prague" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://blog.oaxoa.com/2009/06/03/back-from-prague/" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=Back+from+Prague&amp;url=http://blog.oaxoa.com/2009/06/03/back-from-prague/&amp;version=0.7" title="Add to&nbsp;Feed Me Links"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/feedmelinks.png" title="Add to&nbsp;Feed Me Links" alt="Add to&nbsp;Feed Me Links" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Back+from+Prague&amp;u=http://blog.oaxoa.com/2009/06/03/back-from-prague/" title="Add to&nbsp;FURL"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/furl.png" title="Add to&nbsp;FURL" alt="Add to&nbsp;FURL" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://blog.oaxoa.com/2009/06/03/back-from-prague/&amp;title=Back+from+Prague" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.linkagogo.com/go/AddNoPopup?url=http://blog.oaxoa.com/2009/06/03/back-from-prague/&amp;title=Back+from+Prague" title="Add to&nbsp;LinkaGoGo"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/linkagogo.png" title="Add to&nbsp;LinkaGoGo" alt="Add to&nbsp;LinkaGoGo" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://blog.oaxoa.com/2009/06/03/back-from-prague/&amp;title=Back+from+Prague&amp;description=Back+from+Prague" title="Add to&nbsp;Ma.gnolia"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/magnolia.png" title="Add to&nbsp;Ma.gnolia" alt="Add to&nbsp;Ma.gnolia" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.oaxoa.com/2009/06/03/back-from-prague/&amp;title=Back+from+Prague" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://blog.oaxoa.com/2009/06/03/back-from-prague/&amp;title=Back+from+Prague" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://blog.oaxoa.com/2009/06/03/back-from-prague/&amp;title=Back+from+Prague" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.sphere.com/search?q=sphereit:http://blog.oaxoa.com/2009/06/03/back-from-prague/&amp;title=Back+from+Prague" title="Add to&nbsp;SphereIt"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/sphereit.png" title="Add to&nbsp;SphereIt" alt="Add to&nbsp;SphereIt" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://blog.oaxoa.com/2009/06/03/back-from-prague/&amp;title=Back+from+Prague" title="Add to&nbsp;Spurl"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://taggly.com/bookmarks.php/pass?action=add&amp;address=http://blog.oaxoa.com/2009/06/03/back-from-prague/" title="Add to&nbsp;Taggly"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/taggly.png" title="Add to&nbsp;Taggly" alt="Add to&nbsp;Taggly" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.oaxoa.com/2009/06/03/back-from-prague/" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d121').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->

<p><a href="http://feedads.g.doubleclick.net/~a/OOMWqrmP5uWYsQATt-xc6T6NK-8/0/da"><img src="http://feedads.g.doubleclick.net/~a/OOMWqrmP5uWYsQATt-xc6T6NK-8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/OOMWqrmP5uWYsQATt-xc6T6NK-8/1/da"><img src="http://feedads.g.doubleclick.net/~a/OOMWqrmP5uWYsQATt-xc6T6NK-8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=Vz_eNBglJlw:bCct-NGVMQU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=Vz_eNBglJlw:bCct-NGVMQU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?i=Vz_eNBglJlw:bCct-NGVMQU:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/OaxoaBlog/~4/Vz_eNBglJlw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.oaxoa.com/2009/06/03/back-from-prague/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.oaxoa.com/2009/06/03/back-from-prague/</feedburner:origLink></item>
		<item>
		<title>Actionscript 3 | Speedcoding video - session #1: Black Branches</title>
		<link>http://feedproxy.google.com/~r/OaxoaBlog/~3/qKb4ZQ6vJQY/</link>
		<comments>http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/#comments</comments>
		<pubDate>Tue, 05 May 2009 13:22:39 +0000</pubDate>
		<dc:creator>Pierluigi Pesenti</dc:creator>
		
		<category><![CDATA[BitmapData]]></category>

		<category><![CDATA[Math]]></category>

		<category><![CDATA[actionscript 3]]></category>

		<category><![CDATA[algorithms]]></category>

		<category><![CDATA[classes]]></category>

		<category><![CDATA[fun]]></category>

		<category><![CDATA[perlinNoise]]></category>

		<guid isPermaLink="false">http://blog.oaxoa.com/?p=106</guid>
		<description><![CDATA[Yesterday night I wanted to have some &#8220;no-purpose coding session&#8221; and thought it was a nice idea to record the session and do a speedcoding video. The original video has been collapsed from 45 minutes to 3 minutes circa.
The main concept is once again based on perlinNoise which (I am sure you already guessed) is [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday night I wanted to have some &#8220;no-purpose coding session&#8221; and thought it was a nice idea to record the session and do a speedcoding video. The original video has been collapsed from 45 minutes to 3 minutes circa.</p>
<p>The main concept is once again based on perlinNoise which (I am sure you already guessed) is something I do like very much. So please start call me &#8220;The PerlinNoise Guy&#8221; or &#8220;Perlinator&#8221;. <img src='http://blog.oaxoa.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>So this is my first speedcoding video (be sure to look at it in high quality):</p>
<p><object width="500" height="405"><param name="movie" value="http://www.youtube.com/v/MD7fN4I8cB8&#038;hl=it&#038;fs=1&#038;rel=0&#038;border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/MD7fN4I8cB8&#038;hl=it&#038;fs=1&#038;rel=0&#038;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="405"></embed></object></p>
<p>Here&#8217;s the interactive demo:</p>
<p><a href='http://blog.oaxoa.com/wp-content/examples/showExample.php?f=black_branches.swf&#038;w=800&#038;h=600'><img src='http://blog.oaxoa.com/wp-content/black_branches.jpg' width='550' height='' alt='400' /><br />
Click to launch. Move mouse (x position) to change smoothness (my favourite values are around 100)</a></p>
<p>The code consist on a <a href='http://blog.oaxoa.com/wp-content/classes/Branch_class.zip'>Branch.as class file (click to download)</a> and some timeline code to assemble the demo:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">oaxoa</span>.<span style="color: #006600;">fx</span>.<span style="color: #006600;">Branch</span>;
&nbsp;
const w:uint=<span style="color: #0066CC;">stage</span>.<span style="color: #006600;">stageWidth</span>;
const h:uint=<span style="color: #0066CC;">stage</span>.<span style="color: #006600;">stageHeight</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> ct:ColorTransform=<span style="color: #000000; font-weight: bold;">new</span> ColorTransform<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> renderView:BitmapData=<span style="color: #000000; font-weight: bold;">new</span> BitmapData<span style="color: #66cc66;">&#40;</span>w, h, <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> bmp:Bitmap=<span style="color: #000000; font-weight: bold;">new</span> Bitmap<span style="color: #66cc66;">&#40;</span>renderView<span style="color: #66cc66;">&#41;</span>;
addChild<span style="color: #66cc66;">&#40;</span>bmp<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> tf:<span style="color: #0066CC;">TextFormat</span>=<span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">TextFormat</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;_sans&quot;</span>, <span style="color: #cc66cc;">16</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> label:<span style="color: #0066CC;">TextField</span>=<span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">TextField</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
label.<span style="color: #0066CC;">width</span>=<span style="color: #cc66cc;">400</span>;
label.<span style="color: #006600;">defaultTextFormat</span>=tf;
addChild<span style="color: #66cc66;">&#40;</span>label<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> timer:Timer=<span style="color: #000000; font-weight: bold;">new</span> Timer<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">10</span><span style="color: #66cc66;">&#41;</span>;
timer.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>TimerEvent.<span style="color: #006600;">TIMER</span>, ontimer<span style="color: #66cc66;">&#41;</span>;
timer.<span style="color: #0066CC;">start</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> ontimer<span style="color: #66cc66;">&#40;</span>event:TimerEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	addNew<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #000000; font-weight: bold;">function</span> addNew<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	label.<span style="color: #0066CC;">text</span>=<span style="color: #ff0000;">&quot;Smoothness: &quot;</span>+<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#40;</span>mouseX-w/<span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #000000; font-weight: bold;">var</span> tt:Branch=<span style="color: #000000; font-weight: bold;">new</span> Branch<span style="color: #66cc66;">&#40;</span>mouseX-w/<span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
	tt.<span style="color: #006600;">x</span>=<span style="color: #0066CC;">stage</span>.<span style="color: #006600;">stageWidth</span>/<span style="color: #cc66cc;">2</span>;
	tt.<span style="color: #006600;">y</span>=<span style="color: #0066CC;">stage</span>.<span style="color: #006600;">stageHeight</span>/<span style="color: #cc66cc;">2</span>;
	tt.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">COMPLETE</span>, oncomplete<span style="color: #66cc66;">&#41;</span>;
	addChild<span style="color: #66cc66;">&#40;</span>tt<span style="color: #66cc66;">&#41;</span>;
	renderView.<span style="color: #006600;">colorTransform</span><span style="color: #66cc66;">&#40;</span>renderView.<span style="color: #006600;">rect</span>, ct<span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #000000; font-weight: bold;">function</span> oncomplete<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">var</span> t:Branch=event.<span style="color: #006600;">currentTarget</span> as Branch;
	<span style="color: #000000; font-weight: bold;">var</span> matrix:Matrix=<span style="color: #000000; font-weight: bold;">new</span> Matrix<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	matrix.<span style="color: #006600;">translate</span><span style="color: #66cc66;">&#40;</span>t.<span style="color: #006600;">x</span>, t.<span style="color: #006600;">y</span><span style="color: #66cc66;">&#41;</span>;
	renderView.<span style="color: #006600;">draw</span><span style="color: #66cc66;">&#40;</span>t, matrix<span style="color: #66cc66;">&#41;</span>;
	removeChild<span style="color: #66cc66;">&#40;</span>t<span style="color: #66cc66;">&#41;</span>;
	t.<span style="color: #006600;">removeEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">COMPLETE</span>, oncomplete<span style="color: #66cc66;">&#41;</span>;
	t=<span style="color: #000000; font-weight: bold;">null</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>I didn&#8217;t forget about the lightning class part 3 that I will publish soon <img src='http://blog.oaxoa.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>As usual if you liked this drop a line in the comments.<br />
Ciao</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d106').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d106" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/&amp;title=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches" title="Add to&nbsp;BlinkBits"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinkbits.png" title="Add to&nbsp;BlinkBits" alt="Add to&nbsp;BlinkBits" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;Name=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches&amp;Description=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches&amp;Url=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/" title="Add to&nbsp;BlinkList"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinklist.png" title="Add to&nbsp;BlinkList" alt="Add to&nbsp;BlinkList" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/&amp;title=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://de.lirio.us/login/?action=add&amp;address=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/&amp;title=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches" title="Add to&nbsp;De.lirio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delirious.png" title="Add to&nbsp;De.lirio.us" alt="Add to&nbsp;De.lirio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/&amp;title=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches&amp;url=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/&amp;version=0.7" title="Add to&nbsp;Feed Me Links"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/feedmelinks.png" title="Add to&nbsp;Feed Me Links" alt="Add to&nbsp;Feed Me Links" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches&amp;u=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/" title="Add to&nbsp;FURL"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/furl.png" title="Add to&nbsp;FURL" alt="Add to&nbsp;FURL" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/&amp;title=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.linkagogo.com/go/AddNoPopup?url=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/&amp;title=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches" title="Add to&nbsp;LinkaGoGo"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/linkagogo.png" title="Add to&nbsp;LinkaGoGo" alt="Add to&nbsp;LinkaGoGo" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/&amp;title=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches&amp;description=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches" title="Add to&nbsp;Ma.gnolia"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/magnolia.png" title="Add to&nbsp;Ma.gnolia" alt="Add to&nbsp;Ma.gnolia" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/&amp;title=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/&amp;title=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/&amp;title=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.sphere.com/search?q=sphereit:http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/&amp;title=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches" title="Add to&nbsp;SphereIt"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/sphereit.png" title="Add to&nbsp;SphereIt" alt="Add to&nbsp;SphereIt" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/&amp;title=Actionscript+3+%7C+Speedcoding+video+-+session+%231%3A+Black+Branches" title="Add to&nbsp;Spurl"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://taggly.com/bookmarks.php/pass?action=add&amp;address=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/" title="Add to&nbsp;Taggly"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/taggly.png" title="Add to&nbsp;Taggly" alt="Add to&nbsp;Taggly" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d106').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->

<p><a href="http://feedads.g.doubleclick.net/~a/hvOGfZpPP3sMKvE_fNDGl9UpHCo/0/da"><img src="http://feedads.g.doubleclick.net/~a/hvOGfZpPP3sMKvE_fNDGl9UpHCo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/hvOGfZpPP3sMKvE_fNDGl9UpHCo/1/da"><img src="http://feedads.g.doubleclick.net/~a/hvOGfZpPP3sMKvE_fNDGl9UpHCo/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=qKb4ZQ6vJQY:9nl0k79vXJ4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=qKb4ZQ6vJQY:9nl0k79vXJ4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?i=qKb4ZQ6vJQY:9nl0k79vXJ4:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/OaxoaBlog/~4/qKb4ZQ6vJQY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.oaxoa.com/2009/05/05/actionscript-3-speedcoding-video-session-1-black-branches/</feedburner:origLink></item>
		<item>
		<title>Actionscript 3 Lightning class - step 2</title>
		<link>http://feedproxy.google.com/~r/OaxoaBlog/~3/2cSRibR4LgQ/</link>
		<comments>http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 22:57:47 +0000</pubDate>
		<dc:creator>Pierluigi Pesenti</dc:creator>
		
		<category><![CDATA[BitmapData]]></category>

		<category><![CDATA[Math]]></category>

		<category><![CDATA[actionscript 3]]></category>

		<category><![CDATA[algorithms]]></category>

		<category><![CDATA[fluids]]></category>

		<category><![CDATA[fun]]></category>

		<category><![CDATA[perlinNoise]]></category>

		<category><![CDATA[simulation]]></category>

		<guid isPermaLink="false">http://blog.oaxoa.com/?p=78</guid>
		<description><![CDATA[The first rule for the good blogger I read 18 months ago (when I started this blog) was: &#8220;Never, ever post on Sunday&#8230; people coming back to the office on monday morning will find tons of weekend rss notifications and miss your post among them&#8221;.
But&#8230; since I am not a good blogger and since this [...]]]></description>
			<content:encoded><![CDATA[<p>The first rule for the good blogger I read 18 months ago (when I started this blog) was: &#8220;Never, ever post on Sunday&#8230; people coming back to the office on monday morning will find tons of weekend rss notifications and miss your post among them&#8221;.</p>
<p>But&#8230; since I am not a good blogger and since this blog is mine&#8230; I do post whenever I want <img src='http://blog.oaxoa.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>Here we are with the second post dedicated to the lightning class I&#8217;m working on. It had to force myself to sit down here and write again about this, I am working on other 3 nice experiments and the fun part of this class for me has already gone, now starts the boring part: optimize/parametrize/explainize. But I think it could be interesting for someone, so here we are.</p>
<p>Still no code, I still have to optimize/parametrize but I can start to &#8220;explain-ize&#8221;. In the first post we just saw a couple of samples running. Some people asked me for the raw logic behind this. </p>
<p>The key here are two perlinNoise, one for simulate the macro behaviour and one for the micro variations. As often a monodimensional (1px height) perlinNoise is perfect to simulate bidimensional effects, since perlinNoise images contain an additional dimension defined by luminosity variations.</p>
<p>So, if from a 2D perlinNoise image you can easily get a <a href='http://blog.oaxoa.com/category/voxels/'>3D voxelTerrain</a> (X+Y+Height), from a 1D image you can easily get for instance 2D mountains (X+Height).<br />
1px height perlinNoise images are very fast to render so they do not kill your cpu even if many of them are used.</p>
<p>I have prepared two &#8220;debug&#8221; sample movies. The first is to show how the two perlinNoise bitmapDatas affect the movement of the final shape (children are disabled for clarity purpose).</p>
<p><a href='http://blog.oaxoa.com/wp-content/examples/showExample.php?f=lightning_test3.swf&#038;w=500&#038;h=400'><img src='http://blog.oaxoa.com/wp-content/lightning_test3.jpg' width='500' height='400' alt='' /><br />Debug sample #1</a></p>
<p>As you can see there are 3 different grey bars under the lightning:</p>
<ul>
<li>The first one is the perlinNoise used to displace the discharge on a micro scale</li>
<li>the second one for the macro movements (this is really what makes it feel as real)</li>
<li>the third one is the image merged onto the second one to smooth the edges.</li>
</ul>
<p>Obviously the 3 bitmaps are 1 pixel height, I just stretched them here to 30px to make &#8216;em visible.</p>
<p>Speaking about perlinNoise edges smoothing this is the fact: without any smoothing the extremities of the perlinNoise have a random value between 0&#215;000000 and 0xffffff which stand for black and white. Black value will displace the beam in a negative direction, white value will displace it in a positive direction. To be sure the edges are sticked to the x/y coords of the graphic that simulates the origin of the discharge, we need no displacement at the beginning and at the end.<br />
No displacement=grey value (0&#215;808080).</p>
<p>The easiest way to do this is to create a vector shape, fill it with a gradient (alphas=[1,0,0,1]), adjust ration accordingly to the smooth percentage and draw it onto the macro variations bitmap (Bitmap.draw(&#8230;)). Is off course possible to to this directly using bitmap methods. But I found this being the most natural for me. I like the idea to mix vector and bitmaps using the easiest way for what I need.</p>
<p>Naturally you cannot set the last pixels to medium gray without some smooth transition, and so we use the gradient. Check this sample with code snippet:</p>
<p><a href='http://blog.oaxoa.com/wp-content/examples/showExample.php?f=perlinSmoothed.swf&#038;w=500&#038;h=101'><img src='http://blog.oaxoa.com/wp-content/perlinSmoothed.jpg' width='500' height='101' alt='' /><br />perlinNoise edges smoothing</a></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript">const grey:uint=0x808080;
<span style="color: #000000; font-weight: bold;">var</span> smooth:Sprite=<span style="color: #000000; font-weight: bold;">new</span> Sprite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> ratioOffset:uint=smoothPercentage/<span style="color: #cc66cc;">100</span>*<span style="color: #cc66cc;">128</span>;
smooth.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">beginGradientFill</span><span style="color: #66cc66;">&#40;</span>GradientType.<span style="color: #006600;">LINEAR</span>, <span style="color: #66cc66;">&#91;</span>grey, grey, grey, grey<span style="color: #66cc66;">&#93;</span>, <span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">1</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#93;</span>, <span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">0</span>, ratioOffset, <span style="color: #cc66cc;">255</span>-ratioOffset, <span style="color: #cc66cc;">255</span><span style="color: #66cc66;">&#93;</span>, matrix<span style="color: #66cc66;">&#41;</span>;
smooth.<span style="color: #006600;">graphics</span>.<span style="color: #006600;">drawRect</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">0</span>, w, <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>I used the smoothing only on the macro bitmap, not one the micro too save some cpu cycle on a barely visible detail and because I like the micro variations on the edges too. </p>
<p>The second one shows the same concept applied also to children with a slider to vary the children birth probability:</p>
<blockquote><p>[demo removed cause I overwrote the files LOL. Don't ask to get them from backups please, simply refer to part 3 post :)]</p></blockquote>
<p>The main beam can create bridges of electricity, or &#8220;children&#8221;. A child is simply another instance of the class with a &#8220;generationNumber&#8221; parameter to manage descendant probability and avoid infite recursion. All the rules described until now  applies to children too. Children need to be sticked to the parent beam so they always have a non-variable smoothing of 50%.</p>
<p>Coming soon with part 3 and the full class.<br />
As always leave a comment if you find something interesting.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d78').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d78" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinkbits.com/bookmarklets/save.php?v=1&amp;source_url=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/&amp;title=Actionscript+3+Lightning+class+-+step+2" title="Add to&nbsp;BlinkBits"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinkbits.png" title="Add to&nbsp;BlinkBits" alt="Add to&nbsp;BlinkBits" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;Name=Actionscript+3+Lightning+class+-+step+2&amp;Description=Actionscript+3+Lightning+class+-+step+2&amp;Url=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/" title="Add to&nbsp;BlinkList"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/blinklist.png" title="Add to&nbsp;BlinkList" alt="Add to&nbsp;BlinkList" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/&amp;title=Actionscript+3+Lightning+class+-+step+2" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://de.lirio.us/login/?action=add&amp;address=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/&amp;title=Actionscript+3+Lightning+class+-+step+2" title="Add to&nbsp;De.lirio.us"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/delirious.png" title="Add to&nbsp;De.lirio.us" alt="Add to&nbsp;De.lirio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/&amp;title=Actionscript+3+Lightning+class+-+step+2" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=Actionscript+3+Lightning+class+-+step+2&amp;url=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/&amp;version=0.7" title="Add to&nbsp;Feed Me Links"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/feedmelinks.png" title="Add to&nbsp;Feed Me Links" alt="Add to&nbsp;Feed Me Links" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://furl.net/storeIt.jsp?t=Actionscript+3+Lightning+class+-+step+2&amp;u=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/" title="Add to&nbsp;FURL"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/furl.png" title="Add to&nbsp;FURL" alt="Add to&nbsp;FURL" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/&amp;title=Actionscript+3+Lightning+class+-+step+2" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.linkagogo.com/go/AddNoPopup?url=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/&amp;title=Actionscript+3+Lightning+class+-+step+2" title="Add to&nbsp;LinkaGoGo"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/linkagogo.png" title="Add to&nbsp;LinkaGoGo" alt="Add to&nbsp;LinkaGoGo" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://ma.gnolia.com/bookmarklet/add?url=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/&amp;title=Actionscript+3+Lightning+class+-+step+2&amp;description=Actionscript+3+Lightning+class+-+step+2" title="Add to&nbsp;Ma.gnolia"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/magnolia.png" title="Add to&nbsp;Ma.gnolia" alt="Add to&nbsp;Ma.gnolia" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/&amp;title=Actionscript+3+Lightning+class+-+step+2" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/&amp;title=Actionscript+3+Lightning+class+-+step+2" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/&amp;title=Actionscript+3+Lightning+class+-+step+2" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.sphere.com/search?q=sphereit:http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/&amp;title=Actionscript+3+Lightning+class+-+step+2" title="Add to&nbsp;SphereIt"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/sphereit.png" title="Add to&nbsp;SphereIt" alt="Add to&nbsp;SphereIt" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/&amp;title=Actionscript+3+Lightning+class+-+step+2" title="Add to&nbsp;Spurl"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://taggly.com/bookmarks.php/pass?action=add&amp;address=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/" title="Add to&nbsp;Taggly"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/taggly.png" title="Add to&nbsp;Taggly" alt="Add to&nbsp;Taggly" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.oaxoa.com/wp-content/plugins/social_bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d78').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->

<p><a href="http://feedads.g.doubleclick.net/~a/4cN8-IpE_HbCbEHLJOKZzdxVvHM/0/da"><img src="http://feedads.g.doubleclick.net/~a/4cN8-IpE_HbCbEHLJOKZzdxVvHM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/4cN8-IpE_HbCbEHLJOKZzdxVvHM/1/da"><img src="http://feedads.g.doubleclick.net/~a/4cN8-IpE_HbCbEHLJOKZzdxVvHM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=2cSRibR4LgQ:e0jHWbVyXhY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/OaxoaBlog?a=2cSRibR4LgQ:e0jHWbVyXhY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/OaxoaBlog?i=2cSRibR4LgQ:e0jHWbVyXhY:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/OaxoaBlog/~4/2cSRibR4LgQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.oaxoa.com/2009/04/26/actionscript-3-lightning-class-step-2/</feedburner:origLink></item>
	</channel>
</rss>

