<?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>nulldesign // lars gerckens &#187; Flex</title>
	<atom:link href="http://www.nulldesign.de/category/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nulldesign.de</link>
	<description>A place to showcase my personal portfolio and flash related experiments</description>
	<lastBuildDate>Sun, 11 Apr 2010 20:55:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SimpleTimer 2 updated</title>
		<link>http://www.nulldesign.de/2009/06/18/simpletimer-2-updated/</link>
		<comments>http://www.nulldesign.de/2009/06/18/simpletimer-2-updated/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 21:23:06 +0000</pubDate>
		<dc:creator>lars</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Talk]]></category>

		<guid isPermaLink="false">http://www.nulldesign.de/?p=246</guid>
		<description><![CDATA[
I found some time to give my timer a small graphical rebrush. The application icon and the logo itself has been updated. Now it looks a lot more beautiful in the dock. I also added an alternative bright skin in case you don&#8217;t like the dark one. The calender is now zoomable if you didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img src="http://www.nulldesign.de/wp-content/uploads/2009/06/st_new_icon.jpg" alt="st_new_icon" title="st_new_icon" width="436" height="160" class="alignnone size-full wp-image-247" /></p>
<p>I found some time to give my <a href="http://www.nulldesign.de/projects/simpletimer-2/">timer</a> a small graphical rebrush. The application icon and the logo itself has been updated. Now it looks a lot more beautiful in the dock. I also added an alternative bright skin in case you don&#8217;t like the dark one. The calender is now zoomable if you didn&#8217;t already noticed and timers running less than 60 seconds are not counted anymore. The next thing I&#8217;m planning is to write an importer/exporter for the database that let&#8217;s you easily migrate all your timer data to a new computer. So long&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nulldesign.de/2009/06/18/simpletimer-2-updated/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Issues with ANT and Out of memory error</title>
		<link>http://www.nulldesign.de/2009/05/18/issues-with-ant-and-out-of-memory-error/</link>
		<comments>http://www.nulldesign.de/2009/05/18/issues-with-ant-and-out-of-memory-error/#comments</comments>
		<pubDate>Mon, 18 May 2009 13:05:27 +0000</pubDate>
		<dc:creator>lars</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Talk]]></category>

		<guid isPermaLink="false">http://www.nulldesign.de/?p=238</guid>
		<description><![CDATA[Finally my macbook arrived and I got everything set up and started working (Yes, I switched finally ;)). In one of my projects I have to compile a large flex project quite often, so I use ANT directly in the shell. 
On Windows it was never a  problem, but in OS X I always [...]]]></description>
			<content:encoded><![CDATA[<p>Finally my macbook arrived and I got everything set up and started working (Yes, I switched finally ;)). In one of my projects I have to compile a large flex project quite often, so I use ANT directly in the shell. </p>
<p>On Windows it was never a  problem, but in OS X I always got: &#8220;java.lang.OutOfMemoryError: Java heap space&#8221;. After quite a journey through the depths of the web I found the place where to increase the memory size and I thought that&#8217;s might be interesting for you: </p>
<p>Just create a file called ant.conf in /etc (Use sudo to create the file) and paste this line: <strong>ANT_OPTS=&#8217;-Xmx1024m -XX:MaxPermSize=128m&#8217;</strong> Done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nulldesign.de/2009/05/18/issues-with-ant-and-out-of-memory-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading to Flexbuilder 3.0.1 (or where are my charts?)</title>
		<link>http://www.nulldesign.de/2008/08/19/upgrading-to-flexbuilder-301-or-where-are-my-charts/</link>
		<comments>http://www.nulldesign.de/2008/08/19/upgrading-to-flexbuilder-301-or-where-are-my-charts/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 13:21:01 +0000</pubDate>
		<dc:creator>lars</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.nulldesign.de/?p=111</guid>
		<description><![CDATA[Today we upgraded our Flexbuilders to the newest version, the update didn&#8217;t come with the built in auto update of Flexbuilder, so I had to de- and reinstall it. Done that, opened one of my projects, continued working and realised that I couldn&#8217;t dig into the charting sources anymore (F3):

After quite a search and a [...]]]></description>
			<content:encoded><![CDATA[<p>Today we upgraded our Flexbuilders to the newest version, the update didn&#8217;t come with the built in auto update of Flexbuilder, so I had to de- and reinstall it. Done that, opened one of my projects, continued working and realised that I couldn&#8217;t dig into the charting sources anymore (F3):</p>
<p><img class="alignnone size-full wp-image-116" title="error1" src="http://www.nulldesign.de/wp-content/uploads/2008/08/error1.jpg" alt="" width="480" height="131" /></p>
<p>After quite a search and a clean install on a new PC, <a href="http://www.websector.de/blog/" target="_blank">Jens</a> noticed a small message in the status bar of the builder after entering the serial number: &#8220;Extracting chart sources&#8221;. The rest was easy:</p>
<ol>
<li>Quit Flexbuilder or Eclipse</li>
<li>Delete your serial information (Look for a file called &#8216;license.properties&#8217; in the Flex installation directory (C:\ProgramData\Adobe\Flex\license.properties on Vista, /Library/Application\ Support/Adobe/Flex/license.properties on OSX))</li>
<li>Launch Flexbuilder, re-enter your serial</li>
<li>Done, the chart sources are available again.</li>
</ol>
<p>Maybe this becomes useful for some of you &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nulldesign.de/2008/08/19/upgrading-to-flexbuilder-301-or-where-are-my-charts/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Flex: Adding a tooltip to truncated Datagrid columns</title>
		<link>http://www.nulldesign.de/2008/06/13/flex-adding-a-tooltip-to-truncated-datagrid-columns/</link>
		<comments>http://www.nulldesign.de/2008/06/13/flex-adding-a-tooltip-to-truncated-datagrid-columns/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 08:22:41 +0000</pubDate>
		<dc:creator>lars</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.nulldesign.de/?p=66</guid>
		<description><![CDATA[I just found a nice way to automatically truncate text in datagrid columns and show tooltips for truncated elements, that I wanted to share:

package
&#123;
	import mx.controls.dataGridClasses.DataGridItemRenderer;
&#160;
	public class TruncateToolTipRenderer extends DataGridItemRenderer
	&#123;
		private var textTruncated:Boolean = false;
		private var originalText:String;
&#160;
		public function TruncateDataGridItemRenderer&#40;&#41;
		&#123;
			super&#40;&#41;;
		&#125;
&#160;
		override public function set text&#40;value:String&#41;:void
		&#123;
			super.text = value;
			originalText = value;
			textTruncated = truncateToFit&#40;&#41;;
		&#125;
&#160;
		override public function validateProperties&#40;&#41;:void
		&#123;
			super.validateProperties&#40;&#41;;
			toolTip = textTruncated ? originalText : [...]]]></description>
			<content:encoded><![CDATA[<p>I just found a nice way to automatically truncate text in datagrid columns and show tooltips for truncated elements, that I wanted to share:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">package
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #0066CC;">import</span> mx.<span style="color: #006600;">controls</span>.<span style="color: #006600;">dataGridClasses</span>.<span style="color: #006600;">DataGridItemRenderer</span>;
&nbsp;
	<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> TruncateToolTipRenderer <span style="color: #0066CC;">extends</span> DataGridItemRenderer
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> textTruncated:<span style="color: #0066CC;">Boolean</span> = <span style="color: #000000; font-weight: bold;">false</span>;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> originalText:<span style="color: #0066CC;">String</span>;
&nbsp;
		<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> TruncateDataGridItemRenderer<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #0066CC;">super</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		override <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">set</span> <span style="color: #0066CC;">text</span><span style="color: #66cc66;">&#40;</span>value:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #0066CC;">super</span>.<span style="color: #0066CC;">text</span> = value;
			originalText = value;
			textTruncated = truncateToFit<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		override <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> validateProperties<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: #0066CC;">super</span>.<span style="color: #006600;">validateProperties</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
			toolTip = textTruncated ? originalText : <span style="color: #000000; font-weight: bold;">null</span>;
		<span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>Just set the itemRenderer property of your column to the new TruncateToolTipRenderer. Neat!</p>
<p><strong>Update:</strong> &#8230; and it&#8217;s a lot easier if you just set the itemRenderer to mx.controls.Label, because a Label already has truncate and tooltip functionality. As so often in Flex, everything is built in. Lesson learned!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nulldesign.de/2008/06/13/flex-adding-a-tooltip-to-truncated-datagrid-columns/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
