<?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>Ninetynine.be &#187; AIR</title>
	<atom:link href="http://ninetynine.be/blog/tag/air/feed/" rel="self" type="application/rss+xml" />
	<link>http://ninetynine.be/blog</link>
	<description>Just another blog with no useful content on it at all.</description>
	<lastBuildDate>Sun, 08 Jan 2012 10:39:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Doc? v3.0 BETA released</title>
		<link>http://ninetynine.be/blog/2009/12/doc-v3-0-beta-released/</link>
		<comments>http://ninetynine.be/blog/2009/12/doc-v3-0-beta-released/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 10:43:21 +0000</pubDate>
		<dc:creator>michiel</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Doc?]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://ninetynine.be/blog/?p=585</guid>
		<description><![CDATA[Yesterday we&#8217;ve released a public beta from the new Doc? (v3.0) Go and check it out at www.airdoc.be! Here are some of the most important new features : Minimize/Close to tray (WINDOWS) Local Books Online Books Download Inline Search Performance Upgrade (SQLITE) Custom tree icons Complete design makeover Take a look on our website to [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday we&#8217;ve released a public beta from the new Doc? (v3.0)<br />
Go and check it out at <a href="http://www.airdoc.be/">www.airdoc.be</a>!</p>
<p><a href="http://www.airdoc.be/"><img src="http://ninetynine.be/blog/wp-content/uploads/2009/12/feature_doc.png" alt="Doc? Air Local Livedocs" title="Doc? Air Local Livedocs" width="515" height="340" class="aligncenter size-full wp-image-586" /></a></p>
<p>Here are some of the most important new features :</p>
<ul style="list-style-type: square;">
<li> 	Minimize/Close to tray (WINDOWS)</li>
<li> 	Local Books</li>
<li> Online Books Download</li>
<li> 	Inline Search</li>
<li> Performance Upgrade (SQLITE)</li>
<li> 	Custom tree icons</li>
<li> Complete design makeover</li>
</ul>
<p>Take a look on our website to learn more &#8230;</p>
<p><br/></p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://ninetynine.be/blog/2009/12/doc-v3-0-beta-released/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Flex: TabNavigator Label Jump (Quick Fix)</title>
		<link>http://ninetynine.be/blog/2009/12/flex-tabnavigator-label-jump-quick-fix/</link>
		<comments>http://ninetynine.be/blog/2009/12/flex-tabnavigator-label-jump-quick-fix/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 11:38:03 +0000</pubDate>
		<dc:creator>michiel</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://ninetynine.be/blog/?p=543</guid>
		<description><![CDATA[Hey, Somethings been bugging me while skinning a flex application : The label from the selected tab from the TabNavigator component is 1px lower than the other tabs. As you can see in the example. (It has something to to with the bottom border I&#8217;m guessing). This can help as a visual support you are [...]]]></description>
			<content:encoded><![CDATA[<p>Hey,</p>
<p>Somethings been bugging me while skinning a flex application :</p>
<p>The label from the selected tab from the <a href="http://livedocs.adobe.com/flex/3/langref/mx/containers/TabNavigator.html">TabNavigator</a> component is 1px lower than the other tabs. As you can see in the example.<br />
(It has something to to with the bottom border I&#8217;m guessing).</p>
<p> This can help as a visual support you are on a different tab, but I found it rather annoying, so here is my fix for it.<br />
A quick fix by changing the &#8220;<em>paddingTop</em>&#8221; property.</p>
<p><br/><br />
View source is enabled so can download the example there.<br />
<a href="http://ninetynine.be/blog/wp-content/uploads/2009/12/srcview/index.html">http://ninetynine.be/blog/wp-content/uploads/2009/12/srcview/index.html</a><br />

<object width="500" height="100">
<param name="movie" value="http://ninetynine.be/blog/wp-content/uploads/2009/12/TabNavFix.swf"></param>
<param name="quality" value="high"></param>
<param name="wmode" value="window"></param>
<param name="menu" value="false"></param>
<param name="bgcolor" value="#FFFFFF"></param>
<embed type="application/x-shockwave-flash" width="500" height="100" src="http://ninetynine.be/blog/wp-content/uploads/2009/12/TabNavFix.swf" quality="high" bgcolor="#FFFFFF" wmode="window" menu="false" ></embed>
</object>
<br />
Code after the jump.<br/><br/></p>
<p><span id="more-543"></span><br/></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">import</span> mx.<span style="color: #006600;">events</span>.<span style="color: #006600;">IndexChangedEvent</span>;
<span style="color: #0066CC;">import</span> mx.<span style="color: #006600;">events</span>.<span style="color: #006600;">FlexEvent</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">/*
*	@author: Michiel Vancoillie
*	http://www.ninetynine.be
*/</span>
&nbsp;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> init<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span>
&nbsp;
	<span style="color: #808080; font-style: italic;">//fix the first selected tab</span>
	fixedTabNav.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">ADDED_TO_STAGE</span>,onTabNavCreated<span style="color: #66cc66;">&#41;</span>;
	<span style="color: #808080; font-style: italic;">//fix the newly selected tab</span>
	fixedTabNav.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>IndexChangedEvent.<span style="color: #006600;">CHANGE</span>,onTabNavChanged<span style="color: #66cc66;">&#41;</span>;
&nbsp;
	<span style="color: #808080; font-style: italic;">//JUST ADD THE SAME EVENTLISTENERS TO ALL TABNAVIGATORS YOU WANT FIXED</span>
	<span style="color: #808080; font-style: italic;">//notfixedTabNav.addEventListener(Event.ADDED_TO_STAGE,onTabNavCreated);</span>
	<span style="color: #808080; font-style: italic;">//notfixedTabNav.addEventListener(IndexChangedEvent.CHANGE,onTabNavChanged);</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onTabNavCreated<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">var</span> tabNav:TabNavigator = <span style="color: #0066CC;">e</span>.<span style="color: #0066CC;">target</span> as TabNavigator;
	tabNav.<span style="color: #006600;">getTabAt</span><span style="color: #66cc66;">&#40;</span>tabNav.<span style="color: #006600;">selectedIndex</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'paddingTop'</span>,-<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onTabNavChanged<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:IndexChangedEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">var</span> tabNav:TabNavigator = <span style="color: #0066CC;">e</span>.<span style="color: #0066CC;">target</span> as TabNavigator;
	<span style="color: #808080; font-style: italic;">//reset the old tab</span>
	tabNav.<span style="color: #006600;">getTabAt</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>.<span style="color: #006600;">oldIndex</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'paddingTop'</span>,<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #808080; font-style: italic;">//fix the new tab</span>
	tabNav.<span style="color: #006600;">getTabAt</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>.<span style="color: #006600;">newIndex</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'paddingTop'</span>,-<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://ninetynine.be/blog/2009/12/flex-tabnavigator-label-jump-quick-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Growl messages with AIR</title>
		<link>http://ninetynine.be/blog/2009/03/growl-messages-with-air/</link>
		<comments>http://ninetynine.be/blog/2009/03/growl-messages-with-air/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 20:21:40 +0000</pubDate>
		<dc:creator>michiel</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[growl]]></category>
		<category><![CDATA[notification]]></category>

		<guid isPermaLink="false">http://ninetynine.be/blog/?p=46</guid>
		<description><![CDATA[For an AIR application that I&#8217;m creating (more about that later), I needed some way to show the users some event happened while the application was running in the background. So what&#8217;s better on Mac OS than showing growl notifications ? Adobe has worked together with the Growl team to add support for AIR and [...]]]></description>
			<content:encoded><![CDATA[<p>For an AIR application that I&#8217;m creating (more about that later), I needed some way to show the users some event happened while the application was running in the background. So what&#8217;s better on Mac OS than showing <a href="http://www.growl.info">growl</a> notifications <img src='http://ninetynine.be/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ?<br />
<br/><br />
<img class="alignnone size-full wp-image-54" title="Growl message with as3" src="http://ninetynine.be/blog/wp-content/uploads/2009/03/growl-with-as3.png" alt="Growl message with as3" width="341" height="121" /><br />
<br/><br />
Adobe has worked together with the Growl team to add support for AIR and flash applications.<br />
<a href="http://www.mikechambers.com/blog/">Mike Chambers</a> has put together an open source project named <a href="http://code.google.com/p/as3growl/">as3growl</a> which provides an API to work with the new Growl build.<br />
<br/><br />
<span id="more-46"></span></p>
<blockquote><p>The as3growl library is an ActionScript library that leverages new TCP socket communication functionality within the Growl notification framework to allow Adobe AIR and Flash applications to register with, send notifications, and receive events from the Growl service.</p></blockquote>
<p>You can grab the latest as3growl <a href="http://code.google.com/p/as3growl/downloads/list">here</a> or with the svn :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> checkout http:<span style="color: #000000; font-weight: bold;">//</span>as3growl.googlecode.com<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span> as3growl-read-only</pre></td></tr></table></div>

<p><br/>The support for AIR and flash is not yet in the release version, so the first step is download the nightly build from growl :</p>
<p><a href="http://bitbucket.org/evands/growl/changeset/eb9d3e4d9fa3/">http://bitbucket.org/evands/growl/changeset/eb9d3e4d9fa3/</a></p>
<blockquote>
<ol>
<li>Unzip</li>
<li>Open Growl.xcodeproj in Xcode 3.1</li>
<li>Set target to &#8220;Deployment&#8221;</li>
<li>Build</li>
<li>Double click the &#8220;Build/Deployment/Growl.prefPane&#8221; file to install the compiled Growl. </li>
</ol>
</blockquote>
<p>To start using the as3growl API, you can check out the example on the wiki:<br />
<a href="To start using the as3growl API, you can check out the wiki: http://code.google.com/p/as3growl/wiki/UsingTheLibrary">http://code.google.com/p/as3growl/wiki/UsingTheLibrary</a></p>
<p>I&#8217;ll probably post a little tutorial later!</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://ninetynine.be/blog/2009/03/growl-messages-with-air/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

