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

<channel>
	<title>Nate&#039;s Code Vault</title>
	<atom:link href="http://natescodevault.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://natescodevault.com</link>
	<description>from the dark recesses of an anxious mind</description>
	<lastBuildDate>Sat, 21 Jan 2012 03:42:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>D3.js Data Visualizations</title>
		<link>http://natescodevault.com/2011/11/28/d3-js-data-visualizations/</link>
		<comments>http://natescodevault.com/2011/11/28/d3-js-data-visualizations/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 03:40:58 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[charting]]></category>
		<category><![CDATA[d3]]></category>

		<guid isPermaLink="false">http://natescodevault.com/?p=349</guid>
		<description><![CDATA[
I&#8217;ve been playing with an incredible visualization library over the past few weeks called D3.js.  I&#8217;m really amazed at how much work Mike Bostock and others have put into this library (they really know their stuff!) and I&#8217;ve been very impressed with the direction D3 has taken.  I&#8217;ve used my fair share of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://natescodevault.com/js/line/"><img class="aligncenter size-medium wp-image-350" title="Screen Shot 2011-11-28 at 8.38.22 PM" src="http://natescodevault.com/wp-content/uploads/2011/11/Screen-Shot-2011-11-28-at-8.38.22-PM-300x163.png" alt="Screen Shot 2011-11-28 at 8.38.22 PM" width="300" height="163" /></a></p>
<p>I&#8217;ve been playing with an incredible visualization library over the past few weeks called <a title="D3.js" href="http://mbostock.github.com/d3" target="_blank">D3.js</a>.  I&#8217;m really amazed at how much work <a href="https://twitter.com/mbostock" target="_blank">Mike Bostock</a> and others have put into this library (they really know their stuff!) and I&#8217;ve been very impressed with the direction D3 has taken.  I&#8217;ve used my fair share of charting libraries in the past and while they are good at getting you 80% of the use cases you need, they fall down in the 20% of the edge cases PM or UX inevitably throws at you.  Whenever I use a charting framework, the 20% always takes A TON of time.  Many times the 20% is unplanned and sprung on the developer later in the development cycle which leads to unnecessarily long timelines, or short-sighted hacks that you pay for later.</p>
<p>I&#8217;ve spent hours digging into charting frameworks looking for classes to extend or behaviors to inject in order to cram some functionality into it that were never intended by the framework creators.  Several of my posts in the past have actually demonstrated some of the tricky solutions I&#8217;ve had to use to twist a framework&#8217;s arm to give me what I need.  D3 however is very different.</p>
<p>D3 is built to interact with the DOM and gets you as close to the visual representation as you possibly can without hiding it behind an API you have to learn.  If you know how to manipulate SVG and the DOM then you have a boost on a charting framework which requires you to learn their particular abstraction.  This allows you to leverage that knowledge you may already have, or provide you the opportunity to learn techniques which will outlive any charting framework down the road.</p>
<p>D3 is also extremely good at providing transition support.  You can easily inject transitions whenever data is added, removed, or updated with some simple method chaining.  The example I created shows exactly how easy this is to pull off.  I&#8217;d love to see any charting framework allow for custom transitions like the ones in my example without leaving the developer writhing on the ground in agony.</p>
<p><a title="D3 Line Chart" href="http://natescodevault.com/js/line/" target="_self"><strong>Here is my example.</strong></a> Click the redraw button to randomly change the data and see the animations I made!  View source to see the javascript I used to create it.  Here are a couple of my favorite things about this example (and D3 by extension):</p>
<ol>
<li>Notice how easy it is to create transitions and even chain them with a delay by simply adding enter() and exit() handlers.  Updates are handled by the selectors.  Lines enter from the bottom of the y axis and drift into their positions then exit in reverse when they are destroyed.</li>
<li>Each axis has beautiful transitions for adding/removing/updating grid lines and labels.  The axis component comes in the D3 library and is pretty easy to configure.</li>
<li>As data points increase to the point where showing circle data point renderers doesn&#8217;t make sense, I can animate them to radius = 0 and hide them from the user in a subtle way.</li>
<li>D3 is really good at interpolation.  You can click that &#8220;redraw&#8221; button til you&#8217;re blue in the face and D3 handles all the transitions without breaking or getting stuck in a bad state!</li>
<li>D3&#8217;s scaling system is a beautiful thing.  I can bind dates to the x axis with ease and request an x position for any date and receive it.  It makes positioning extremely simple.</li>
</ol>
<p>If I peaked your interest in D3, feel free to check out <a title="D3" href="http://mbostock.github.com/d3">D3&#8217;s home on github</a> which includes some great tutorials.  I also like Mike&#8217;s basic examples of how D3 works <a href="http://mbostock.github.com/d3/tutorial/circle.html">here</a> and his talk at <a href="http://cdn-smooth.ms-studiosmedia.com/events/W3C/Day2/Web_Standards.mp4">W3Conf</a>.  I also found the tutorials <a href="http://www.janwillemtulp.com/2011/04/01/tutorial-line-chart-in-d3/">here</a> and <a href="http://www.recursion.org/d3-for-mere-mortals/">here</a> very useful.</p>


<div class="shr-bookmarks shr-bookmarks-spaced shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Reading+D3.js+Data+Visualizations+-+http://su.pr/1bmPaU+%28via+%40nross83%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://natescodevault.com/2011/11/28/d3-js-data-visualizations/&amp;t=D3.js+Data+Visualizations" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://natescodevault.com/2011/11/28/d3-js-data-visualizations/&amp;title=D3.js+Data+Visualizations&amp;summary=%0A%0AI%27ve%20been%20playing%20with%20an%20incredible%20visualization%20library%20over%20the%20past%20few%20weeks%20called%20D3.js.%20%20I%27m%20really%20amazed%20at%20how%20much%20work%20Mike%20Bostock%20and%20others%20have%20put%20into%20this%20library%20%28they%20really%20know%20their%20stuff%21%29%20and%20I%27ve%20been%20very%20impressed%20with%20the%20direction%20D3%20has%20taken.%20%20I%27ve%20used%20my%20fair%20s&amp;source=Nate&#039;s Code Vault" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://natescodevault.com/2011/11/28/d3-js-data-visualizations/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://natescodevault.com/2011/11/28/d3-js-data-visualizations/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://natescodevault.com/2011/11/28/d3-js-data-visualizations/&amp;title=D3.js+Data+Visualizations" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://natescodevault.com/2011/11/28/d3-js-data-visualizations/&amp;title=D3.js+Data+Visualizations&amp;description=%0A%0AI%27ve%20been%20playing%20with%20an%20incredible%20visualization%20library%20over%20the%20past%20few%20weeks%20called%20D3.js.%20%20I%27m%20really%20amazed%20at%20how%20much%20work%20Mike%20Bostock%20and%20others%20have%20put%20into%20this%20library%20%28they%20really%20know%20their%20stuff%21%29%20and%20I%27ve%20been%20very%20impressed%20with%20the%20direction%20D3%20has%20taken.%20%20I%27ve%20used%20my%20fair%20s" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://natescodevault.com/2011/11/28/d3-js-data-visualizations/&amp;title=D3.js+Data+Visualizations" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://natescodevault.com/2011/11/28/d3-js-data-visualizations/&amp;title=D3.js+Data+Visualizations" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://natescodevault.com/2011/11/28/d3-js-data-visualizations/&amp;title=D3.js+Data+Visualizations" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://natescodevault.com/2011/11/28/d3-js-data-visualizations/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
<enclosure url="http://cdn-smooth.ms-studiosmedia.com/events/W3C/Day2/Web_Standards.mp4" length="453051173" type="video/mp4" />
		</item>
		<item>
		<title>New Job at Adobe</title>
		<link>http://natescodevault.com/2011/04/12/new-job-at-adobe/</link>
		<comments>http://natescodevault.com/2011/04/12/new-job-at-adobe/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 01:52:44 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[Myself]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Rain]]></category>

		<guid isPermaLink="false">http://natescodevault.com/?p=340</guid>
		<description><![CDATA[This post has been a long time coming, but a few weeks ago I decided to take a job with Adobe working in the Omniture Business Unit.  It was a pretty difficult decision (I really love Rain!), but in the end I felt that joining Adobe was the best move for me and my family. [...]]]></description>
			<content:encoded><![CDATA[<p>This post has been a long time coming, but a few weeks ago I decided to take a job with Adobe working in the Omniture Business Unit.  It was a pretty difficult decision (I really love <a title="Rain" href="http://www.mediarain.com" target="_blank">Rain</a>!), but in the end I felt that joining Adobe was the best move for me and my family.  My job here will be to help bring Flex and AIR technologies to SiteCatalyst and other products within the Omniture Suite.  I&#8217;ll also be spending a little more time in PHP and traditional front end web technologies (HTML, CSS, JS).</p>
<p>My biggest fear in leaving Rain was that I would miss out on some of the great aspects of agency-life:  lots of new and varying projects.  I had many opportunities to lead high-profile projects doing cutting edge work to help our clients stay ahead of the curve.  Besides Flex and AIR, I also got to build mobile applications on iOS and Android.   My two favorite projects were <a title="Playground Sessions" href="http://www.playgroundmusiconline.com/" target="_blank">Playground Sessions</a> (soon to be in a closed Alpha release) and <a title="PianoMarvel" href="http://www.pianomarvel.com" target="_blank">PianoMarvel</a> (both AIR desktop applications that teach people how to play piano).  Rain is currently positioned as a developer-heavy digital agency and prides themselves on being able to do all the crazy awesome technically complex projects that other more traditional agencies don&#8217;t have the chops for.  Needless to say I learned a lot working there.</p>
<p>One of the things that gets me excited about working for Adobe is that I&#8217;m going to have similar experiences here.  There are a lot of great ideas that have been brewing for a long time and I&#8217;ll get to be the catalyst to see them through with my unique experience.  I say unique because at this time <a title="Aaron Hardy" href="http://aaronhardy.com" target="_blank">Aaron Hardy</a> (great buddy at Rain who joined Adobe at around the same time I did) and myself are really the only experienced Flex/AIR developers in the entire Omniture business unit of Adobe.  Plus, ever since I began learning Flex, I have begun to develop an affinity for Adobe and their products.  It has always been one of my goals to work for Adobe for many years now because I love the company and the community.  Now I&#8217;m excited to play a much more central role in it!</p>


<div class="shr-bookmarks shr-bookmarks-spaced shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Reading+New+Job+at+Adobe+-+http://su.pr/1U5KOy+%28via+%40nross83%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://natescodevault.com/2011/04/12/new-job-at-adobe/&amp;t=New+Job+at+Adobe" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://natescodevault.com/2011/04/12/new-job-at-adobe/&amp;title=New+Job+at+Adobe&amp;summary=This%20post%20has%20been%20a%20long%20time%20coming%2C%20but%20a%20few%20weeks%20ago%20I%20decided%20to%20take%20a%20job%20with%20Adobe%20working%20in%20the%20Omniture%20Business%20Unit.%20%C2%A0It%20was%20a%20pretty%20difficult%20decision%20%28I%20really%20love%20Rain%21%29%2C%20but%20in%20the%20end%20I%20felt%20that%20joining%20Adobe%20was%20the%20best%20move%20for%20me%20and%20my%20family.%20%C2%A0My%20job%20here%20will%20be%20to%20h&amp;source=Nate&#039;s Code Vault" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://natescodevault.com/2011/04/12/new-job-at-adobe/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://natescodevault.com/2011/04/12/new-job-at-adobe/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://natescodevault.com/2011/04/12/new-job-at-adobe/&amp;title=New+Job+at+Adobe" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://natescodevault.com/2011/04/12/new-job-at-adobe/&amp;title=New+Job+at+Adobe&amp;description=This%20post%20has%20been%20a%20long%20time%20coming%2C%20but%20a%20few%20weeks%20ago%20I%20decided%20to%20take%20a%20job%20with%20Adobe%20working%20in%20the%20Omniture%20Business%20Unit.%20%C2%A0It%20was%20a%20pretty%20difficult%20decision%20%28I%20really%20love%20Rain%21%29%2C%20but%20in%20the%20end%20I%20felt%20that%20joining%20Adobe%20was%20the%20best%20move%20for%20me%20and%20my%20family.%20%C2%A0My%20job%20here%20will%20be%20to%20h" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://natescodevault.com/2011/04/12/new-job-at-adobe/&amp;title=New+Job+at+Adobe" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://natescodevault.com/2011/04/12/new-job-at-adobe/&amp;title=New+Job+at+Adobe" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://natescodevault.com/2011/04/12/new-job-at-adobe/&amp;title=New+Job+at+Adobe" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://natescodevault.com/2011/04/12/new-job-at-adobe/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PieChart with variable inner radius</title>
		<link>http://natescodevault.com/2011/02/14/piechart-with-variable-inner-radius/</link>
		<comments>http://natescodevault.com/2011/02/14/piechart-with-variable-inner-radius/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 02:57:35 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[charting]]></category>
		<category><![CDATA[PieChart]]></category>

		<guid isPermaLink="false">http://natescodevault.com/?p=331</guid>
		<description><![CDATA[At Rain I have the privilege of working with some of the most talented designers in the industry.  They often dream up new ways to visualize data.  While it&#8217;s exciting to see what they come up with, it&#8217;s also kind of daunting from time-to-time because I have to figure out a way to [...]]]></description>
			<content:encoded><![CDATA[<p>At Rain I have the privilege of working with some of the most talented designers in the industry.  They often dream up new ways to visualize data.  While it&#8217;s exciting to see what they come up with, it&#8217;s also kind of daunting from time-to-time because I have to figure out a way to build these views/components!</p>
<p>Recently I had the challenge of trying to implement a pie chart which changed its innerRadius whenever a wedge in the chart was rolled over.  The designer wanted it to grow and animate to that new radius.  Essentially they wanted something kinda like this:</p>
<p><span id="more-331"></span></p>
<div id="attachment_332" class="wp-caption aligncenter" style="width: 207px"><a rel="attachment wp-att-332" href="http://natescodevault.com/?attachment_id=332"><img class="size-full wp-image-332" title="VariableInnerRadiusPieChart" src="http://natescodevault.com/wp-content/uploads/2011/02/VariableInnerRadiusPieChart.png" alt="Selected index's inner radius changes when rolled over" width="197" height="198" /></a><p class="wp-caption-text">Selected index&#39;s inner radius changes when rolled over</p></div>
<p>I immediately cringed a little bit because although the charting components are extremely powerful, they can also be very difficult to extend.  So I started refreshing my mind on how the charting components work and spent a bit of time looking on <a href="http://www.quietlyscheming.com/blog/charts/chart-sampler/" target="_blank">Ely Greenfield&#8217;s site</a> for tips (he&#8217;s the charting master of the Flex SDK team).  While I wound up building the component myself since it didn&#8217;t already exist on the intertubes, Ely&#8217;s examples showed me the proper way charting components should be extended.</p>
<p>In the end I wound up extending PieSeries and creating my own which I called VariableInnerRadiusPieSeries (creative right?).  The code actually wound up being much simpler that I initially thought!.  Check out the <a title="VariableInnerRadiusPieChart" href="http://natescodevault.com/Flex/VariableInnerRadiusPieChart/" target="_blank">example (right click to see the source)</a>.</p>


<div class="shr-bookmarks shr-bookmarks-spaced shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Reading+PieChart+with+variable+inner+radius+-+http://su.pr/78VU80+%28via+%40nross83%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://natescodevault.com/2011/02/14/piechart-with-variable-inner-radius/&amp;t=PieChart+with+variable+inner+radius" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://natescodevault.com/2011/02/14/piechart-with-variable-inner-radius/&amp;title=PieChart+with+variable+inner+radius&amp;summary=At%20Rain%20I%20have%20the%20privilege%20of%20working%20with%20some%20of%20the%20most%20talented%20designers%20in%20the%20industry.%20%20They%20often%20dream%20up%20new%20ways%20to%20visualize%20data.%20%20While%20it%27s%20exciting%20to%20see%20what%20they%20come%20up%20with%2C%20it%27s%20also%20kind%20of%20daunting%20from%20time-to-time%20because%20I%20have%20to%20figure%20out%20a%20way%20to%20build%20these%20views%2F&amp;source=Nate&#039;s Code Vault" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://natescodevault.com/2011/02/14/piechart-with-variable-inner-radius/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://natescodevault.com/2011/02/14/piechart-with-variable-inner-radius/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://natescodevault.com/2011/02/14/piechart-with-variable-inner-radius/&amp;title=PieChart+with+variable+inner+radius" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://natescodevault.com/2011/02/14/piechart-with-variable-inner-radius/&amp;title=PieChart+with+variable+inner+radius&amp;description=At%20Rain%20I%20have%20the%20privilege%20of%20working%20with%20some%20of%20the%20most%20talented%20designers%20in%20the%20industry.%20%20They%20often%20dream%20up%20new%20ways%20to%20visualize%20data.%20%20While%20it%27s%20exciting%20to%20see%20what%20they%20come%20up%20with%2C%20it%27s%20also%20kind%20of%20daunting%20from%20time-to-time%20because%20I%20have%20to%20figure%20out%20a%20way%20to%20build%20these%20views%2F" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://natescodevault.com/2011/02/14/piechart-with-variable-inner-radius/&amp;title=PieChart+with+variable+inner+radius" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://natescodevault.com/2011/02/14/piechart-with-variable-inner-radius/&amp;title=PieChart+with+variable+inner+radius" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://natescodevault.com/2011/02/14/piechart-with-variable-inner-radius/&amp;title=PieChart+with+variable+inner+radius" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://natescodevault.com/2011/02/14/piechart-with-variable-inner-radius/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Transmission AS3 &#8211; Jar directories</title>
		<link>http://natescodevault.com/2010/09/12/transmission-as3-jar-directories/</link>
		<comments>http://natescodevault.com/2010/09/12/transmission-as3-jar-directories/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 03:56:39 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Transmission AS3]]></category>
		<category><![CDATA[Native Process]]></category>
		<category><![CDATA[Transmission]]></category>

		<guid isPermaLink="false">http://natescodevault.com/?p=317</guid>
		<description><![CDATA[Just added a small little feature to Transmission today.  If you&#8217;re not familiar with Transmission, it&#8217;s an AIR 2 to Java Native Process communication layer.
Instead of having to specify each jar one at a time, you can specify a directory that contains all of your Java jars.  The TransmissionDemo project contained in the [...]]]></description>
			<content:encoded><![CDATA[<p>Just added a small little feature to <a href="http://code.google.com/p/transmission-as3/">Transmission</a> today.  If you&#8217;re not familiar with Transmission, it&#8217;s <a href="http://natescodevault.com/?p=258">an AIR 2 to Java Native Process communication layer</a>.</p>
<p>Instead of having to specify each jar one at a time, you can specify a directory that contains all of your Java jars.  The TransmissionDemo project contained in <a href="http://code.google.com/p/transmission-as3/">the repo</a> has been updated to show this.</p>
<div id="attachment_318" class="wp-caption aligncenter" style="width: 603px"><a href="http://natescodevault.com/?attachment_id=318" rel="attachment wp-att-318"><img src="http://natescodevault.com/wp-content/uploads/2010/09/Jar_directory.png" alt="Example from TransmissionDemo" title="Jar_directory" width="593" height="105" class="size-full wp-image-318" /></a><p class="wp-caption-text">Example from TransmissionDemo</p></div>


<div class="shr-bookmarks shr-bookmarks-spaced shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Reading+Transmission+AS3+-+Jar+directories+-+http://su.pr/2NPDI0+%28via+%40nross83%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://natescodevault.com/2010/09/12/transmission-as3-jar-directories/&amp;t=Transmission+AS3+-+Jar+directories" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://natescodevault.com/2010/09/12/transmission-as3-jar-directories/&amp;title=Transmission+AS3+-+Jar+directories&amp;summary=Just%20added%20a%20small%20little%20feature%20to%20Transmission%20today.%20%20If%20you%27re%20not%20familiar%20with%20Transmission%2C%20it%27s%20an%20AIR%202%20to%20Java%20Native%20Process%20communication%20layer.%0D%0A%0D%0AInstead%20of%20having%20to%20specify%20each%20jar%20one%20at%20a%20time%2C%20you%20can%20specify%20a%20directory%20that%20contains%20all%20of%20your%20Java%20jars.%20%20The%20TransmissionDemo&amp;source=Nate&#039;s Code Vault" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://natescodevault.com/2010/09/12/transmission-as3-jar-directories/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://natescodevault.com/2010/09/12/transmission-as3-jar-directories/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://natescodevault.com/2010/09/12/transmission-as3-jar-directories/&amp;title=Transmission+AS3+-+Jar+directories" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://natescodevault.com/2010/09/12/transmission-as3-jar-directories/&amp;title=Transmission+AS3+-+Jar+directories&amp;description=Just%20added%20a%20small%20little%20feature%20to%20Transmission%20today.%20%20If%20you%27re%20not%20familiar%20with%20Transmission%2C%20it%27s%20an%20AIR%202%20to%20Java%20Native%20Process%20communication%20layer.%0D%0A%0D%0AInstead%20of%20having%20to%20specify%20each%20jar%20one%20at%20a%20time%2C%20you%20can%20specify%20a%20directory%20that%20contains%20all%20of%20your%20Java%20jars.%20%20The%20TransmissionDemo" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://natescodevault.com/2010/09/12/transmission-as3-jar-directories/&amp;title=Transmission+AS3+-+Jar+directories" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://natescodevault.com/2010/09/12/transmission-as3-jar-directories/&amp;title=Transmission+AS3+-+Jar+directories" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://natescodevault.com/2010/09/12/transmission-as3-jar-directories/&amp;title=Transmission+AS3+-+Jar+directories" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://natescodevault.com/2010/09/12/transmission-as3-jar-directories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transmission AS3 &#8211; Remote debugging AIR and Java</title>
		<link>http://natescodevault.com/2010/09/06/transmission-as3-remote-debugging-air-and-java/</link>
		<comments>http://natescodevault.com/2010/09/06/transmission-as3-remote-debugging-air-and-java/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 19:48:06 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Transmission AS3]]></category>

		<guid isPermaLink="false">http://natescodevault.com/?p=289</guid>
		<description><![CDATA[Today I added a new feature to Transmission which allows for debugging the java side of your application.  The step-by-step details for making it work are as follows (I will be using the TransmissionDemo project in the repo to illustrate this).
1.  An optional parameter has been added to the init method of the [...]]]></description>
			<content:encoded><![CDATA[<p>Today I added a new feature to <a href="http://code.google.com/p/transmission-as3/">Transmission</a> which allows for debugging the java side of your application.  The step-by-step details for making it work are as follows (I will be using the TransmissionDemo project in the repo to illustrate this).</p>
<p>1.  An optional parameter has been added to the init method of the Flex side of Transmission which by default sets remote debugging to true.  Make sure that in production this parameter is set to false.<br />
<a rel="attachment wp-att-290" href="http://natescodevault.com/?attachment_id=290"><img class="size-full wp-image-290" title="API_Change" src="http://natescodevault.com/wp-content/uploads/2010/09/API_Change.png" alt="Transmission init method changes" width="615" height="32" /></a></p>
<p>2.  Open up Flash Builder, and import the TransmissionDemo and Transmission projects.  Then run the TransmissionDemo project.  Now it&#8217;s time to set up the Eclipse debugging environment.  Minimize the AIR application for now&#8230;</p>
<p>3.  Open up Eclipse and import the TransmissionDemo and Transmission projects.</p>
<p>4.  Now we will setup the remote configuration in Eclipse by going to the Debug Configurations screen. Right click on the TransmissionDemo project -> Debug As -> Debug Configurations</p>
<p><a rel="attachment wp-att-292" href="http://natescodevault.com/?attachment_id=292"><img class="size-full wp-image-292" title="Debug_Configurations" src="http://natescodevault.com/wp-content/uploads/2010/09/Debug_Configurations.png" alt="Open the Debug Configurations menu" width="646" height="400" /></a></p>
<p>5.  Now let&#8217;s set up the connection.  First right click on Remote Java Application and choose New.  Next make sure the TransmissionDemo project is chosen.  Finally choose Standard (Socket attach), host: localhost, and port: 8000 and then click the Debug button.</p>
<p><a rel="attachment wp-att-293" href="http://natescodevault.com/?attachment_id=293"><img class="aligncenter size-full wp-image-293" title="Remote_Debug" src="http://natescodevault.com/wp-content/uploads/2010/09/Remote_Debug.png" alt="Remote_Debug" width="623" height="500" /></a></p>
<p>5.  Set a breakpoint on the first line of the DemoMessageHandler.java file in the TransmissionDemo project within Eclipse.</p>
<p>6.  Return to the TransmissionDemo AIR window and click on the &#8220;Send Transmission Message&#8221; button.</p>
<p><a rel="attachment wp-att-294" href="http://natescodevault.com/?attachment_id=294"><img class="size-full wp-image-294" title="TransmissionDemo" src="http://natescodevault.com/wp-content/uploads/2010/09/TransmissionDemo.png" alt="Open TransmissionDemo and click on the button" width="497" height="116" /></a></p>
<p>7.  You should hit your breakpoint.</p>
<p><a rel="attachment wp-att-291" href="http://natescodevault.com/?attachment_id=291"><img class="aligncenter size-full wp-image-291" title="Breakpoint" src="http://natescodevault.com/wp-content/uploads/2010/09/Breakpoint.png" alt="Breakpoint" width="503" height="204" /></a></p>


<div class="shr-bookmarks shr-bookmarks-spaced shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Reading+Transmission+AS3+-+Remote+debugging+AIR+and+Java+-+http://su.pr/2L71GB+%28via+%40nross83%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://natescodevault.com/2010/09/06/transmission-as3-remote-debugging-air-and-java/&amp;t=Transmission+AS3+-+Remote+debugging+AIR+and+Java" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://natescodevault.com/2010/09/06/transmission-as3-remote-debugging-air-and-java/&amp;title=Transmission+AS3+-+Remote+debugging+AIR+and+Java&amp;summary=Today%20I%20added%20a%20new%20feature%20to%20Transmission%20which%20allows%20for%20debugging%20the%20java%20side%20of%20your%20application.%20%20The%20step-by-step%20details%20for%20making%20it%20work%20are%20as%20follows%20%28I%20will%20be%20using%20the%20TransmissionDemo%20project%20in%20the%20repo%20to%20illustrate%20this%29.%0A%0A1.%20%20An%20optional%20parameter%20has%20been%20added%20to%20the%20init%20m&amp;source=Nate&#039;s Code Vault" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://natescodevault.com/2010/09/06/transmission-as3-remote-debugging-air-and-java/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://natescodevault.com/2010/09/06/transmission-as3-remote-debugging-air-and-java/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://natescodevault.com/2010/09/06/transmission-as3-remote-debugging-air-and-java/&amp;title=Transmission+AS3+-+Remote+debugging+AIR+and+Java" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://natescodevault.com/2010/09/06/transmission-as3-remote-debugging-air-and-java/&amp;title=Transmission+AS3+-+Remote+debugging+AIR+and+Java&amp;description=Today%20I%20added%20a%20new%20feature%20to%20Transmission%20which%20allows%20for%20debugging%20the%20java%20side%20of%20your%20application.%20%20The%20step-by-step%20details%20for%20making%20it%20work%20are%20as%20follows%20%28I%20will%20be%20using%20the%20TransmissionDemo%20project%20in%20the%20repo%20to%20illustrate%20this%29.%0A%0A1.%20%20An%20optional%20parameter%20has%20been%20added%20to%20the%20init%20m" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://natescodevault.com/2010/09/06/transmission-as3-remote-debugging-air-and-java/&amp;title=Transmission+AS3+-+Remote+debugging+AIR+and+Java" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://natescodevault.com/2010/09/06/transmission-as3-remote-debugging-air-and-java/&amp;title=Transmission+AS3+-+Remote+debugging+AIR+and+Java" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://natescodevault.com/2010/09/06/transmission-as3-remote-debugging-air-and-java/&amp;title=Transmission+AS3+-+Remote+debugging+AIR+and+Java" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://natescodevault.com/2010/09/06/transmission-as3-remote-debugging-air-and-java/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Transmission AS3 gets a logo and forum support!</title>
		<link>http://natescodevault.com/2010/08/29/transmission-as3-gets-a-logo-and-forum-support/</link>
		<comments>http://natescodevault.com/2010/08/29/transmission-as3-gets-a-logo-and-forum-support/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 03:45:01 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Transmission AS3]]></category>
		<category><![CDATA[AIR 2.0]]></category>
		<category><![CDATA[Transmission]]></category>

		<guid isPermaLink="false">http://natescodevault.com/?p=268</guid>
		<description><![CDATA[Just finished making a logo for Transmission.  Let me take you through my revision process.
I first started with kind of a retro-ish look.

Then I kind of toyed with the radio tower idea in the Transmission name for a little bit:

It was OK, but I still wasn&#8217;t loving it.  So I went in a different direction:

Then [...]]]></description>
			<content:encoded><![CDATA[<p>Just finished making a logo for Transmission.  Let me take you through my revision process.</p>
<p>I first started with kind of a retro-ish look.</p>
<p><a rel="attachment wp-att-275" href="http://natescodevault.com/?attachment_id=275"><img class="aligncenter size-full wp-image-275" title="transmission_rev1" src="http://natescodevault.com/wp-content/uploads/2010/08/transmission_rev1.png" alt="transmission_rev1" width="128" height="128" /></a></p>
<p>Then I kind of toyed with the radio tower idea in the Transmission name for a little bit:</p>
<p><a rel="attachment wp-att-276" href="http://natescodevault.com/?attachment_id=276"><img class="aligncenter size-full wp-image-276" title="transmission_rev2" src="http://natescodevault.com/wp-content/uploads/2010/08/transmission_rev2.png" alt="transmission_rev2" width="282" height="65" /></a></p>
<p>It was OK, but I still wasn&#8217;t loving it.  So I went in a different direction:</p>
<p><a rel="attachment wp-att-277" href="http://natescodevault.com/?attachment_id=277"><img class="aligncenter size-full wp-image-277" title="transmission_rev3" src="http://natescodevault.com/wp-content/uploads/2010/08/transmission_rev3.png" alt="transmission_rev3" width="282" height="65" /></a></p>
<p>Then finally I settled on a logo I liked.  Kind of coming full circle but with a more modern look.</p>
<p><a rel="attachment wp-att-269" href="http://natescodevault.com/?attachment_id=269"><img class="aligncenter size-full wp-image-269" title="transmission_logo_full" src="http://natescodevault.com/wp-content/uploads/2010/08/transmission_logo_full.png" alt="transmission_logo_full" width="285" height="77" /></a></p>
<p>I&#8217;m definitely not a designer and it&#8217;s pretty simple, but I kinda like it.  Let me know what you think!</p>
<p>We also have a <a title="Transmission forums" href="http://groups.google.com/group/transmission-as3" target="_self">forum</a> set up for questions.</p>
<p>As always, the code is hosted <a title="Transmission code" href="http://code.google.com/p/transmission-as3/" target="_self">here</a>.</p>


<div class="shr-bookmarks shr-bookmarks-spaced shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Reading+Transmission+AS3+gets+a+logo+and+forum+support%21+-+http://su.pr/16cUwu+%28via+%40nross83%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://natescodevault.com/2010/08/29/transmission-as3-gets-a-logo-and-forum-support/&amp;t=Transmission+AS3+gets+a+logo+and+forum+support%21" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://natescodevault.com/2010/08/29/transmission-as3-gets-a-logo-and-forum-support/&amp;title=Transmission+AS3+gets+a+logo+and+forum+support%21&amp;summary=Just%20finished%20making%20a%20logo%20for%20Transmission.%C2%A0%20Let%20me%20take%20you%20through%20my%20revision%20process.%0D%0A%0D%0AI%20first%20started%20with%20kind%20of%20a%20retro-ish%20look.%0D%0A%0D%0A%0D%0A%0D%0AThen%20I%20kind%20of%20toyed%20with%20the%20radio%20tower%20idea%20in%20the%20Transmission%20name%20for%20a%20little%20bit%3A%0D%0A%0D%0A%0D%0A%0D%0AIt%20was%20OK%2C%20but%20I%20still%20wasn%27t%20loving%20it.%C2%A0%20So%20I%20went%20&amp;source=Nate&#039;s Code Vault" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://natescodevault.com/2010/08/29/transmission-as3-gets-a-logo-and-forum-support/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://natescodevault.com/2010/08/29/transmission-as3-gets-a-logo-and-forum-support/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://natescodevault.com/2010/08/29/transmission-as3-gets-a-logo-and-forum-support/&amp;title=Transmission+AS3+gets+a+logo+and+forum+support%21" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://natescodevault.com/2010/08/29/transmission-as3-gets-a-logo-and-forum-support/&amp;title=Transmission+AS3+gets+a+logo+and+forum+support%21&amp;description=Just%20finished%20making%20a%20logo%20for%20Transmission.%C2%A0%20Let%20me%20take%20you%20through%20my%20revision%20process.%0D%0A%0D%0AI%20first%20started%20with%20kind%20of%20a%20retro-ish%20look.%0D%0A%0D%0A%0D%0A%0D%0AThen%20I%20kind%20of%20toyed%20with%20the%20radio%20tower%20idea%20in%20the%20Transmission%20name%20for%20a%20little%20bit%3A%0D%0A%0D%0A%0D%0A%0D%0AIt%20was%20OK%2C%20but%20I%20still%20wasn%27t%20loving%20it.%C2%A0%20So%20I%20went%20" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://natescodevault.com/2010/08/29/transmission-as3-gets-a-logo-and-forum-support/&amp;title=Transmission+AS3+gets+a+logo+and+forum+support%21" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://natescodevault.com/2010/08/29/transmission-as3-gets-a-logo-and-forum-support/&amp;title=Transmission+AS3+gets+a+logo+and+forum+support%21" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://natescodevault.com/2010/08/29/transmission-as3-gets-a-logo-and-forum-support/&amp;title=Transmission+AS3+gets+a+logo+and+forum+support%21" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://natescodevault.com/2010/08/29/transmission-as3-gets-a-logo-and-forum-support/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Transmission AIR 2 to Java &#8212; Hide Java from Mac Dock</title>
		<link>http://natescodevault.com/2010/08/29/transmission-air-2-to-java-hide-java-from-mac-dock/</link>
		<comments>http://natescodevault.com/2010/08/29/transmission-air-2-to-java-hide-java-from-mac-dock/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 16:35:03 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Transmission AS3]]></category>
		<category><![CDATA[AIR 2.0]]></category>
		<category><![CDATA[Transmission]]></category>

		<guid isPermaLink="false">http://natescodevault.com/?p=260</guid>
		<description><![CDATA[Often when developing an application for AIR 2.0 we realize that for whatever reason we simply can&#8217;t accomplish the task at hand without involving another language such as Java.  There are several reasons why this might be the case, the fact that AIR 2.0 doesn&#8217;t work with non-storage USB devices such as a MIDI [...]]]></description>
			<content:encoded><![CDATA[<p>Often when developing an application for AIR 2.0 we realize that for whatever reason we simply can&#8217;t accomplish the task at hand without involving another language such as Java.  There are several reasons why this might be the case, the fact that AIR 2.0 doesn&#8217;t work with non-storage USB devices such as a MIDI piano, another might be the use of Java multi-threaded capabilities for time sensitive operations that won&#8217;t bog down your UI.  For developers looking to easily integrate the 2 languages, <a href="http://code.google.com/p/transmission-as3">Transmission</a> holds the key for quick and effective communication between AIR and Java using AMF.</p>
<p>One pitfall I came across a few months ago dealt with the fact that Java applications always show up on the Mac dock, even while using Transmission.  This is problematic because starting up an AIR application which starts up Java shows 2 applications running on the Mac dock.  This might be confusing for users, plus it gives them the opportunity to kill the Java application which inhibits your AIR application from taking advantage of Java.  To resolve this issue I have provided a fix.  On the Windows side, you don&#8217;t need to worry.  Java will only show itself in the windows toolbar if UI code is present.  Otherwise it will be hidden by default.</p>
<p>The process to do this on a Mac is to wrap your application&#8217;s jars in a Mac OS X application.  To do this, we need to use a Utility called Jar Bundler.  This should be found here: /Developer/Applications/Utilities or you can pull it up in Spotlight.  When you open the application, you should see a screen like this:</p>
<div id="attachment_261" class="wp-caption aligncenter" style="width: 661px"><a rel="attachment wp-att-261" href="http://natescodevault.com/?attachment_id=261"><img class="size-full wp-image-261" title="Jar Bundler" src="http://natescodevault.com/wp-content/uploads/2010/08/Jar-Bundler.png" alt="Jar Bundler allows jars to be wrapped as an OSX application" width="651" height="599" /></a><p class="wp-caption-text">Jar Bundler allows jars to be wrapped as an OSX application</p></div>
<p>Here are the steps you&#8217;ll need to take in order to get an application:</p>
<p>1. Click on Choose next to the Main Class option.  Next, navigate to Transmission.jar that came with the transmission project and select it.  It should populate the Main Class field with transmission.Transmission automatically.</p>
<p>2. Under arguments type: -transmissionControllerPackage transmission.demo.TransmissionDemoController.  For your own project replace the TransmissionDemoController package with your own TransmissionController&#8217;s package and class name (make sure your own TransmissionController implements ITransmissionController).</p>
<p>3. Select the Classpath and Files tab and choose all other jars that belong to your project besides the Transmission jar you added in step 1.</p>
<p>4. Choose some properties in the Properties tab.</p>
<p>5. Click Create Application and choose a destination for the new application.</p>
<p>Bam!  Your application is completed.  Now we need to make sure it hides itself when it is run.  Right click on your application and choose &#8220;Show package contents&#8221;.  Navigate to Contents and open the Info.plist file.  This file contains the preferences you set in the Jar Bundler.  To make the application hide we need to add a couple more.  Before the Java item, add the following rows</p>
<p>1.  LSUIElement (in the value column enter &#8220;1&#8243;)</p>
<p>2. NSUIElement (in the value column enter &#8220;1&#8243;)</p>
<p>Your plist should now look something like this: <a rel="attachment wp-att-262" href="http://natescodevault.com/?attachment_id=262"><img class="aligncenter size-full wp-image-262" title="plist" src="http://natescodevault.com/wp-content/uploads/2010/08/plist.png" alt="plist" width="670" height="390" /></a></p>
<p>The last thing we need to do is configure the application inside of your Flex Transmission configuration.  In your Flex project, rather than doing Transmission.init() using the Java executable, the TransmissionController package, and the array of classpaths, simply do the following:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p260code2'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p2602"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p260code2"><pre class="actionscript" style="font-family:monospace;">Transmission.<span style="color: #006600;">getInstance</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">init</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;path/to/app/DemoApplication.app/Contents/MacOS/JavaApplicationStub&quot;</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>Now everything should work!</p>
<p>Enjoy!</p>


<div class="shr-bookmarks shr-bookmarks-spaced shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Reading+Transmission+AIR+2+to+Java+--+Hide+Java+from+Mac+Dock+-+http://su.pr/1dOziR+%28via+%40nross83%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://natescodevault.com/2010/08/29/transmission-air-2-to-java-hide-java-from-mac-dock/&amp;t=Transmission+AIR+2+to+Java+--+Hide+Java+from+Mac+Dock" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://natescodevault.com/2010/08/29/transmission-air-2-to-java-hide-java-from-mac-dock/&amp;title=Transmission+AIR+2+to+Java+--+Hide+Java+from+Mac+Dock&amp;summary=Often%20when%20developing%20an%20application%20for%20AIR%202.0%20we%20realize%20that%20for%20whatever%20reason%20we%20simply%20can%27t%20accomplish%20the%20task%20at%20hand%20without%20involving%20another%20language%20such%20as%20Java.%20%20There%20are%20several%20reasons%20why%20this%20might%20be%20the%20case%2C%20the%20fact%20that%20AIR%202.0%20doesn%27t%20work%20with%20non-storage%20USB%20devices%20suc&amp;source=Nate&#039;s Code Vault" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://natescodevault.com/2010/08/29/transmission-air-2-to-java-hide-java-from-mac-dock/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://natescodevault.com/2010/08/29/transmission-air-2-to-java-hide-java-from-mac-dock/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://natescodevault.com/2010/08/29/transmission-air-2-to-java-hide-java-from-mac-dock/&amp;title=Transmission+AIR+2+to+Java+--+Hide+Java+from+Mac+Dock" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://natescodevault.com/2010/08/29/transmission-air-2-to-java-hide-java-from-mac-dock/&amp;title=Transmission+AIR+2+to+Java+--+Hide+Java+from+Mac+Dock&amp;description=Often%20when%20developing%20an%20application%20for%20AIR%202.0%20we%20realize%20that%20for%20whatever%20reason%20we%20simply%20can%27t%20accomplish%20the%20task%20at%20hand%20without%20involving%20another%20language%20such%20as%20Java.%20%20There%20are%20several%20reasons%20why%20this%20might%20be%20the%20case%2C%20the%20fact%20that%20AIR%202.0%20doesn%27t%20work%20with%20non-storage%20USB%20devices%20suc" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://natescodevault.com/2010/08/29/transmission-air-2-to-java-hide-java-from-mac-dock/&amp;title=Transmission+AIR+2+to+Java+--+Hide+Java+from+Mac+Dock" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://natescodevault.com/2010/08/29/transmission-air-2-to-java-hide-java-from-mac-dock/&amp;title=Transmission+AIR+2+to+Java+--+Hide+Java+from+Mac+Dock" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://natescodevault.com/2010/08/29/transmission-air-2-to-java-hide-java-from-mac-dock/&amp;title=Transmission+AIR+2+to+Java+--+Hide+Java+from+Mac+Dock" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://natescodevault.com/2010/08/29/transmission-air-2-to-java-hide-java-from-mac-dock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transmission &#8211; AIR 2 to Java Communication Layer</title>
		<link>http://natescodevault.com/2010/08/23/transmission-air-2-to-java-communication-layer/</link>
		<comments>http://natescodevault.com/2010/08/23/transmission-air-2-to-java-communication-layer/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 15:24:25 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Transmission AS3]]></category>
		<category><![CDATA[AIR 2.0]]></category>
		<category><![CDATA[Transmission]]></category>

		<guid isPermaLink="false">http://natescodevault.com/?p=258</guid>
		<description><![CDATA[A few months ago I wrote a few posts dealing with how to create a Merapi AIR to Java production environment.  If any of you have read those posts or tried doing it yourself you&#8217;d realize what a tricky and cumbersome process it is.  Now with AIR 2.0, we have native process available [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago I wrote a few posts dealing with how to create a Merapi AIR to Java production environment.  If any of you have read those posts or tried doing it yourself you&#8217;d realize what a tricky and cumbersome process it is.  Now with AIR 2.0, we have native process available which allows us to reduce this workload significantly.  To really take advantage of this new functionality, I built an AIR 2.0 to Java communication layer called Transmission.  No more custom installers, requiring Java to start AIR, and keep-alive processes to ensure Java is still running.</p>
<p>While architecting this, I decided I wanted to create an environment that would be familiar for people coming from Merapi.  There is still a concept of Message objects and MessageHandlers which respond whenever a Message object with its registered type is passed across Transmission.  The library is being <a href="http://code.google.com/p/transmission-as3">hosted on Google Code</a> and is licensed under the Apache 2.0 license which gives you the freedom to use it in commercial applications.  I included a demo in the repo that should help you get started.</p>


<div class="shr-bookmarks shr-bookmarks-spaced shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Reading+Transmission+-+AIR+2+to+Java+Communication+Layer+-+http://su.pr/AEktR8+%28via+%40nross83%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://natescodevault.com/2010/08/23/transmission-air-2-to-java-communication-layer/&amp;t=Transmission+-+AIR+2+to+Java+Communication+Layer" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://natescodevault.com/2010/08/23/transmission-air-2-to-java-communication-layer/&amp;title=Transmission+-+AIR+2+to+Java+Communication+Layer&amp;summary=A%20few%20months%20ago%20I%20wrote%20a%20few%20posts%20dealing%20with%20how%20to%20create%20a%20Merapi%20AIR%20to%20Java%20production%20environment.%20%20If%20any%20of%20you%20have%20read%20those%20posts%20or%20tried%20doing%20it%20yourself%20you%27d%20realize%20what%20a%20tricky%20and%20cumbersome%20process%20it%20is.%20%20Now%20with%20AIR%202.0%2C%20we%20have%20native%20process%20available%20which%20allows%20us%20t&amp;source=Nate&#039;s Code Vault" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://natescodevault.com/2010/08/23/transmission-air-2-to-java-communication-layer/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://natescodevault.com/2010/08/23/transmission-air-2-to-java-communication-layer/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://natescodevault.com/2010/08/23/transmission-air-2-to-java-communication-layer/&amp;title=Transmission+-+AIR+2+to+Java+Communication+Layer" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://natescodevault.com/2010/08/23/transmission-air-2-to-java-communication-layer/&amp;title=Transmission+-+AIR+2+to+Java+Communication+Layer&amp;description=A%20few%20months%20ago%20I%20wrote%20a%20few%20posts%20dealing%20with%20how%20to%20create%20a%20Merapi%20AIR%20to%20Java%20production%20environment.%20%20If%20any%20of%20you%20have%20read%20those%20posts%20or%20tried%20doing%20it%20yourself%20you%27d%20realize%20what%20a%20tricky%20and%20cumbersome%20process%20it%20is.%20%20Now%20with%20AIR%202.0%2C%20we%20have%20native%20process%20available%20which%20allows%20us%20t" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://natescodevault.com/2010/08/23/transmission-air-2-to-java-communication-layer/&amp;title=Transmission+-+AIR+2+to+Java+Communication+Layer" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://natescodevault.com/2010/08/23/transmission-air-2-to-java-communication-layer/&amp;title=Transmission+-+AIR+2+to+Java+Communication+Layer" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://natescodevault.com/2010/08/23/transmission-air-2-to-java-communication-layer/&amp;title=Transmission+-+AIR+2+to+Java+Communication+Layer" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://natescodevault.com/2010/08/23/transmission-air-2-to-java-communication-layer/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>New AIR/Java app Piano Marvel hits the AIR Marketplace!</title>
		<link>http://natescodevault.com/2009/08/25/new-airjava-app-piano-marvel-released/</link>
		<comments>http://natescodevault.com/2009/08/25/new-airjava-app-piano-marvel-released/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 14:27:24 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Merapi]]></category>
		<category><![CDATA[Piano Marvel]]></category>

		<guid isPermaLink="false">http://natescodevault.com/?p=241</guid>
		<description><![CDATA[Over the past year at Rain Interactive, I have spent all my time and energy as project manager and lead developer on the most revolutionary piano teaching software to date called Piano Marvel (not that I&#8217;m biased or anything  .  This unveiling also reveals the inspiration behind most of my posts over the last year.  Our team&#8217;s goal was to [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past year at <a title="Rain Interactive website" href="http://www.mediarain.com">Rain Interactive</a>, I have spent all my time and energy as project manager and lead developer on the most revolutionary piano teaching software to date called <a title="Piano Marvel website" href="http://www.pianomarvel.com" target="_blank">Piano Marvel</a> (not that I&#8217;m biased or anything <img src='http://natescodevault.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .  This unveiling also reveals the inspiration behind most of my posts over the last year.  Our team&#8217;s goal was to create an application that could display interactive sheet music, record keystrokes on a MIDI keyboard, allow toggling of metronome and accompaniment playback, and give an evaluation based on the notes that were pressed.  The application has been in beta for a few months now and we have been amazed with the feedback we have received from students and teachers across the nation.<span id="more-241"></span></p>
<p>We decided to build Piano Marvel&#8217;s rich front-end with Adobe AIR because we have a lot of Flex expertise at Rain and the development time required to create beautiful UIs using this technology is very quick.  However, in order to make this application work, we also had to leverage Java in order to interact with a MIDI Keyboard since AIR is not able to do this natively.  Finally, we used Merapi to manage the communication between AIR and the invisible Java process through a socket.</p>
<p>Here are some of the amazing things we have been able to do with Piano Marvel:</p>
<p>1.  Create a rich interactive music notation engine.</p>
<p><a rel="attachment wp-att-243" href="http://natescodevault.com/?attachment_id=243"><img class="aligncenter size-full wp-image-243" title="pianomarvel_tooltip" src="http://natescodevault.com/wp-content/uploads/2009/08/pianomarvel_tooltip.png" alt="pianomarvel_tooltip" width="500" height="379" /></a></p>
<p>2.  Display immediate feedback on all correct and incorrect notes that were played.</p>
<p><a rel="attachment wp-att-242" href="http://natescodevault.com/?attachment_id=242"><img class="aligncenter size-full wp-image-242" title="pianomarvel_scoring" src="http://natescodevault.com/wp-content/uploads/2009/08/pianomarvel_scoring.png" alt="pianomarvel_scoring" width="500" height="209" /></a></p>
<p>3.  Have the ability to specify tempo, make music selections, and toggle fun accompaniment and metronome playback.</p>
<p><a rel="attachment wp-att-244" href="http://natescodevault.com/?attachment_id=244"><img class="aligncenter size-full wp-image-244" title="pianomarvel_controls" src="http://natescodevault.com/wp-content/uploads/2009/08/pianomarvel_controls.png" alt="pianomarvel_controls" width="500" height="124" /></a></p>
<p>4.  Create an environment that makes playing the piano addictive and entertaining</p>
<p><a rel="attachment wp-att-245" href="http://natescodevault.com/?attachment_id=245"><img class="aligncenter size-full wp-image-245" title="pianomarvel_lessons" src="http://natescodevault.com/wp-content/uploads/2009/08/pianomarvel_lessons.png" alt="pianomarvel_lessons" width="500" height="343" /></a></p>
<p>Piano Marvel has just hit the <a title="Adobe AIR Marketplace - Piano Marvel" href="http://www.adobe.com/cfusion/marketplace/index.cfm?event=marketplace.offering&amp;offeringid=11861&amp;marketplaceid=1" target="_blank">Adobe AIR Marketplace</a> as the first application that is not a traditional completely AIR application.  There is a free trial (no credit card required) that lasts for a month and if you download the application from the AIR Marketplace, it costs $12/month (instead of the usual $15).</p>
<p>Please get a MIDI keyboard and USB/MIDI connector and try it out.  Let me know what you think below!</p>


<div class="shr-bookmarks shr-bookmarks-spaced shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Reading+New+AIR%2FJava+app+Piano+Marvel+hits+the+AIR+Marketplace%21+-+http://su.pr/1YeZqX+%28via+%40nross83%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://natescodevault.com/2009/08/25/new-airjava-app-piano-marvel-released/&amp;t=New+AIR%2FJava+app+Piano+Marvel+hits+the+AIR+Marketplace%21" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://natescodevault.com/2009/08/25/new-airjava-app-piano-marvel-released/&amp;title=New+AIR%2FJava+app+Piano+Marvel+hits+the+AIR+Marketplace%21&amp;summary=Over%20the%20past%20year%20at%20Rain%20Interactive%2C%C2%A0I%20have%20spent%20all%20my%20time%20and%20energy%20as%20project%20manager%20and%20lead%20developer%20on%20the%C2%A0most%20revolutionary%20piano%20teaching%20software%20to%20date%20called%20Piano%20Marvel%C2%A0%28not%20that%20I%27m%20biased%20or%20anything%20%3A%29.%C2%A0%20This%20unveiling%20also%C2%A0reveals%20the%20inspiration%C2%A0behind%C2%A0most%20of%20my%20p&amp;source=Nate&#039;s Code Vault" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://natescodevault.com/2009/08/25/new-airjava-app-piano-marvel-released/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://natescodevault.com/2009/08/25/new-airjava-app-piano-marvel-released/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://natescodevault.com/2009/08/25/new-airjava-app-piano-marvel-released/&amp;title=New+AIR%2FJava+app+Piano+Marvel+hits+the+AIR+Marketplace%21" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://natescodevault.com/2009/08/25/new-airjava-app-piano-marvel-released/&amp;title=New+AIR%2FJava+app+Piano+Marvel+hits+the+AIR+Marketplace%21&amp;description=Over%20the%20past%20year%20at%20Rain%20Interactive%2C%C2%A0I%20have%20spent%20all%20my%20time%20and%20energy%20as%20project%20manager%20and%20lead%20developer%20on%20the%C2%A0most%20revolutionary%20piano%20teaching%20software%20to%20date%20called%20Piano%20Marvel%C2%A0%28not%20that%20I%27m%20biased%20or%20anything%20%3A%29.%C2%A0%20This%20unveiling%20also%C2%A0reveals%20the%20inspiration%C2%A0behind%C2%A0most%20of%20my%20p" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://natescodevault.com/2009/08/25/new-airjava-app-piano-marvel-released/&amp;title=New+AIR%2FJava+app+Piano+Marvel+hits+the+AIR+Marketplace%21" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://natescodevault.com/2009/08/25/new-airjava-app-piano-marvel-released/&amp;title=New+AIR%2FJava+app+Piano+Marvel+hits+the+AIR+Marketplace%21" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://natescodevault.com/2009/08/25/new-airjava-app-piano-marvel-released/&amp;title=New+AIR%2FJava+app+Piano+Marvel+hits+the+AIR+Marketplace%21" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://natescodevault.com/2009/08/25/new-airjava-app-piano-marvel-released/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Add alpha transparency to your DataGrid using StyleableDataGrid</title>
		<link>http://natescodevault.com/2009/08/01/add-alpha-transparency-to-your-datagrid-using-styleabledatagrid/</link>
		<comments>http://natescodevault.com/2009/08/01/add-alpha-transparency-to-your-datagrid-using-styleabledatagrid/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 20:13:04 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[DataGrid]]></category>
		<category><![CDATA[StyleableDataGrid]]></category>

		<guid isPermaLink="false">http://natescodevault.com/?p=229</guid>
		<description><![CDATA[Recently, I ran into another issue with DataGrids.  I received a design comp from one of our designers who wanted alpha transparency in a DataGrid for alternating rows, the header, and highlight/selection.  Basically, he wanted something like this (I added a red gradient and vertical stripes on the background to make the alpha more apparent):

After [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I ran into another issue with DataGrids.  I received a design comp from one of our designers who wanted alpha transparency in a DataGrid for alternating rows, the header, and highlight/selection.  Basically, he wanted something like this (I added a red gradient and vertical stripes on the background to make the alpha more apparent):</p>
<p><a rel="attachment wp-att-233" href="http://natescodevault.com/?attachment_id=233"><img class="aligncenter size-full wp-image-233" title="StyleableDataGrid" src="http://natescodevault.com/wp-content/uploads/2009/08/StyleableDataGrid1.jpg" alt="StyleableDataGrid" width="265" height="145" /></a></p>
<p>After a quick look through the styles and properties of Flex 3&#8217;s DataGrid, I discovered that I wouldn&#8217;t be able to do these three requests unless I (once again) subclassed the DataGrid to add these behaviors.</p>
<p>In this component, I added the following styles:</p>
<p><code><br />
rollOverAlpha<br />
selectionAlpha<br />
alternatingItemAlphas (complements alternatingItemColors)<br />
headerAlphas<br />
headerSeparator (boolean -- draws the column separator on the header)<br />
</code></p>
<p>Note that the alternatingItemAlphas will not appear to work unless DataGrid&#8217;s backgroundAlpha style is set to zero.</p>
<p>To see an example with View Source enabled, <a title="See StyleableDataGrid in action" href="http://natescodevault.com/Flex/StyleableDataGrid/" target="_blank">click here</a>.</p>


<div class="shr-bookmarks shr-bookmarks-spaced shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Reading+Add+alpha+transparency+to+your+DataGrid+using+StyleableDataGrid+-+http://su.pr/2ELn31+%28via+%40nross83%29&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://natescodevault.com/2009/08/01/add-alpha-transparency-to-your-datagrid-using-styleabledatagrid/&amp;t=Add+alpha+transparency+to+your+DataGrid+using+StyleableDataGrid" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://natescodevault.com/2009/08/01/add-alpha-transparency-to-your-datagrid-using-styleabledatagrid/&amp;title=Add+alpha+transparency+to+your+DataGrid+using+StyleableDataGrid&amp;summary=Recently%2C%20I%20ran%20into%20another%20issue%20with%20DataGrids.%C2%A0%20I%20received%20a%20design%20comp%20from%20one%20of%20our%20designers%20who%20wanted%20alpha%20transparency%20in%20a%20DataGrid%20for%20alternating%20rows%2C%20the%20header%2C%20and%20highlight%2Fselection.%C2%A0%20Basically%2C%20he%20wanted%20something%20like%20this%20%28I%20added%20a%20red%20gradient%20and%20vertical%20stripes%20on%20th&amp;source=Nate&#039;s Code Vault" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://natescodevault.com/2009/08/01/add-alpha-transparency-to-your-datagrid-using-styleabledatagrid/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://natescodevault.com/2009/08/01/add-alpha-transparency-to-your-datagrid-using-styleabledatagrid/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://natescodevault.com/2009/08/01/add-alpha-transparency-to-your-datagrid-using-styleabledatagrid/&amp;title=Add+alpha+transparency+to+your+DataGrid+using+StyleableDataGrid" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://natescodevault.com/2009/08/01/add-alpha-transparency-to-your-datagrid-using-styleabledatagrid/&amp;title=Add+alpha+transparency+to+your+DataGrid+using+StyleableDataGrid&amp;description=Recently%2C%20I%20ran%20into%20another%20issue%20with%20DataGrids.%C2%A0%20I%20received%20a%20design%20comp%20from%20one%20of%20our%20designers%20who%20wanted%20alpha%20transparency%20in%20a%20DataGrid%20for%20alternating%20rows%2C%20the%20header%2C%20and%20highlight%2Fselection.%C2%A0%20Basically%2C%20he%20wanted%20something%20like%20this%20%28I%20added%20a%20red%20gradient%20and%20vertical%20stripes%20on%20th" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://natescodevault.com/2009/08/01/add-alpha-transparency-to-your-datagrid-using-styleabledatagrid/&amp;title=Add+alpha+transparency+to+your+DataGrid+using+StyleableDataGrid" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://natescodevault.com/2009/08/01/add-alpha-transparency-to-your-datagrid-using-styleabledatagrid/&amp;title=Add+alpha+transparency+to+your+DataGrid+using+StyleableDataGrid" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://natescodevault.com/2009/08/01/add-alpha-transparency-to-your-datagrid-using-styleabledatagrid/&amp;title=Add+alpha+transparency+to+your+DataGrid+using+StyleableDataGrid" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://natescodevault.com/2009/08/01/add-alpha-transparency-to-your-datagrid-using-styleabledatagrid/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

