<?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</title>
	<atom:link href="http://blog.six4rty.ch/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>Flex Mobile Tour makes halt in Zurich</title>
		<link>http://blog.six4rty.ch/2011/11/01/flex-mobile-tour-makes-halt-in-zurich/</link>
		<comments>http://blog.six4rty.ch/2011/11/01/flex-mobile-tour-makes-halt-in-zurich/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 14:06:29 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Meetings]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=1085</guid>
		<description><![CDATA[Do you live in Switzerland? Are you up for a great hands on session with Ryan Stewart and Mihai Corlan? Then you shouldn&#8217;t miss the Adobe Flex Mobile Tour 2011 You can register here, right now for a limited seat, so don&#8217;t miss the chance: Online event registration for Flex Mobile European Tour 2011 &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>Do you live in Switzerland?<br />
Are you up for a great hands on session with <a href="http://blog.digitalbackcountry.com/" target="_blank">Ryan Stewart</a> and <a href="http://www.corlan.org" target="_blank">Mihai Corlan</a>? <strong>Then you shouldn&#8217;t miss the Adobe Flex Mobile Tour 2011</strong></p>
<p>You can register here, right now for a limited seat, so don&#8217;t miss the chance:</p>
<div style="width: 100%; text-align: left;">
<p><iframe src="http://www.eventbrite.com/tickets-external?eid=2357154312&amp;ref=etckt" frameborder="0" marginwidth="5" marginheight="5" scrolling="auto" width="100%" height="192"></iframe></p>
<div style="font-family: Helvetica, Arial; font-size: 10px; padding: 5px 0 5px; margin: 2px; width: 100%; text-align: left;"><a style="color: #ddd; text-decoration: none;" href="http://www.eventbrite.com/r/etckt" target="_blank">Online event registration</a><span style="color: #ddd;"> for </span><a style="color: #ddd; text-decoration: none;" href="http://mobileflextourzurich.eventbrite.com?ref=etckt" target="_blank">Flex Mobile European Tour 2011 &#8211; Zurich</a><span style="color: #ddd;"> powered by </span><a style="color: #ddd; text-decoration: none;" href="http://www.eventbrite.com?ref=etckt" target="_blank">Eventbrite</a></div>
</div>
<p>Hang on you don&#8217;t live in Switzerland but in another European Country? Don&#8217;t worry Ryan Stewart and Mihai Corlan will be travelling around Europe to show the latest greatest features of Flex for Mobile Devices. Mihai posted a tour list on his blog: <a href="http://corlan.org/2011/10/27/flex-mobile-european-tour-2011/">http://corlan.org/2011/10/27/flex-mobile-european-tour-2011/</a></p>
<p>Don&#8217;t miss the great opportunity!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2011/11/01/flex-mobile-tour-makes-halt-in-zurich/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>another blog, more authors</title>
		<link>http://blog.six4rty.ch/2011/03/22/another-blog-more-authors/</link>
		<comments>http://blog.six4rty.ch/2011/03/22/another-blog-more-authors/#comments</comments>
		<pubDate>Tue, 22 Mar 2011 08:08:21 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[AS3.0]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=1062</guid>
		<description><![CDATA[Two weeks ago me and my fellow co-workers have started our company blog which can be reached at http://blog.publicis-modem.ch every open source initiative, project or library that we create will be published there. I might do a cross link to a blog post or even write a little more about it, but I think you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.publicis-modem.ch"><img class="alignnone size-full wp-image-1065" title="blogModem" src="http://blog.six4rty.ch/wp-content/uploads/2011/03/blogModem.jpg" alt="" width="620" height="252" /></a></p>
<p>Two weeks ago me and my fellow co-workers have started our company blog which can be reached at<br />
<a href="http://blog.publicis-modem.ch" target="_blank">http://blog.publicis-modem.ch</a> every open source initiative, project or library that we create will be published there.<br />
I might do a cross link to a blog post or even write a little more about it, but I think you should keep an eye over there aswell, we already released two opensource projects (<a href="http://opensource.publicis-modem.ch/websvn/listing.php?repname=Open+Source+at+Publicis+Modem+Repository&amp;path=%2Fwallago%2Ftrunk%2Fsrc%2F&amp;#a820ba52e91ea86abf879a04967ee2ccc" target="_blank">wallaGo </a>and <a href="http://opensource.publicis-modem.ch/websvn/listing.php?repname=Open+Source+at+Publicis+Modem+Repository&amp;path=%2Fas3square%2Ftrunk%2Fsrc%2F&amp;#a8ac9b707f5b226f9b5e414505c42f451" target="_blank">AS3Square</a>) and there is more to come soon, so stay tuned for some fresh content and don&#8217;t forget to bookmark a new fresh blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2011/03/22/another-blog-more-authors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<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>
]]></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>Reviewing Facebook Graph API Development with Flash</title>
		<link>http://blog.six4rty.ch/2011/01/18/reviewing-facebook-graph-api-development-with-flash/</link>
		<comments>http://blog.six4rty.ch/2011/01/18/reviewing-facebook-graph-api-development-with-flash/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 19:52:57 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[AS3.0]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=1035</guid>
		<description><![CDATA[I&#8217;ve just finished my presentation for gotoAndSki(); already got a new task waiting for me, as soon I come back from gotoAndSki(); I&#8217;m going to start reading this book, Facebook Graph API Development with Flash, I&#8217;m pretty sure that I&#8217;m going to need some Facebook skills in the next few months, so why not be [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://link.packtpub.com/IOeAW6" target="_blank"><img class="alignleft size-full wp-image-1036" style="margin-left: 10px; margin-right: 10px;" title="flash" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/flash.jpg" alt="" width="280" height="346" /></a>I&#8217;ve just finished my presentation for gotoAndSki(); already got a new task waiting for me, as soon I come back from gotoAndSki(); I&#8217;m going to start reading<br />
this book, <a href="http://link.packtpub.com/IOeAW6" target="_blank">Facebook Graph API Development with Flash</a>, I&#8217;m pretty sure that I&#8217;m going to need some Facebook skills in the next few months, so why not be proactive and start now. The fine folks over at <a href="http://link.packtpub.com/IOeAW6" target="_blank">Packt Publishing</a> and of course <a href="http://gamedev.michaeljameswilliams.com/" target="_blank">Michael </a>were so kind of sending me a copy, which I&#8217;m more then happy to read &amp; review, in the next few weeks.</p>
<p>Somehow I have a love-hate relationship with Facebook,<br />
I mean it&#8217;s really cool to catch some friends if you move around the world and you  have a few cool games which I really enjoyed playing in the past, but it&#8217;s a pain if you don&#8217;t know how to integrate your cool app with Facebook <strong>properly</strong> I&#8217;ve already done some applications on Facebook with the previous API and sadly I didn&#8217;t had the time to scroll through the new API and see if it got any better. I&#8217;m pretty sure <a href="http://gamedev.michaeljameswilliams.com/" target="_blank">Michael </a>dug the whole Graph API from front to back, left to right. So why not trust him and read the book <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;m really looking forward to it, be sure to come back in a few weeks to read my review, oh and by the way, if you can&#8217;t wait for me to review it, why don&#8217;t you catch an e-book or hard-printed copy? Click <a href="http://link.packtpub.com/IOeAW6" target="_blank">here</a> to order yours right away.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2011/01/18/reviewing-facebook-graph-api-development-with-flash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>my session at gotoAndSki();</title>
		<link>http://blog.six4rty.ch/2011/01/09/my-session-at-gotoandski/</link>
		<comments>http://blog.six4rty.ch/2011/01/09/my-session-at-gotoandski/#comments</comments>
		<pubDate>Sun, 09 Jan 2011 21:11:26 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Meetings]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=1017</guid>
		<description><![CDATA[Just 17 more days to gotoAndSki(); the swiss edition in Stechelberg, a good time to present what I&#8217;m going to talk about during my session called &#8220;Developing AIR for TV&#8221;. During these 45 minutes, you are going to learn how to develop AIR content for Television, starting from a simple videoplayer using the new StageVideo [...]]]></description>
			<content:encoded><![CDATA[<p><img title="gotoski" src="http://blog.six4rty.ch/wp-content/uploads/2010/12/gotoski1.jpg" alt="" width="620" height="252" /></p>
<p>Just 17 more days to <a href="http://switzerland.gotoandski.com/">gotoAndSki();</a> the swiss edition in Stechelberg, a good time to present what I&#8217;m going to talk about during my session called &#8220;Developing AIR for TV&#8221;.<span id="more-1017"></span></p>
<p>During these 45 minutes, you are going to learn how to develop AIR content for Television, starting from a simple videoplayer using the new StageVideo classes (StageCraft) to a simple Remote Controlled Slideshowviewer, up to a P2P multiplayer game which can be played with different control devices like the TV remote that comes along with your TV device or with any Android 2.2 with Adobe AIR powered Device. All these examples and a few more hints on optimization and design considerations are being showed during this session.</p>
<p>I hope to see a bunch of you up in the mountains of beautiful Lauterbrunnen,<a href="http://switzerland.gotoandski.com/" target="_blank"> gotoAndSki(); </a>tickets are limited to approx 100 attendees, and as far as I know there are not much comfort tickets left, so if you want to experience an awesome event with the beautiful swiss alps and a bunch of flash / flex guys having fun in the slopes, then jump right over to the <a href="http://switzerland.gotoandski.com/" target="_blank">gotoAndSki();</a> site and book your ticket now.</p>
<p>See you there!<br />
Tiago</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2011/01/09/my-session-at-gotoandski/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Vinayaka (win) launched</title>
		<link>http://blog.six4rty.ch/2011/01/09/vinayaka-win-launched/</link>
		<comments>http://blog.six4rty.ch/2011/01/09/vinayaka-win-launched/#comments</comments>
		<pubDate>Sun, 09 Jan 2011 15:46:22 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Utils]]></category>
		<category><![CDATA[AS 3.0]]></category>
		<category><![CDATA[Font]]></category>
		<category><![CDATA[Font Embedding]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[Vinayaka]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=1006</guid>
		<description><![CDATA[You can download Vinayaka directly from the projects page. Just follow this link: http://wiki.six4rty.ch/doku.php?id=vinayaka If you get hold of any bugs or issues, please follow the issues link and fill out a bug, I will try to fix it as soon as I can. Feel free to post a comment, if you think this application [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/11/vinayaka_128x128.png"></a><a href="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_winversion.png"><img class="alignleft size-full wp-image-1015" style="margin-left: 10px; margin-right: 10px;" title="vinayaka_winversion" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_winversion.png" alt="" width="128" height="128" /></a><br />
You can download Vinayaka directly from the projects page. Just follow this link:<br />
<a href="http://wiki.six4rty.ch/doku.php?id=vinayaka" target="_blank">http://wiki.six4rty.ch/doku.php?id=vinayaka</a></p>
<p>If you get hold of any bugs or issues, please follow the issues link and fill out a bug, I will try to fix it as soon as I can.<br />
Feel free to post a comment, if you think this application is helpful or could be improved.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2011/01/09/vinayaka-win-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>The great search for the last font embedding solution</title>
		<link>http://blog.six4rty.ch/2011/01/04/presenting_vinayaka/</link>
		<comments>http://blog.six4rty.ch/2011/01/04/presenting_vinayaka/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 19:34:24 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Utils]]></category>
		<category><![CDATA[AS 3.0]]></category>
		<category><![CDATA[Font]]></category>
		<category><![CDATA[Font Embedding]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[Vinayaka]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=957</guid>
		<description><![CDATA[Ok, I&#8217;ve done enough projects to be more then fed up with how the font embedding in pure AS3 and Flex projects work. Not that long ago, I came up with the idea of creating a small utility that could speed up development time especially during the process of importing fonts for use in our [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/11/vinayaka_128x128.png"><img class="alignleft size-full wp-image-976" style="margin: 10px;" title="vinayaka_128x128" src="http://blog.six4rty.ch/wp-content/uploads/2010/11/vinayaka_128x128.png" alt="" width="128" height="128" /></a>Ok, I&#8217;ve done enough projects to be more then fed up with how the font embedding in pure AS3 and Flex projects work.<br />
Not that long ago, I came up with the idea of creating a small utility that could speed up development time especially during the process of importing fonts for use in our projects. As you may know if you are a FDT4 user, they as well released a similar solution to the one I&#8217;m giving you now, I&#8217;m pretty sure their solution is great and since it&#8217;s integrated it&#8217;s a big plus, but as I&#8217;m not an FDT user (maybe one day) I had to search for another solution.</p>
<p>The first step towards that solution was actually creating the small app posted on my blog called the UnicodeFinder. Parts of the code have also been implemented in this new application. It&#8217;s simple but yet powerful, I present you Vinayaka(), an application that hopefully will solve all your font embedding problems in the future, it&#8217;s currently in an early stage, there is lot of room for improvement. If you have ideas or find any bugs, don&#8217;t forget to visit the <span style="text-decoration: line-through;"><a href="http://getsatisfaction.com/six4rty/products/six4rty_vinayaka" target="_blank">Vinayaka&#8217;s GetSatisfaction</a></span> page and leave your note.<span id="more-957"></span></p>
<p>First of all, the application can be downloaded as it is, I&#8217;m currently not providing any source code, why? Currently it&#8217;s a mess, I first need to clean up, refactor and document the code, until that is done, I would like to keep the code to myself, if you want to help me out extending or improving, then simply let me know by throwing me an email or by filling an issue on the Google Project page.</p>
<p>Currently Vinayaka only runs on Windows Systems, I&#8217;m publishing the OSX version in the course of the next days, so if you are a mac user please bare with me.</p>
<p><span style="text-decoration: line-through;"><strong>Very important:</strong><br />
I&#8217;ll be releasing Vinayaka to the public after my talk tomorrow at the SFUG until then no download version is available.<br />
A specific Product page will also be setup during the next 2 days.</span></p>
<p><strong>Download:</strong><br />
Please follow the <a href="http://blog.six4rty.ch/projects/">Projects page</a> for downloads and issue trackings.</p>
<p>Below some screenshots, so you at least know what is expecting you <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>

<a href='' title='vinayaka_1'><img width="290" height="290" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_1-290x290.png" class="attachment-thumbnail" alt="vinayaka_1" title="vinayaka_1" /></a>
<a href='' title='vinayaka_2'><img width="290" height="290" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_2-290x290.png" class="attachment-thumbnail" alt="vinayaka_2" title="vinayaka_2" /></a>
<a href='' title='vinayaka_3'><img width="290" height="290" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_3-290x290.png" class="attachment-thumbnail" alt="vinayaka_3" title="vinayaka_3" /></a>
<a href='' title='vinayaka_4'><img width="290" height="290" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_4-290x290.png" class="attachment-thumbnail" alt="vinayaka_4" title="vinayaka_4" /></a>
<a href='' title='vinayaka_5'><img width="290" height="290" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_5-290x290.png" class="attachment-thumbnail" alt="vinayaka_5" title="vinayaka_5" /></a>
<a href='' title='vinayaka_6'><img width="290" height="290" src="http://blog.six4rty.ch/wp-content/uploads/2011/01/vinayaka_6-290x290.png" class="attachment-thumbnail" alt="vinayaka_6" title="vinayaka_6" /></a>

]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2011/01/04/presenting_vinayaka/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>gotoandski &#8211; the switzerland edition</title>
		<link>http://blog.six4rty.ch/2010/12/12/gotoandski-the-switzerland-edition/</link>
		<comments>http://blog.six4rty.ch/2010/12/12/gotoandski-the-switzerland-edition/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 14:23:34 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[speaking]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=963</guid>
		<description><![CDATA[After last years success in Norway, gotoAndSki(); is taking place in Switzerland this year organised by Fernado Colaço (@fcolaco), to be more precise in Stechelberg, Bern, located in the Lauterbrunnen Valley which is world known for the best place in Europe for Base Jumping. The format of the conference will stay the same like last years, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-966" title="gotoski" src="http://blog.six4rty.ch/wp-content/uploads/2010/12/gotoski1.jpg" alt="" width="620" height="252" /></p>
<p>After last years success in Norway, gotoAndSki(); is taking place in Switzerland this year organised by Fernado Colaço (<a href="http://twitter.com/fcolaco" target="_blank">@fcolaco</a>), to be more precise in Stechelberg, Bern, located in the Lauterbrunnen Valley which is world known for the best place in Europe for Base Jumping. The format of the conference will stay the same like last years, during the day doing some winter sports like snowboarding, skiing, Airboarding or just chilling at the slopes. After the slopes close the sessions and workshops will start in the cozy chalet, meanwhile we should know eachother quite well as there are only around 100 tickets to be sold.<span id="more-963"></span></p>
<p>The speaker session lineup has not been finalized yet, but you might see some names you already know and if not, it doesn&#8217;t matter really as you are going to experience a totally cool conference with the swiss alps charm.</p>
<p>If you haven&#8217;t booked your ticket yet, then don&#8217;t hesitate and jump right to the website and get your <a href="http://switzerland.gotoandski.com/" target="_blank">tickets here</a></p>
<p>By looking at the speakers line-up, there are a few well known speakers from the SFUG, but as well a few international speakers with some very very interesting topics, every session looks promising and interesting to me, but I&#8217;m personally looking forward to Dennis Ippels Kinect session and Ricardo Castelhano&#8217;s Arduino session.</p>
<p>I&#8217;m doing a presentation on AIR for TV, where I&#8217;m going to go through the process of creating an application for TV&#8217;s aswell some pitfalls, things you should be aware of when developing for TV and at the end we are going to have a little multiplayer game running on the big screen.</p>
<p>If you are up for a few days in the snow with some cool people and to see some great cool new projects and approaches, then don&#8217;t miss the chance to get yourself a ticket and enjoy this event.<br />
Below you find a small link collection with the most important informations:</p>
<p><a href="http://switzerland.gotoandski.com/s" target="_blank">gotoAndSki(); &#8211; Official Website</a><br />
<a href="http://gotoandskiswitzerland.eventbrite.com/" target="_blank">gotoAndSki(); &#8211; Get your tickets now.</a><br />
<a href="http://switzerland.gotoandski.com/sessions-speakers/" target="_blank">gotoAndSki(); &#8211; Sessions and Speakers</a><br />
<a href="http://switzerland.gotoandski.com/how-to-get-there/" target="_blank">gotoAndSki(); &#8211; Getting There</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/12/12/gotoandski-the-switzerland-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>40. SFUG Usergroup Meeting</title>
		<link>http://blog.six4rty.ch/2010/12/04/40-sfug-usergroup-meeting/</link>
		<comments>http://blog.six4rty.ch/2010/12/04/40-sfug-usergroup-meeting/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 12:40:09 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Meetings]]></category>
		<category><![CDATA[SFUG]]></category>
		<category><![CDATA[AS 3.0]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=961</guid>
		<description><![CDATA[The next SFUG (Swiss Flash User Group) takes place on the 5th of January 2011 at the Publicis Office in Zurich, To begin the new year with a bang, we are having Michael Fretz present his newest project involving Arduino and Android, sounds like fun. Myself is presenting a new tool I&#8217;ve been working on [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-494" title="logo" src="http://blog.six4rty.ch/wp-content/uploads/2009/01/logo.gif" alt="logo" width="266" height="61" /></p>
<p>The next SFUG (Swiss Flash User Group) takes place on the 5th of January 2011 at the Publicis Office in Zurich, To begin the new year with a bang, we are having Michael Fretz present his newest project involving Arduino and Android, sounds like fun. Myself is presenting a new tool I&#8217;ve been working on called Vinayaka, if you want to know more about it, either pop by on the 5th of January or switch on to our live streaming.</p>
<p><strong>Topic 1: </strong>Vinayaka ( Tiago Dias )</p>
<p><strong>Topic 2:</strong> Arduino &amp; Android ( Michael Fretz )</p>
<p><strong>When:</strong> 5. January 2011 / 19:00-22:00<br />
<strong>Where:</strong><a href="http://www.liip.ch" target="_blank"> </a>Publicis Werbeagentur, Stadelhoferstrasse 25, 8024 Zürich</p>
<p>More information about SFUG can be found on:<br />
<a href="http://groups.adobe.com/groups/eef0f1c7c6/summary" target="_blank">Adobe Groups</a><br />
<a href="http://www.sfug.ch" target="_blank">SFUG Site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/12/04/40-sfug-usergroup-meeting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>39. SFUG Usergroup Meeting</title>
		<link>http://blog.six4rty.ch/2010/11/28/39-sfug-usergroup-meeting/</link>
		<comments>http://blog.six4rty.ch/2010/11/28/39-sfug-usergroup-meeting/#comments</comments>
		<pubDate>Sat, 27 Nov 2010 22:55:48 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Meetings]]></category>
		<category><![CDATA[SFUG]]></category>
		<category><![CDATA[AS 3.0]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=952</guid>
		<description><![CDATA[The next SFUG (Swiss Flash User Group) takes place on the 1st of December 2010 as usual at the Publicis Zurich office. If you want to see a cool multiscreen application running on various devices then pop by and enjoy the evening with us. Topic 1: Showcase Giroflex  (Marcel Vogt / Tiago Dias) Topic 2: [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-494" title="logo" src="http://blog.six4rty.ch/wp-content/uploads/2009/01/logo.gif" alt="logo" width="266" height="61" /></p>
<p>The next SFUG (Swiss Flash User Group) takes place on the 1st of December 2010 as usual at the Publicis Zurich office.<br />
If you want to see a cool multiscreen application running on various devices then pop by and enjoy the evening with us.</p>
<p><strong>Topic 1:</strong> Showcase Giroflex  (Marcel Vogt / Tiago Dias)</p>
<p><strong>Topic 2:</strong> TBA</p>
<p><strong>When:</strong> 1. December 2010 / 19:00-22:00<br />
<strong>Where:</strong><a href="http://www.publicis.ch" target="_blank"> Publicis Werbeagentur</a>, Stadelhoferstrasse 25, 8024 Zürich</p>
<p>More information about SFUG can be found on:<br />
<a href="http://groups.adobe.com/groups/eef0f1c7c6/summary" target="_blank">Adobe Groups</a><br />
<a href="http://www.sfug.ch" target="_blank">SFUG Site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/11/28/39-sfug-usergroup-meeting/feed/</wfw:commentRss>
		<slash:comments>0</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>
]]></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>
]]></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>
	</channel>
</rss>

