<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Tiago&#039;s Weblog &#187; AIR</title>
	<atom:link href="http://blog.six4rty.ch/tag/air/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.six4rty.ch</link>
	<description>Code &#38; Technology Aficionado - Come for the Flash, stay for more!</description>
	<lastBuildDate>Tue, 01 Nov 2011 14:06:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
		<item>
		<title>gotoAndSki(); is over and..</title>
		<link>http://blog.six4rty.ch/2011/02/06/gotoandski-is-over-and/</link>
		<comments>http://blog.six4rty.ch/2011/02/06/gotoandski-is-over-and/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 11:34:16 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Meetings]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=1044</guid>
		<description><![CDATA[&#8230; it feels very bad, why? Just to mention a few reasons, the people, the scenery, the people, the snowboarding, have I already mentioned the people? yep, besides Flash At The Lake 09 there was no conference that I loved so much, It was such an awesome time talking with some great cool people, it [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/12/gotoski1.jpg"><img class="size-full wp-image-966 alignleft" title="gotoski" src="http://blog.six4rty.ch/wp-content/uploads/2010/12/gotoski1.jpg" alt="" width="620" height="252" /></a></p>
<p>&#8230; it feels very bad, why? Just to mention a few reasons, the people, the scenery, the people, the snowboarding, have I already mentioned the people?<br />
yep, besides Flash At The Lake 09 there was no conference that I loved so much, It was such an awesome time talking with some great cool people, it was a laid back conference with<br />
lots of time for networking, snowboarding, and simply having fun. Let me recap for your what happened and how I experienced it.<span id="more-1044"></span></p>
<p><strong>Day T-1:</strong><br />
Yep, I&#8217;ve driven up to Stechelberg a day before the Conference officially started together with Mihai Corlan which I had the opportunity of picking up at the Airport and having<br />
a very relaxed drive to the mountains with some very good talks not only geeky but very inspiring and fun. After arriving at the Location, people started to walk in ( there were already a few though ),<br />
and we had a great time getting to know each other and to learn about what others do, very constructive and inspiring, if it wasn&#8217;t for the <a href="http://www.flickr.com/photos/uselesspics/5391295487/in/pool-gotoandskiswitzerland#/photos/uselesspics/5391295487/in/pool-1568756@N25/" target="_blank">late night obligatory speaker snowball fight at 3am</a></p>
<p><strong>Day 1:</strong><br />
First day on the slopes, first day of the conference, after a very relaxing snowboarding day with <a href="http://twitter.com/riccastelhano" target="_blank">@riccastelhano</a>, <a href="http://twitter.com/masdennis" target="_blank">@masdennis</a>, <a href="http://twitter.com/starnut" target="_blank">@starnut,</a> <a href="http://twitter.com/johanlopes" target="_blank">@johanlopes </a>and<a href="http://twitter.com/agens" target="_blank"> @agens</a> as you can see <a href="http://www.flickr.com/photos/25190572@N05/5406817547/in/pool-gotoandskiswitzerland#/photos/25190572@N05/5406817547/in/pool-1568756@N25/" target="_blank">here</a>, the conference started late but very interesting with the opening speech of <a href="http://twitter.com/mcorlan">@mcorlan</a> on <em>Building Mobile Apps with Adobe AIR</em>, followed by <a href="http://twitter.com/agens" target="_blank">@agens</a> speech on <em>Making Flash Games</em> where he showed an awesome ski jump game which attracted a sick amount of gamers, Peter also presented <a href="http://agens.no/2011/01/fungrid/" target="_blank">FunGrid </a>an opensource flash game API, almost at midnight <a href="http://twitter.com/mcorlan" target="_blank">@mcorlan</a> had the last speech of the day/night where he showed some great AIR/P2P examples as well some tips &amp; tricks on his session <em>Optimizing your Flash/AIR Application</em>. Same as last night, it didn&#8217;t end very early and in this place I would like to thank Otto &amp; and his service for keeping us awake with some booze and especially to stay awake with us at such late time.</p>
<p><strong>Day 2:</strong><br />
Apart from the usual awesome weather in Stechelberg, just have a look at this awful pics, <a href="http://www.flickr.com/photos/imhugo/5408571207/in/pool-gotoandskiswitzerland" target="_blank">here</a>, <a href="http://www.flickr.com/photos/imhugo/5409180462/in/pool-gotoandskiswitzerland#/photos/imhugo/5409180462/in/pool-1568756@N25/" target="_blank">here</a>, <a href="http://www.flickr.com/photos/imhugo/5409180462/in/pool-gotoandskiswitzerland#/photos/imhugo/5409180462/in/pool-1568756@N25/" target="_blank">here</a>, <a href="http://www.flickr.com/photos/25190572@N05/5407471200/in/pool-gotoandskiswitzerland#/photos/25190572@N05/5407471200/in/pool-1568756@N25/" target="_blank">here</a>, <a href="http://www.flickr.com/photos/25190572@N05/5406854327/in/pool-gotoandskiswitzerland#/photos/25190572@N05/5406854327/in/pool-1568756@N25/" target="_blank">here</a>, <a href="http://www.flickr.com/photos/25190572@N05/5406817547/in/pool-gotoandskiswitzerland#/photos/25190572@N05/5406817547/in/pool-1568756@N25/" target="_blank">here</a>, <a href="http://www.flickr.com/photos/25190572@N05/5407408414/in/pool-gotoandskiswitzerland#/photos/25190572@N05/5407408414/in/pool-1568756@N25/" target="_blank">here </a>and if you don&#8217;t have enough of it, <a href="http://www.flickr.com/groups/gotoandskiswitzerland/" target="_blank">here the complete Album</a>. Everybody was pretty much on time to attend <a href="http://twitter.com/masdennis" target="_blank">@masdennis</a> awesome presentation on <em>Messing with Actionscript and the Kinect</em> then as the Dinner arrived, <a href="http://twitter.com/fcolaco">@fcolaco</a> had a surprise prepared for us especially for visitors outside of Switzerland, the local yodeler group made a show for us and you shouldn&#8217;t miss this one, <a href="http://vimeo.com/19413117" target="_blank">The Yodelers at gotoAndSki();</a> after their show, the conference continued its normal path and <a href="http://twitter.com/starnut" target="_blank">@starnut</a> was up on the stage for his talk titled <em>Hot Wireless Data Fudge</em> where he speaks about all kinds of wireless communication while developing for AIR on mobile and on the desktop, again quite late it was my turn to present <em>Developing for TV with AIR</em>, where @fcolaco <a href="http://vimeo.com/19514168" target="_blank">grounded me for not behaving</a> don&#8217;t remember why though but I think it was okay to do so.</p>
<p><strong>Day 3 &amp; Last Day:<br />
</strong>Yep, this pretty much sucks, everybody knew that this was the last day of the conference and everyone was sad about it as well, nevertheless, <a href="http://twitter.com/dctrl">@dctrl </a><a href="http://twitter.com/starnut" target="_blank">@starnut</a> and me decided to have a blast on the slopes and do some snowboarding the last day, which again was wonderful due to the awesome weather in the mountains, this time we had to start a bit earlier as some attendees were living that night.<br />
First of all <a href="http://twitter.com/trinefalbe" target="_blank">@trinefalbe</a> stepped up the stage with her talk on <em>Cognitive Psychology in Interactive Design</em> a very very good talk which I really enjoyed and I recommend this one to all of you designing Flash Applications, Websites, or even if you are not a Flash Developer, have a look at it as soon as her video is online. After Trine we had to speed up things a little and instaed of having dinner <a href="http://twitter.com/riccastelhano" target="_blank">@riccastelhano</a> was up on the stage doing his talk on <em>Flash + Arduino: a connection with Feelings</em>, again a very inspiring talk with funny moments and great shows, as well it wakened up the electronical guy in me, just need to get my hands on a bunch of boards and start building my own stuff, I think our good friend <a href="http://twitter.com/inoutin" target="_blank">Maciek &#8220;Feel happy like a pig in the mud&#8221; Wcislik</a> aka <a href="http://twitter.com/inoutin" target="_blank">@inoutin</a> had the same thoughts like me.<br />
Last but not least our very own <a href="http://twitter.com/sfug" target="_blank">SFUG </a>co-manager <a href="http://twitter.com/_sandro" target="_blank">@_sandro</a> was up on the stage talking about <em>Advanced Flash Accessibility</em> a great talk as usual and how could it be different, Sandro released a new opensource library called <a href="http://wiki.swfjunkie.com/jacc" target="_blank">JAcc </a>that will help every flash developer enabling Accessibility in their Flash Projects. That was it gotoAndSki(); was officially over and everyone was feeling sad about it.</p>
<p>At the end it was one of the best conferences I&#8217;ve attended in the past, not only because there was some snowboarding involved, no, <a href="http://twitter.com/fcolaco">@fcolaco</a> and <a href="http://twitter.com/almeidavid_" target="_blank">@almeidavid_</a>made a great conference in the swiss alps porting the concept from norway to switzerland, I had a blast meeting all these people, which now became friends, I can&#8217;t describe well enough how the conference was, I think the best would be to check out the <a href="http://twitter.com/#!/search?q=%23gotoAndSki" target="_blank">tweets from the first week after the event</a> by then you will be mad that you didn&#8217;t attend this event but you will know where you are going to be next year when it&#8217;s time for gotoAndSki(&#8220;switzerland&#8221;); 2012.</p>
<p>Below some of the tweets that I think really explain how the conference was:</p>
<blockquote><p>I guess good networking is when you think &#8220;I miss this guys&#8221; instead of just &#8220;I made this business contacts&#8221;. Damn <a title="#gotoAndSki" rel="nofollow" href="http://twitter.com/#%21/search?q=%23gotoAndSki"><strong>#gotoAndSki</strong></a> nostalgia&#8230;<br />
@fcolaco</p>
<p>Blog:  Two thumbs up for <a title="#gotoAndSki" rel="nofollow" href="http://twitter.com/#%21/search?q=%23gotoAndSki"><strong>#gotoAndSki</strong></a>(&#8216;Switzerland&#8217;) <a title="http://www.trinefalbe.com/?p=690" rel="nofollow" href="http://www.trinefalbe.com/?p=690" target="_blank">http://www.trinefalbe.com/?p=690<br />
</a>@trinefalbe<a title="http://www.trinefalbe.com/?p=690" rel="nofollow" href="http://www.trinefalbe.com/?p=690" target="_blank"></a></p>
<p>Walking through the streets of Lisbon. &#8220;Need to catch fresh air&#8221;, my brain says. I guess it&#8217;s a <a title="#gotoAndSki" rel="nofollow" href="http://twitter.com/#%21/search?q=%23gotoAndSki"><strong>#gotoAndSki</strong></a> secon&#8230; <a title="http://picplz.com/user/imhugo/pic/ntf8/" rel="nofollow" href="http://picplz.com/FvSV" target="_blank">http://picplz.com/FvSV</a><br />
@imhugo</p>
<div>
<div>Me too! RT @<a rel="nofollow" href="http://twitter.com/RicCastelhano">RicCastelhano</a>: may I return to the Swiss Alps ?? May I, please? Pretty please? <a title="#gotoandski" rel="nofollow" href="http://twitter.com/#%21/search?q=%23gotoandski"><strong>#gotoandski</strong></a> aftermath<br />
@jenschr</div>
</div>
</blockquote>
<div>Once again I would like to thank Fernando for the opportunity of speaking at the first gotoAndSki(); event in Switzerland, as well David for helping organizing such a great event and last but not least all attendees and speakers that made the conference as great as it was. One thing is sure I&#8217;ll be there again in 2012 if as Speaker or not, you too?</div>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2011%252F02%252F06%252Fgotoandski-is-over-and%252F&title=gotoAndSki%28%29%3B+is+over+and..&desc=%0D%0A%0D%0A...+it+feels+very+bad%2C+why%3F+Just+to+mention+a+few+reasons%2C+the+people%2C+the+scenery%2C+the+people%2C+the+snowboarding%2C+have+I+already+mentioned+the+people%3F%0D%0Ayep%2C+besides+Flash+At+The+Lake+09+there+was+&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2011/02/06/gotoandski-is-over-and/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Android-AS3: Accelerometer</title>
		<link>http://blog.six4rty.ch/2010/11/21/android-as3-accelerometer/</link>
		<comments>http://blog.six4rty.ch/2010/11/21/android-as3-accelerometer/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 18:04:22 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA["burrito"]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=889</guid>
		<description><![CDATA[You bought an Android phone because you want to start developing a cool flash or AIR App for that device? Or you just wondering how easy it is to develop an application for those target devices? In the following series, I&#8217;m going to show you how to access those special properties that are available when [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/11/as3mobile.jpg"><img class="alignleft size-medium wp-image-890" style="margin: 10px;" title="as3mobile" src="http://blog.six4rty.ch/wp-content/uploads/2010/11/as3mobile-300x270.jpg" alt="" width="168" height="151" /></a>You bought an Android phone because you want to start developing a cool flash or AIR App for that device?<br />
Or you just wondering how easy it is to develop an application for those target devices?</p>
<p>In the following series, I&#8217;m going to show you how to access those special properties that are available when developing for an Android or any other Flash / AIR powered device.</p>
<p>Today, we start with the <strong>Accelerometer API</strong>.</p>
<p>In this article I&#8217;m going to show you how to control a simple ball with the help of the accelerometer API. Clearly you could create a game like the well known <a rel="lightbox" href="http://blog.six4rty.ch/wp-content/uploads/2010/11/labyrinth.jpg">Labyrinth</a> available for the iOS or <a rel="lightbox" href="http://blog.six4rty.ch/wp-content/uploads/2010/11/teeter.jpg">Teeter</a> available on the HTC android devices very easy as soon as you know how to master the Accelerometer API.<br />
<span id="more-889"></span></p>
<p>Before we start just a heads up that you can follow this article even if you work with Flash CS5 although working with Flash Builder &#8220;Burrito&#8221; makes your life much easier.</p>
<p>To start let&#8217;s create a new Flash Builder &#8220;actionscript mobile project&#8221; called: &#8220;<strong>AccelerometerBall</strong>&#8220;.  Setup the project how you like it, just be sure that you enable full screen.</p>
<p>Now that you are ready to go we first check if an accelerometer is available, if none is available then it&#8217;s not worth of continuing the game, but if it&#8217;s available we add the sphere to the stage which we want to control. You can add whatever you want, i&#8217;m just using a simple sphere I created in Photoshop to be my indicator.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span> Accelerometer.<span style="color: #006600;">isSupported</span> <span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
    _accelerometer = <span style="color: #000000; font-weight: bold;">new</span> Accelerometer<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
    _accelerometer.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span> AccelerometerEvent.<span style="color: #006600;">UPDATE</span>, onAccelUpdate <span style="color: #66cc66;">&#41;</span>;
&nbsp;
    _sphere = <span style="color: #000000; font-weight: bold;">new</span> sphereClass<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
    _sphere.<span style="color: #006600;">scaleX</span> = _sphere.<span style="color: #006600;">scaleY</span> = .2;
    addChild<span style="color: #66cc66;">&#40;</span> _sphere <span style="color: #66cc66;">&#41;</span>;
&nbsp;
    addEventListener<span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">ENTER_FRAME</span>, moveSphere <span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #66cc66;">&#123;</span>
    <span style="color: #808080; font-style: italic;">//display message to user that accelerometer is not available</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>When you test the application at this point, you will not see your sphere unless your developer machine has an accelerometer in place, which I doubt <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>So to properly test it, you should debug your application on your mobile phone, now if you are on Flash CS5 you can use Device Central to simulate the normal behavior of  a mobile phone, Flash Builder &#8220;Burrito&#8221; users can deploy and debug directly from the Flash Builder Interface, to do that, just simply create a new Run configuration and setup as following.<br />
<a rel="lightbox" href="http://blog.six4rty.ch/wp-content/uploads/2010/11/runMobile.jpg"><img title="runMobile" src="http://blog.six4rty.ch/wp-content/uploads/2010/11/runMobile-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>When debugging the application on your phone you should now be able to see the sphere you placed in stage.</p>
<p>Next on let&#8217;s move on to the usage of the Accelerometer API.</p>
<p>To move our sphere, we simply need to take the accelerometers x &amp; y event, have a look at the code below:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">protected <span style="color: #000000; font-weight: bold;">function</span> onAccelUpdate<span style="color: #66cc66;">&#40;</span> event:AccelerometerEvent <span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
<span style="color: #66cc66;">&#123;</span>
     _targetX = event.<span style="color: #006600;">accelerationX</span> <span style="color: #66cc66;">*</span> _factor;
     _targetY = event.<span style="color: #006600;">accelerationY</span> <span style="color: #66cc66;">*</span> _factor;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
protected <span style="color: #000000; font-weight: bold;">function</span> moveSphere<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
<span style="color: #66cc66;">&#123;</span>
      _sphere.<span style="color: #006600;">x</span> -= _targetX;
      _sphere.<span style="color: #006600;">y</span> += _targetY;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>If you now test your applcation on your device or in Device Central you should see your sphere moving around on your screen.<br />
As you see every time an update of accelerometer is being dispatched the new position is being saved in the _targetX &amp; _targetY variable, thanks to the EnterFrame we move our sphere around the stage.</p>
<p>Here the complete code for you to review:</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> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Bitmap</span>;
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Sprite</span>;
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">StageAlign</span>;
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">StageScaleMode</span>;
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">AccelerometerEvent</span>;
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">Event</span>;
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">sensors</span>.<span style="color: #006600;">Accelerometer</span>;
&nbsp;
	<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> AcceleroBall <span style="color: #0066CC;">extends</span> Sprite
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #66cc66;">&#91;</span>Embed<span style="color: #66cc66;">&#40;</span>source=<span style="color: #ff0000;">&quot;sphere.png&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span>
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> sphereClass:<span style="color: #000000; font-weight: bold;">Class</span>;
&nbsp;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _sphere			:Bitmap;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _factor			:uint			= <span style="color: #cc66cc;">50</span>;
&nbsp;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _accelerometer		:Accelerometer;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _targetX			:<span style="color: #0066CC;">Number</span>;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _targetY			:<span style="color: #0066CC;">Number</span>;
&nbsp;
		<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> AcceleroBall<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
		<span style="color: #66cc66;">&#123;</span>
			setup<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		protected <span style="color: #000000; font-weight: bold;">function</span> setup<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: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span> Accelerometer.<span style="color: #006600;">isSupported</span> <span style="color: #66cc66;">&#41;</span>
			<span style="color: #66cc66;">&#123;</span>
				_accelerometer = <span style="color: #000000; font-weight: bold;">new</span> Accelerometer<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
				_accelerometer.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span> AccelerometerEvent.<span style="color: #006600;">UPDATE</span>, onAccelUpdate <span style="color: #66cc66;">&#41;</span>;
&nbsp;
				_sphere = <span style="color: #000000; font-weight: bold;">new</span> sphereClass<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
				_sphere.<span style="color: #006600;">scaleX</span> = _sphere.<span style="color: #006600;">scaleY</span> = .2;
				addChild<span style="color: #66cc66;">&#40;</span> _sphere <span style="color: #66cc66;">&#41;</span>;
&nbsp;
				addEventListener<span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">ENTER_FRAME</span>, moveSphere <span style="color: #66cc66;">&#41;</span>;
			<span style="color: #66cc66;">&#125;</span>
			<span style="color: #b1b100;">else</span>
			<span style="color: #66cc66;">&#123;</span>
				<span style="color: #808080; font-style: italic;">//display message to user that accelerometer is not available</span>
			<span style="color: #66cc66;">&#125;</span>
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		protected <span style="color: #000000; font-weight: bold;">function</span> onAccelUpdate<span style="color: #66cc66;">&#40;</span> event:AccelerometerEvent <span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
			_targetX = event.<span style="color: #006600;">accelerationX</span> <span style="color: #66cc66;">*</span> _factor;
			_targetY = event.<span style="color: #006600;">accelerationY</span> <span style="color: #66cc66;">*</span> _factor;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		protected <span style="color: #000000; font-weight: bold;">function</span> moveSphere<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
			_sphere.<span style="color: #006600;">x</span> -= _targetX;
			_sphere.<span style="color: #006600;">y</span> += _targetY;
		<span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>Now it&#8217;s up on you to create the boundaries, some holes on the floor, and there you go you have your first Flash Game.</p>
<p>If you have questions, don&#8217;t hesitate to comment on this post.</p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F11%252F21%252Fandroid-as3-accelerometer%252F&title=Android-AS3%3A+Accelerometer&desc=You+bought+an+Android+phone+because+you+want+to+start+developing+a+cool+flash+or+AIR+App+for+that+device%3F%0D%0AOr+you+just+wondering+how+easy+it+is+to+develop+an+application+for+those+target+devices%3F%0D%0A%0D%0AI&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/11/21/android-as3-accelerometer/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>AIR: Quick Hint: Suppress Keyboard Events</title>
		<link>http://blog.six4rty.ch/2010/11/09/air-quick-hint-suppress-keyboard-events/</link>
		<comments>http://blog.six4rty.ch/2010/11/09/air-quick-hint-suppress-keyboard-events/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 00:18:38 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Quick Hints]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AS3.0]]></category>
		<category><![CDATA[Kiosk]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=878</guid>
		<description><![CDATA[I&#8217;ve been lately working on a Multitouch Kiosk Project, in the upcoming days, I&#8217;ll be posting some of the quick hints I think they are worth sharing, some of them are simply good to know, others are braintwisting challenges I faced during the development. Today, I would like to show you how to suppress certain [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="margin: 10px;" title="airCode" src="../wp-content/uploads/2010/10/airCode-300x270.jpg" alt="" width="137" height="124" />I&#8217;ve  been lately working on a Multitouch Kiosk Project, in the upcoming  days, I&#8217;ll be posting some of the quick hints I think they are worth  sharing, some of them are simply good to know, others are braintwisting  challenges I faced during the development.</p>
<p>Today, I would like to show you how to suppress certain Keyboard Events, let&#8217;s say you setup a kiosk application where the keyboard has to stay attached to the computer and available to the users, there are two ways you can prevent the application to be closed by a kiosk visitor:</p>
<p>A) You take hammer and hit the ESC key out of the keyboard<br />
B) You write a simple small function that will take care of it.</p>
<p>I know I know option A is more fun, but we prefer going with option B.</p>
<p>So let&#8217;s have a look what we need to do:<span id="more-878"></span><br />
1. As soon as our application starts we need to tell our application to go full screen interactive and add an eventlistener for Event.CLOSE and KeyboardEvent.KEYDOWN.<br />
2. When the user tries to exit the application by either trying a key combination or CMD+Q (Win: ALT+F4) these events will popup and do whatever you wrote in the callback, this is how it should look like:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">addEventListener<span style="color: #66cc66;">&#40;</span> KeyboardEvent.<span style="color: #006600;">KEYDOWN</span>, <span style="color: #0066CC;">onKeyDown</span> <span style="color: #66cc66;">&#41;</span>;
addEventListener<span style="color: #66cc66;">&#40;</span> Event.<span style="color: #006600;">CLOSING</span>, <span style="color: #0066CC;">onClose</span> <span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">onKeyDown</span><span style="color: #66cc66;">&#40;</span> <span style="color: #0066CC;">e</span>:KeyboardEvent <span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
<span style="color: #66cc66;">&#123;</span>
      <span style="color: #0066CC;">e</span>.<span style="color: #006600;">preventDefault</span><span style="color: #66cc66;">&#40;</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> <span style="color: #0066CC;">onClose</span><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: #0066CC;">e</span>.<span style="color: #006600;">preventDefault</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>Yep the magic happens with the preventDefault() method, as it says it prevents the default action to happen. Additionally you could assign an if statement to the onKeyDown event where you listen for a specific combination of keys so you can really close the application.</p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F11%252F09%252Fair-quick-hint-suppress-keyboard-events%252F&title=AIR%3A+Quick+Hint%3A+Suppress+Keyboard+Events&desc=I%27ve++been+lately+working+on+a+Multitouch+Kiosk+Project%2C+in+the+upcoming++days%2C+I%27ll+be+posting+some+of+the+quick+hints+I+think+they+are+worth++sharing%2C+some+of+them+are+simply+good+to+know%2C+others+ar&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/11/09/air-quick-hint-suppress-keyboard-events/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>AIR: Quick hint: Going Fullscreen</title>
		<link>http://blog.six4rty.ch/2010/10/16/air-quick-hint-going-fullscreen/</link>
		<comments>http://blog.six4rty.ch/2010/10/16/air-quick-hint-going-fullscreen/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 15:51:12 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Quick Hints]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AS3.0]]></category>
		<category><![CDATA[fullscren]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=872</guid>
		<description><![CDATA[I&#8217;ve been lately working on a Multitouch Kiosk Project, in the upcoming days, I&#8217;ll be posting some of the quick hints I think they are worth sharing, some of them are simply good to know, others are braintwisting challenges I faced during the development. To start off I would like to show you people how [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-875" style="margin: 10px;" title="airCode" src="http://blog.six4rty.ch/wp-content/uploads/2010/10/airCode-300x270.jpg" alt="" width="137" height="124" />I&#8217;ve been lately working on a Multitouch Kiosk Project, in the upcoming days, I&#8217;ll be posting some of the quick hints I think they are worth sharing, some of them are simply good to know, others are braintwisting challenges I faced during the development.</p>
<p>To start off I would like to show you people how to go FullScreen on Startup of your application, before I show you how that works, let me tell you one very important thing:<br />
Going fullscreen rightaway without any user interaction is ONLY available within Adobe AIR, don&#8217;t try this with a pure AS3 or a Flex Project as this will not work!</p>
<p>Why? Security! People visiting a website shouldn&#8217;t be capped by a website taking over the whole screen without them wanting to do so, in AIR you create an application that a user will need to install to be able to run it, therefore other security aspects.</p>
<p>Enough of gray theory, let&#8217;s have a look how to do this very complicated task <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">//default fullscreenmode</span>
<span style="color: #0066CC;">stage</span>.<span style="color: #006600;">displayState</span> = StageDisplayState.<span style="color: #006600;">FULL_SCREEN</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//fullscreen mode with interactivity</span>
<span style="color: #0066CC;">stage</span>.<span style="color: #006600;">displayState</span> = StageDisplayState.<span style="color: #006600;">FULLSCREEN_INTERACTIVE</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//going back to normal screen</span>
<span style="color: #0066CC;">stage</span>.<span style="color: #006600;">displayState</span> = StageDisplayState.<span style="color: #006600;">NORMAL</span>;</pre></div></div>

<p><span id="more-872"></span><br />
Yep that is all you need, in a typical AIR Application you would add an EventListener to your application where when creation has been completed it should call up the method above.</p>
<p>Example of AS3 application:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> myApp<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
        <span style="color: #0066CC;">stage</span>.<span style="color: #006600;">displayState</span> = StageDisplayState.<span style="color: #006600;">FULL_SCREEN</span>;
	subs = gridSize-<span style="color: #cc66cc;">1</span>;
&nbsp;
	particles = <span style="color: #000000; font-weight: bold;">new</span> Vector.<span style="color: #66cc66;">&amp;</span>gt;<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	_attractions = <span style="color: #000000; font-weight: bold;">new</span> Vector.;
	s = <span style="color: #000000; font-weight: bold;">new</span> ParticleSystem<span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> Vector3D<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">0.2</span>, <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>, .01<span style="color: #66cc66;">&#41;</span>;
&nbsp;
	_attractor = s.<span style="color: #006600;">makeParticle</span><span style="color: #66cc66;">&#40;</span> .8, <span style="color: #000000; font-weight: bold;">new</span> Vector3D<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">4</span>,-<span style="color: #cc66cc;">0.2</span> <span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#41;</span>;
&nbsp;
	<span style="color: #000000; font-weight: bold;">var</span> tmp_bm:Bitmap = <span style="color: #000000; font-weight: bold;">new</span> Img<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> as Bitmap;
	texture = tmp_bm.<span style="color: #006600;">bitmapData</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F10%252F16%252Fair-quick-hint-going-fullscreen%252F&title=AIR%3A+Quick+hint%3A+Going+Fullscreen&desc=I%27ve+been+lately+working+on+a+Multitouch+Kiosk+Project%2C+in+the+upcoming+days%2C+I%27ll+be+posting+some+of+the+quick+hints+I+think+they+are+worth+sharing%2C+some+of+them+are+simply+good+to+know%2C+others+are+b&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/10/16/air-quick-hint-going-fullscreen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>AIR &amp; USB/Serial Devices</title>
		<link>http://blog.six4rty.ch/2009/01/14/air-usbserial-devices/</link>
		<comments>http://blog.six4rty.ch/2009/01/14/air-usbserial-devices/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 09:30:22 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Communication]]></category>
		<category><![CDATA[Serial]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=491</guid>
		<description><![CDATA[I&#8217;ve spent the whole last night on the search for any information about AIR using a USB/Serial device for data exchange. After endless hours I came to the conclusion that AIR is not capable of using any external devices. I&#8217;m not talking about Mic&#8217;s or Camera&#8217;s neither USB harddrives. This is one of the most [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent the whole last night on the search for any information about AIR using a USB/Serial device for data exchange.<br />
After endless hours I came to the conclusion that AIR is not capable of using any external devices. I&#8217;m not talking about Mic&#8217;s or Camera&#8217;s neither USB harddrives. This is one of the most vital parts for the one project that I need.</p>
<p>Does anyone know about any solution / drivers or anything that could enable AIR to communicate with other devices?</p>
<p>I also recall a post by Mike Chambers saying that AIR 2.0 would bring some of these functionalities can anyone confirm that?</p>
<p>Thanks for your input</p>
<p>Tiago</p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2009%252F01%252F14%252Fair-usbserial-devices%252F&title=AIR+%26+USB%2FSerial+Devices&desc=I%27ve+spent+the+whole+last+night+on+the+search+for+any+information+about+AIR+using+a+USB%2FSerial+device+for+data+exchange.%0D%0AAfter+endless+hours+I+came+to+the+conclusion+that+AIR+is+not+capable+of+using+&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/01/14/air-usbserial-devices/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>4 things I like about Klok</title>
		<link>http://blog.six4rty.ch/2008/11/04/4-things-i-like-about-klok/</link>
		<comments>http://blog.six4rty.ch/2008/11/04/4-things-i-like-about-klok/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 20:56:17 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Review]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=471</guid>
		<description><![CDATA[If you are one of those persons who never heard of Klok, then jump right over to the Developers page, http://klok.mcgraphix.com/klok/index.htm. Klok is a wonderful tool that helps you keep track of your time, it&#8217;s made for freelancers, individuals, for people that workout on different billable projects. I could even think that it could be [...]]]></description>
			<content:encoded><![CDATA[<p>If you are one of those persons who never heard of Klok, then jump right over to the Developers page, <a href="http://klok.mcgraphix.com/klok/index.htm" target="_blank">http://klok.mcgraphix.com/klok/index.htm</a>.</p>
<p>Klok is a wonderful tool that helps you keep track of your time, it&#8217;s made for freelancers, individuals, for people that workout on different billable projects. I could even think that it could be used by a small company to track time of their workers.</p>
<p><strong>1. IT&#8217;S SIMPLE!</strong><br />
I&#8217;ve tested and used a lot of timetracking software throughout the past years and no other timetracking tool was that easy as Klok. Drag &amp; Drop the defined project into the weekly / daily grid and you are done, you can change the time by dragging the top or bottom bar of the entry, done!<br />
<a rel="lightbox" href="http://blog.six4rty.ch/wp-content/uploads/2008/11/klok_01.jpg"><img class="alignnone size-thumbnail wp-image-472" title="klok_01" src="http://blog.six4rty.ch/wp-content/uploads/2008/11/klok_01-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><strong>2. FLEXIBLE<br />
</strong>Let&#8217;s say you work on different projects like webdesign, Flex development or Video editing, you never have the descriptions that you really need to comment your tracked hours, Klok gives you the possiblity to create your own Project templates and define subcategories.<br />
<a rel="lightbox" href="http://blog.six4rty.ch/wp-content/uploads/2008/11/klok_02.jpg"><img class="alignnone size-thumbnail wp-image-473" title="klok_02" src="http://blog.six4rty.ch/wp-content/uploads/2008/11/klok_02-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><strong>3. STOPCLOCK</strong><br />
Wouldn&#8217;t it be cool to just track your time realtime, Klok enables you to do that with the help of a simple drag&amp;drop.<br />
Drag &amp; Drop your project or activity to the title bar and Klok stops the time that passes by until you hit the stop button, the entry is automatically created and you can move on to the next project.<br />
<a rel="lightbox" href="http://blog.six4rty.ch/wp-content/uploads/2008/11/klok_03.jpg"><img class="alignnone size-thumbnail wp-image-474" title="klok_03" src="http://blog.six4rty.ch/wp-content/uploads/2008/11/klok_03-150x41.jpg" alt="" width="150" height="41" /></a><br />
<strong>4. REPORTING</strong><br />
What&#8217;s more important than tracking your time? You would like to BILL your time to your client, Klock does a pretty solid job, you just click on &#8220;weekly timesheet&#8221; and you can drag &amp; drop the table to your desktop an Excel file is automatically created for you, not enough? Then click the  &#8220;Reports&#8221; tab and you get a nice pie chart of all the projects that you worked on during the current month, past month or any user defined date range.<br />
<a rel="lightbox" href="http://blog.six4rty.ch/wp-content/uploads/2008/11/klok_04.jpg"><img class="alignnone size-thumbnail wp-image-475" title="klok_04" src="http://blog.six4rty.ch/wp-content/uploads/2008/11/klok_04-150x150.jpg" alt="" width="150" height="150" /></a><a rel="lightbox" href="http://blog.six4rty.ch/wp-content/uploads/2008/11/klok_05.jpg"><img class="alignnone size-thumbnail wp-image-476" title="klok_05" src="http://blog.six4rty.ch/wp-content/uploads/2008/11/klok_05-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Am I completely happy with Klok, well yeh kind of, there are a few bugs and issues that are a bit annoying like for example the zoom slider of the weekly grid, if you work past midnight and the stopclock is running the entry will be closed at midnight and the stopclock stops working. But all in all it&#8217;s a great Project and I hope that <a href="http://agileui.blogspot.com/" target="_blank">Rob McKeown</a> continues the development of Klok</p>
<p><a href="http://agileui.blogspot.com/" target="_blank"></a><a href="http://klok.mcgraphix.com/klok/index.htm" target="_blank">You can find Klok HERE</a></p>
<p><strong>UPDATE:</strong> I&#8217;ve just seen that Rob has released Klok 1.5 as a beta version, some of the bugs mentioned above that I encoutered have been fixed, which really makes me look forward to this nice little AIR application</p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2008%252F11%252F04%252F4-things-i-like-about-klok%252F&title=4+things+I+like+about+Klok&desc=If+you+are+one+of+those+persons+who+never+heard+of+Klok%2C+then+jump+right+over+to+the+Developers+page%2C+http%3A%2F%2Fklok.mcgraphix.com%2Fklok%2Findex.htm.%0D%0A%0D%0AKlok+is+a+wonderful+tool+that+helps+you+keep+track+of&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2008/11/04/4-things-i-like-about-klok/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>The Tech Labs</title>
		<link>http://blog.six4rty.ch/2008/07/17/the-tech-labs/</link>
		<comments>http://blog.six4rty.ch/2008/07/17/the-tech-labs/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 17:52:52 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=422</guid>
		<description><![CDATA[Carlos from the well known flashenabledblog.com has released a new site called The Tech Labs, now you probably asking yourself : Why is he creating a new flash tutorial collection site again? What&#8217;s wrong with the flashenabledblog? The answer is simple, there is nothing wrong with the feb, The Tech Labs is a complete new [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.six4rty.ch/wp-content/uploads/2008/07/thetechlabs.jpg"><img class="alignleft size-full wp-image-424" title="thetechlabs" src="http://blog.six4rty.ch/wp-content/uploads/2008/07/thetechlabs.jpg" alt="" width="415" height="150" /></a></p>
<p>Carlos from the well known <a href="http://www.flashenabledblog.com" target="_blank">flashenabledblog.com</a> has released a new site called <a title="The Tech Labs" href="http://www.thetechlabs.com" target="_blank">The Tech Labs</a>,<br />
now you probably asking yourself :</p>
<p>Why is he creating a new flash tutorial collection site again?<br />
What&#8217;s wrong with the flashenabledblog?</p>
<p>The answer is simple, there is nothing wrong with the feb, The Tech Labs is a complete new site aiming at Flash, Flex &amp; AIR developers, only publishing the finest tutorials about these 3 topics and the best of it, you can also make money by writing a tutorial, The Tech Labs pays you 100$ for each published tutorial.<br />
Sounds easy no? well hang on.. there are some <a title="regulations &amp; guidelines" href="http://www.thetechlabs.com/become-an-author/" target="_blank">regulations and guidelines</a> that you need to follow, stick to them and Carlos will come back to you for more <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>So if you think you have a small author in you, then start writing some cool tutorials and help the Flash, Flex community to learn even more.</p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2008%252F07%252F17%252Fthe-tech-labs%252F&title=The+Tech+Labs&desc=%0D%0A%0D%0ACarlos+from+the+well+known+flashenabledblog.com+has+released+a+new+site+called+The+Tech+Labs%2C%0D%0Anow+you+probably+asking+yourself+%3A%0D%0A%0D%0AWhy+is+he+creating+a+new+flash+tutorial+collection+site+again%3F%0D&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2008/07/17/the-tech-labs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Why you using Twitter.com???</title>
		<link>http://blog.six4rty.ch/2008/03/26/why-you-using-twittercom/</link>
		<comments>http://blog.six4rty.ch/2008/03/26/why-you-using-twittercom/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 19:40:10 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/2008/03/26/why-you-using-twittercom/</guid>
		<description><![CDATA[Today I&#8217;ve been questioned from two friends why I&#8217;m using Twitter? Twitter may seem to you &#8220;not geek&#8221; that it&#8217;s way to tell people what you are doing, (which is true partly) but the really cool thing about it is that you can learn from a lot of twitters around the world, I&#8217;m following a [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://blog.six4rty.ch/wp-content/uploads/2008/03/twitter.png' alt='Twitter' /></p>
<p>Today I&#8217;ve been questioned from two friends why I&#8217;m using Twitter?<br />
Twitter may seem to you &#8220;not geek&#8221; that it&#8217;s way to tell people what you are doing, <em>(which is true partly)</em> but the really cool thing about it is that you can learn from a lot of twitters around the world, I&#8217;m following a bunch of people lately and to be honest you can learn a lot from them, I even considered shutting down my IM since it&#8217;s anyway blipping around whole day long and distracting me from work. I&#8217;m currently using <a href="http://www.twhirl.org/">Twhirl </a>on all my computers and <a href="http://www.hahlo.com">Hahlo.com</a> on my iPhone.<br />
Either if I get a message about a new blog post, or a friend that needs some help on a particular issue, new ideas or just random rambling and yeh&#8230; knowing what your friends are doing.</p>
<p>Is it completely useless?? I don&#8217;t think so.. For example: Twhirl is a very good example on how twitter can be made cool, no more constantly sign-ins and big ass browser access to view what others are doing, a simple desktop app (Built with Adobe AIR) does it work very good (if not better then the original) and I&#8217;ve already seen a few similar clients out there doing the same work.<br />
If you new to AIR, this is your chance to start writing your own twitter client and start learning the dev process of AIR.</p>
<p>At the end to profit from using twitter, you need to follow the right people, being followed is nice, makes you feel popular.. <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  altough it&#8217;s not important to be followed, as I said it makes more sense to follow people and learn from them.</p>
<p>What do you think, why are you using Twitter?</p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2008%252F03%252F26%252Fwhy-you-using-twittercom%252F&title=Why+you+using+Twitter.com%3F%3F%3F&desc=%0D%0A%0D%0AToday+I%27ve+been+questioned+from+two+friends+why+I%27m+using+Twitter%3F%0D%0ATwitter+may+seem+to+you+%22not+geek%22+that+it%27s+way+to+tell+people+what+you+are+doing%2C+%28which+is+true+partly%29+but+the+really+cool+t&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2008/03/26/why-you-using-twittercom/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>MTV Adobe AIR Challenge</title>
		<link>http://blog.six4rty.ch/2007/10/03/mtv-adobe-air-challenge/</link>
		<comments>http://blog.six4rty.ch/2007/10/03/mtv-adobe-air-challenge/#comments</comments>
		<pubDate>Wed, 03 Oct 2007 20:22:30 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Contest]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/2007/10/03/mtv-adobe-air-challenge/</guid>
		<description><![CDATA[Hey guys just a follow up on one of the keynote speeches, MTV &#038; Adobe have teamed up and they are searching for the coolest application. Maybe you guys wanna join on this fun contest. I definately will MTV and Adobe are teaming up to bring you the &#8220;MTV Adobe® AIR™ Challenge.&#8221; Think you can [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://blog.six4rty.ch/wp-content/uploads/2007/10/mtv_logo_solo.thumbnail.jpg' alt='MTV Logo' /></p>
<p>Hey guys just a follow up on one of the keynote speeches, MTV &#038; Adobe have teamed up and they are searching for the coolest application.<br />
Maybe you guys wanna join on this fun contest. I definately will <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote><p>
MTV and Adobe are teaming up to bring you the &#8220;MTV Adobe® AIR™ Challenge.&#8221; Think you can make the coolest Adobe® AIR™ application worthy of MTV&#8217;s digital age? Then give it a shot!
</p></blockquote>
<p>btw. this contest is only for people living in North America, though why not give it a try and compare it with the entries that other people did, if you are new to AIR maybe also a good way on learning the amount of power behind AIR.</p>
<p>More informations on: <a href="http://adobe.mtv.com">http://adobe.mtv.com</a></p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2007%252F10%252F03%252Fmtv-adobe-air-challenge%252F&title=MTV+Adobe+AIR+Challenge&desc=%0D%0A%0D%0AHey+guys+just+a+follow+up+on+one+of+the+keynote+speeches%2C+MTV+%26+Adobe+have+teamed+up+and+they+are+searching+for+the+coolest+application.%0D%0AMaybe+you+guys+wanna+join+on+this+fun+contest.+I+definatel&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2007/10/03/mtv-adobe-air-challenge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>My first experience with AIR</title>
		<link>http://blog.six4rty.ch/2007/08/16/my-first-experience-with-air/</link>
		<comments>http://blog.six4rty.ch/2007/08/16/my-first-experience-with-air/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 16:42:59 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/2007/08/16/my-first-experience-with-air/</guid>
		<description><![CDATA[Everyone which is into Flex is screaming for AIR and I&#8217;ve already seen a lot of cool applications build in Flex and exported to AIR, and they all look awesome, nice and actually they work (which is the most important at the end of the day). Today I&#8217;ve decided to install Flex 3 Beta and [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.six4rty.ch/wp-content/uploads/2007/08/airapp_128.png" alt="Adobe AIR" align="left" />Everyone which is into Flex is screaming for AIR and I&#8217;ve already seen a lot of cool applications build in Flex and exported to AIR, and they all look awesome, nice and actually they work <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (which is the most important at the end of the day). Today I&#8217;ve decided to install Flex 3 Beta and play around with it and try to export a project to AIR.</p>
<p>So I started with a datagrid, and an external datasource which is an XML, then created some effects and at the end, a media player which would play the contents of my xml, the cool thing about it, is that I&#8217;m feeding a complete itunes-podcast compatible XML into my datagrid, I don&#8217;t have to rework the XML for the purposes that I need.</p>
<p>Believe me or not, but just in a matter of 4 hours, I was able to create a fully functional and I hope soon in production application, with a basic knowledge of AS3 and Flex.</p>
<p>Bottom line is, i had a hell of a fun creating that application, you can design your apps very clearly, they are nice and shiny, and they don&#8217;t look so bad as some of the applications among us which were done in Java <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  &#8220;Grey windows with no styling are out&#8221;</p>
<p>I will try to get a public version for you guys, and I will write a small tutorial explaining how it has been created in the hope that beginners like me can also learn from my first steps</p>
<p>Till then<br />
Tiago</p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2007%252F08%252F16%252Fmy-first-experience-with-air%252F&title=My+first+experience+with+AIR&desc=Everyone+which+is+into+Flex+is+screaming+for+AIR+and+I%27ve+already+seen+a+lot+of+cool+applications+build+in+Flex+and+exported+to+AIR%2C+and+they+all+look+awesome%2C+nice+and+actually+they+work+%3A%29+%28which+is&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2007/08/16/my-first-experience-with-air/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Bits &amp; Bytes with AIR</title>
		<link>http://blog.six4rty.ch/2007/08/14/bits-bytes-with-air/</link>
		<comments>http://blog.six4rty.ch/2007/08/14/bits-bytes-with-air/#comments</comments>
		<pubDate>Tue, 14 Aug 2007 09:48:03 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/2007/08/14/bits-bytes-with-air/</guid>
		<description><![CDATA[Benjamin from richapps.de just published his &#8220;unfinished&#8221; series Bits&#038;Bytes with AIR part 2. Go have a look at this site to understand more about this topic and how to use it with AIR. Go check it out here:]]></description>
			<content:encoded><![CDATA[<p>Benjamin from <a href="http://www.richapps.de">richapps.de</a> just published his &#8220;unfinished&#8221; series <a href="http://www.richapps.de/?p=87">Bits&#038;Bytes with AIR part 2</a>.<br />
Go have a look at this site to understand more about this topic and how to use it with AIR.</p>
<p><a href="http://www.richapps.de/?p=87">Go check it out here:</a></p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2007%252F08%252F14%252Fbits-bytes-with-air%252F&title=Bits+%26+Bytes+with+AIR&desc=Benjamin+from+richapps.de+just+published+his+%22unfinished%22+series+Bits%26Bytes+with+AIR+part+2.+%0D%0AGo+have+a+look+at+this+site+to+understand+more+about+this+topic+and+how+to+use+it+with+AIR.%0D%0A%0D%0AGo+check+i&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2007/08/14/bits-bytes-with-air/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
	</channel>
</rss>

