<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Flash Platform &#38; Co.</title>
	<atom:link href="http://lucamezzalira.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://lucamezzalira.com</link>
	<description>a place to talk about software, mobile and web development</description>
	<lastBuildDate>Sat, 26 May 2012 08:57:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='lucamezzalira.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/fcb900891e507670f989a13019cbb023?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Flash Platform &#38; Co.</title>
		<link>http://lucamezzalira.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://lucamezzalira.com/osd.xml" title="Flash Platform &#38; Co." />
	<atom:link rel='hub' href='http://lucamezzalira.com/?pushpress=hub'/>
		<item>
		<title>Speaking at WHYMCA about Haxe for Flash Platform developers</title>
		<link>http://lucamezzalira.com/2012/04/30/speaking-at-whymca-about-haxe-for-flash-platform-developers/</link>
		<comments>http://lucamezzalira.com/2012/04/30/speaking-at-whymca-about-haxe-for-flash-platform-developers/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 09:37:09 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[HaXe]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[haxe android]]></category>
		<category><![CDATA[haxe as3]]></category>
		<category><![CDATA[haxe conference]]></category>
		<category><![CDATA[haxe flash]]></category>
		<category><![CDATA[haxe ios]]></category>
		<category><![CDATA[haxe mobile]]></category>
		<category><![CDATA[haxe nme]]></category>
		<category><![CDATA[haxe whymca]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[whymca]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=604</guid>
		<description><![CDATA[Hi Guys! I&#8217;ve a good announce to share with my followers, next 24-25 May in Bologna will take place WHYMCA a great mobile conference where I&#8217;ll be speaker with Piergiorgio Niero and we&#8217;ll talk about Haxe for Flash Platform developers. We&#8217;ll discuss on why we choose Haxe instead JS or other languages, we evaluate differences [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=604&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi Guys!<br />
I&#8217;ve a good announce to share with my followers, next 24-25 May in Bologna will take place <a href="http://www.whymca.org" target="_blank">WHYMCA</a> a great mobile conference where I&#8217;ll be speaker with <a href="http://www.flashfuck.it/" target="_blank">Piergiorgio Niero</a> and we&#8217;ll talk about <a href="http://www.whymca.org/intervento/haxe-flash-developers" target="_blank">Haxe for Flash Platform developers</a>.<br />
We&#8217;ll discuss on why we choose Haxe instead JS or other languages, we evaluate differences between Haxe and AS3, we&#8217;ll show pros and cons to use Haxe, we&#8217;ll show you how create content with Haxe for JS, Flash, Android, iOS and so on.<br />
Finally we give you some tips to getting started with Haxe <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
<a href="http://lucamezzalira.files.wordpress.com/2012/04/whymca.png"><img class="aligncenter size-full wp-image-605" title="whymca" src="http://lucamezzalira.files.wordpress.com/2012/04/whymca.png?w=450" alt=""   /></a><br />
So we are waiting for you at <a href="http://www.whymca.org/" target="_blank">WHYMCA</a>! see you there guys!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/604/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=604&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2012/04/30/speaking-at-whymca-about-haxe-for-flash-platform-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>

		<media:content url="http://lucamezzalira.files.wordpress.com/2012/04/whymca.png" medium="image">
			<media:title type="html">whymca</media:title>
		</media:content>
	</item>
		<item>
		<title>WWX 2012: Haxe conference in Paris</title>
		<link>http://lucamezzalira.com/2012/04/16/wwx-2012-haxe-conference-in-paris/</link>
		<comments>http://lucamezzalira.com/2012/04/16/wwx-2012-haxe-conference-in-paris/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 08:53:11 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[HaXe]]></category>
		<category><![CDATA[haxe 3]]></category>
		<category><![CDATA[haxe paris]]></category>
		<category><![CDATA[wwx]]></category>
		<category><![CDATA[wwx 2012]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=595</guid>
		<description><![CDATA[Today is finished Haxe conference in Paris, my first time at WWX and in Paris (very nice place). In this post I&#8217;d like to answer some questions that many friends ask me on Twitter about why use Haxe and if there are good news from WWX 2012. First of all I&#8217;ve to say that Haxe [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=595&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today is finished Haxe conference in Paris, my first time at WWX and in Paris (very nice place).<br />
In this post I&#8217;d like to answer some questions that many friends ask me on Twitter about why use Haxe and if there are good news from <a href="http://wwx.haxe.org/" target="_blank">WWX 2012</a>.<br />
First of all I&#8217;ve to say that Haxe community is so strong, with great people so engaged to evolve the technology and for me they are going in the right direction.<br />
There are few points that I have in mind now and I&#8217;d like to share with you here:</p>
<ul>
<li>Why Haxe and not a JS framework</li>
<li>Haxe and is future</li>
<li>What is missing in Haxe now</li>
<li>Haxe projects in the real world</li>
</ul>
<h3>Why Haxe and not a JS framework</h3>
<p>After Adobe MAX 2011 I spent a lot of time to study which could be the best alternative of Flash Platform to prepare myself and my company to find an alternative in the worst cases, I was looking for a cross-platform technology with a good workflow from design concept to the delivery that could help me to target content on desktop, mobile, web and embedded systems too.<br />
We spent last 5 years on developing Flash Platform softwares in a lots of devices, if I&#8217;ve to start think to do the same thing only in JS I probably change my skills from client side and GUI creation, to anything else, maybe Python or maybe&#8230; but during my searches I found Haxe and I&#8217;m excited about this technology.<br />
The first thing make me happy was that I can use design patterns, micro-architectures, OOP in general so all my experience gains in Flash projects could be useful also with Haxe.<br />
An Haxe project is written with a language similar to Actionscript or Java (so easy for us to port our knowledge in that direction), after that when you compile you have the executable file for any OS like iOS, Android, Windows, Mac, Linux, QNX OS and so on.<br />
It will produce also the &#8220;translation&#8221; of native files, for example I can write an Haxe application for Android and <a href="http://www.haxenme.org">Haxe NME</a> (a really good framework based on Haxe highly focused on mobile and desktop purpose) the compiler create the .apk file and the java translation from Haxe code, it make the same for Objective C, C# or Javascript and so on.<br />
Another interesting thing is that is so fast to code with it, Haxe allows in few lines of code make cool things instead of native code and it&#8217;s so important for a company have fast delivery and targeting for more platform as possible, in this case Haxe is the right technology.<br />
So the answer for the first question is that with Haxe you can easily use the same basecode and export your projects in different technologies targeting to different devices, re-use your knowledge and use real OOP language for client side purpose.</p>
<h3>Haxe and is future</h3>
<p>During WWX 2012 they show us the future of Haxe, during those days they release <a href="http://haxe.org/download" target="_blank">Haxe 2.09</a>, by the end of this summer they are planning to release Haxe 3 and there are also some ideas for the 4th released.<br />
The final idea behind Haxe is to create a unique language for all the targets and all the languages that you can work with Haxe.<br />
They would like to work on tools and IDEs that are the most problem today with this great technology.<br />
Main goal of Haxe 3 is optimization and evolution of code created for each targets, <a href="http://pic.twitter.com/vkRFtCys" target="_blank">default imports</a> that allow you to import all classes in a unique file for all the project, they has just created Haxe foundation and there are many things are boiling in pot.<br />
The future of this platform seems so interesting first of all for the exciting community behind, after that because there haven&#8217;t any marketing goals that they have to achieve and this help the technology to grow in the right direction.</p>
<h3>What is missing in Haxe now</h3>
<p>The main problem today working with Haxe is that it&#8217;s not so &#8220;comfortable&#8221; environment like in Flash or Flex, there are many IDEs but they miss good tools for debugging (in particular in C++), for code coverage and so on.<br />
Another big problem is that NME framework (the most interesting in my opinion) is not so well implemented in each IDEs so if you use FDT or Sublime Text with NME are more or less the same thing.<br />
Finally the integration between design and code, it seems to come back of 5/6 years ago for me, it&#8217;s totally miss a good workflow to create stunning Graphic User Interfaces for Haxe, there is an interaction with Flash Libraries (take a look at <a href="http://swfmill.org/" target="_blank">SWFMill</a>) but it&#8217;s not enough when you are in production mode, so for me the first investment on Haxe are on the environment.</p>
<h3>Haxe projects in the real world</h3>
<p>When I started to take a look at Haxe I tried to found some good case history but I found only games and not stunning applications, but during WWX I found that <a href="http://prezi.com/" target="_blank">Prezi</a> and other foreign companies are investing a lots on that technology and they delivered great stuff from web to mobile to tv applications&#8230; I&#8217;m pretty sure that in the future we will see other great projects made with Haxe because the power of this technology is really high and the future seems so interesting.<br />
Finally I saw a couple of installation based on Haxe and OpenGL of interactive window that make me totally astonished, trust me that WWX was so inspiring for me, it seems to come back to my first conference around Europe like Flash on the Beach!</p>
<h3>Conclusion</h3>
<p>In my opinion I think that I found the right technology to focus myself in next few months hoping that could become the right solution also for my daily job and my company.<br />
There are a lots of investment to do but we are only at the beginning, I&#8217;m sure that with the right boost Haxe could become an interesting client side technology for all the market fields.<br />
For any further questions feel free to comment this post, it will be a pleasure for me exchange ideas or comments on Haxe!</p>
<p><a href="http://lucamezzalira.files.wordpress.com/2012/04/img_0375.jpg"><img class="aligncenter size-medium wp-image-602" title="WWX 2012 in Paris" src="http://lucamezzalira.files.wordpress.com/2012/04/img_0375.jpg?w=300&h=226" alt="" width="300" height="226" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/595/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/595/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/595/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/595/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/595/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/595/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/595/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/595/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/595/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/595/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/595/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/595/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/595/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/595/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=595&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2012/04/16/wwx-2012-haxe-conference-in-paris/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>

		<media:content url="http://lucamezzalira.files.wordpress.com/2012/04/img_0375.jpg?w=300" medium="image">
			<media:title type="html">WWX 2012 in Paris</media:title>
		</media:content>
	</item>
		<item>
		<title>HaXe, my new toy!</title>
		<link>http://lucamezzalira.com/2012/03/01/haxe-my-new-toy/</link>
		<comments>http://lucamezzalira.com/2012/03/01/haxe-my-new-toy/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 09:53:46 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[HaXe]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[flash platform]]></category>
		<category><![CDATA[HaxeLib]]></category>
		<category><![CDATA[Haxenme]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[nme]]></category>
		<category><![CDATA[node.js]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=589</guid>
		<description><![CDATA[After Adobe MAX 2011 everything should not be the same for me and maybe for a lot of flash platform developers around the world, Adobe brings some &#8220;directions&#8221;  that didn&#8217;t find my consent mainly for the way that communicate these news and the impact that had in the market, but we know that Flash Platform [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=589&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After Adobe MAX 2011 everything should not be the same for me and maybe for a lot of flash platform developers around the world, Adobe brings some &#8220;directions&#8221;  that didn&#8217;t find my consent mainly for the way that communicate these news and the impact that had in the market, but we know that Flash Platform is not dead and it will go ahead for many years.<br />
Obviously nothing was the same after that, in fact many developers started to look around for new technologies and frameworks like Backbone.js, Sencha Touch, Ext JS and so on.<br />
Personally I started to checked in last few months many Javascript frameworks because my aim was find something that could replace Flash Platform in the future and I have to spend time in next years to consolidate it and go ahead with Flash Platform too.<br />
Last week a <a href="http://www.flashfuck.it/" target="_blank">big friend of mine</a> gave me this link: <a href="http://www.haxenme.org/" target="_blank">http://www.haxenme.org/</a> and when I started to read what you can do and how you can do it, I immediately started to go in deep with HaXe in my spare time and trust me that I had a lot of fun!</p>
<p><strong>First of all what is HaXe?</strong><br />
<strong>HaXe is an open source multiplatform programming language, it allows to write once and deploy everywhere</strong> (in the right meaning of therm &#8220;everywhere&#8221;).<br />
In fact with HaXe we can write in a programming language similar to Actionscript 3 (strictly typed, OOP, &#8230;) but more powerful (it has enum, generics, dynamic type, &#8230;), with HaXe we can target our projects for Flash, C++, Neko, HTML5, Node.JS, PHP, iOS, Android&#8230; if we work with multiplatform APIs we can write once and deploy our project for multiple targets.<br />
So for many developers that come from Javascript, Actionscript, Java and so on, will be so easy to start deal with HaXe.<br />
Another interesting thing of HaXe is that we can work with the library present in the SWF files and integrate movieclip in our project, we can create also SWF file without Flash Professional with <a href="http://swfmill.org/" target="_blank">SWFMill</a> that is used for the generation of asset libraries containing images (PNG and JPEG), fonts (TTF) or other SWF movies.<br />
That&#8217;s so interesting because it means that designers that usually prepare assets for developers don&#8217;t need to change own daily workflow!<br />
If you need to extend your target platform we can add new features with <a href="http://haxe.org/doc/js/extern_libraries" target="_blank">external libraries</a>, it&#8217;s so important because we can really cover everything with this feature; we can find a lot of ready to use libraries directly on the <a href="http://lib.haxe.org/" target="_blank">lib HaXe website</a>.<br />
With HaXe you can communicate between different languages like JS and Flash in both direction, you can easily find many <a href="http://www.haxejs.org/" target="_blank">frameworks and library</a> porting in HaXe, for example javascript like JQuery, Sencha Touch, Node.JS and so on.</p>
<p>What about the IDE to work with HaXe (so important for a developer!)!?<br />
On Mac you can use TextMate or FDT on Win FDT or FlashDevelop this one seems the best one but I didn&#8217;t try it. For more specs I suggest to take a look at <a href="http://haxe.org/com/ide" target="_blank">HaXe site section</a>, maybe you can find your favorite IDE in the list.</p>
<p>Finally I made an easy sample to understand better the powerful of HaXe NME, this sample loads an external XML file and an external SWF library with a movieclip inside exported for Actionscript, so I added a drag&amp;drop feature to the list. Then I tried to compile it for iOS, Mac OS X Lion, C++ and SWF with the same basecode and everything work so well and smooth!</p>
<p style="text-align:left;"><a href="http://lucamezzalira.files.wordpress.com/2012/03/haxecrosscompile.jpg"><img class="aligncenter  wp-image-590" title="haxeCrossCompile" src="http://lucamezzalira.files.wordpress.com/2012/03/haxecrosscompile.jpg?w=600&h=500" alt="" width="600" height="500" /></a><br />
You can download <a href="http://www.flairpy.com/HaXeList.zip" target="_blank">source files here</a>, to compile it take a look at <a href="http://www.haxenme.org/developers/get-started/" target="_blank">HaXeNME section</a> and you can find everything you need to try this sample and start to play with HaXeNME!</p>
<p style="text-align:left;">If you want to deal with HaXe, I suggest two books, the first one is really a good start to work with this fantastic language:<br />
. <a href="http://www.amazon.com/haXe-Beginners-Guide-Benjamin-Dasnois/dp/1849512566/ref=sr_1_1?s=books&amp;ie=UTF8&amp;qid=1330591764&amp;sr=1-1" target="_blank">HaXe 2 beginner&#8217;s guide</a><br />
. <a href="http://www.amazon.com/Professional-haXe-Neko-Programmer/dp/0470122137/ref=sr_1_2?s=books&amp;ie=UTF8&amp;qid=1330591764&amp;sr=1-2" target="_blank">Professional HaXe and Neko</a></p>
<p>Last but not least, next April in Paris there will be <a href="http://wwx.haxe.org/?/2012/&amp;format=flash" target="_blank">World Wide HaXe conference</a>, I&#8217;ll be there to learn more about the future of this amazing platform if you are planning to be there it will be a pleasure for me catch up for a beer!</p>
<p>I hope soon to publish more experiments and informations about HaXe because it is a thrilling programming language!!!<br />
So stay tuned!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/589/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/589/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/589/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/589/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/589/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/589/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/589/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/589/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/589/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/589/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/589/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/589/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/589/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/589/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=589&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2012/03/01/haxe-my-new-toy/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>

		<media:content url="http://lucamezzalira.files.wordpress.com/2012/03/haxecrosscompile.jpg?w=300" medium="image">
			<media:title type="html">haxeCrossCompile</media:title>
		</media:content>
	</item>
		<item>
		<title>InDesign and Flash: PageFlip controller</title>
		<link>http://lucamezzalira.com/2012/02/13/indesign-and-flash-pageflip-controller/</link>
		<comments>http://lucamezzalira.com/2012/02/13/indesign-and-flash-pageflip-controller/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 08:45:12 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[InDesign]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[flash indesign]]></category>
		<category><![CDATA[idml]]></category>
		<category><![CDATA[indd]]></category>
		<category><![CDATA[InDesign flash]]></category>
		<category><![CDATA[InDesign web]]></category>
		<category><![CDATA[pageflip]]></category>
		<category><![CDATA[pageflip as3]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=539</guid>
		<description><![CDATA[One of our last project was to create an easy but integrated workflow from InDesign to web. In particular they request us to create a PageFlip that will be published automatically online every change they made in the offline version without spending a lot of time on this activity. Like you can see for a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=539&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;">One of our last project was to create an easy but integrated workflow from InDesign to web.<br />
In particular they request us to create a PageFlip that will be published automatically online every change they made in the offline version without spending a lot of time on this activity.<br />
Like you can see for a Flash Platform developer nothing more obvious that a project like this, so you can take a PageFlip online, you export all pages in swf or jpg files and you popolate the XML behind the PageFlip&#8230; yes but we don&#8217;t bring this direction.<br />
First of all we suggest to our client to add interaction elements directly in InDesign because from CS5 version (if I remember well) it adds the animator engine of Flash, so it is quite easy make animations directly in InDesign for a graphic designer that is more comfortable with this software instead of Flash Professional.<br />
After that we study the InDesign exporting settings and we find that you can have your PageFlip exporting InDesign document directly in unique SWF file; the only problem is that you haven&#8217;t any control panel to add interaction in your PageFlip, for example if my catalogue is composed by 300 pages and I have to see the 250, from the beginning I have to click 249 times on the right page to see my page.<br />
Another interesting thing that we see during this development is that there are many PageFlip on the web but it&#8217;s not easy for a graphic designer, more focused on the paper, to customize them because you have to know how Flash works and in detail how the PageFlip, that you chosen, works too.<br />
Also the PageFlip made by InDesign has great performance instead of any other PageFlip tested with many pages in particular if pages are vector based.<br />
Finally we decide to decompile the InDesign PageFlip to analyze if we will able to create a control panel for this SWF file and&#8230; WOW&#8230; we really bring an interesting direction!</p>
<p style="text-align:left;"><a href="http://lucamezzalira.files.wordpress.com/2012/02/screen-shot-2012-02-12-at-1-56-18-am.png"><img class="wp-image-544 aligncenter" title="Screen Shot 2012-02-12 at 1.56.18 AM" src="http://lucamezzalira.files.wordpress.com/2012/02/screen-shot-2012-02-12-at-1-56-18-am.png?w=300&h=173" alt="" width="300" height="173" /></a><br />
In fact, in the document class of the SWF file called IDSWFFile, you can find many methods that could help you to create, for example, a navigation panel to jump from a page to another one or to create an index to navigate trough chapters.<br />
The main thing that you have to remember is that InDesign PageFlip works putting each page in a frame so if you have 20 pages you&#8217;ll have 20 frames inside the SWF file generated.</p>
<p style="text-align:left;">Below you can find some useful methods that could help you to develop your personal control panel:</p>
<ul>
<li><strong>getFrameCount()</strong> return the number of frames (so the number of pages inside the SWF file)</li>
<li><strong>getCurrentFrame()</strong> return the actual frame (so the page that user is reading)</li>
<li><strong>getThumbnailForFrame(frame:int, width=32, height=32)</strong> return a bitmapdata of a frame in the size that you prefer, the default values are 32&#215;32 px</li>
<li><strong>goToFirstFrame()</strong> goes to the first page of the PageFlip</li>
<li><strong>goToLastFrame()</strong> goes to the last page of the PageFlip</li>
<li><strong>goToPreviousFrame()</strong> goes to the previous page of the PageFlip</li>
<li><strong>goToNextFrame()</strong> goes to the next page of the PageFlip</li>
<li><strong>goToFrame(frame:int)</strong> goes to a particular page</li>
<li><strong>stopAllAnimations()</strong></li>
<li><strong>stopAllSounds()</strong></li>
<li><strong>stopAllVideos() </strong></li>
</ul>
<p>There are also other public methods but for me those are the most interesting to create a PageFlip controller.<br />
To work with those methods you have to cast the content of Loader like a generic Object and then you can call all those methods like you can see here:</p>
<pre>// here we create the generic object to call PageFlip methods
private var _pf:Object; 
// we load our file generated by InDesign
_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, setPosition);
_loader.load(new URLRequest("pageflip.swf"));
//when PageFlip is loaded I add on the DisplayList
private function setPosition(e:Event):void{
_contPF = new Sprite();
_contPF.addChild(_loader.content);
addChild(_contPF);
_pf = _loader.content; 
}

// below I make functions to navigate the PageFlip when user click a button
private function prevPage(e:MouseEvent):void{
 _pf.goToPreviousFrame();
 }
 private function nextPage(e:MouseEvent):void{
 _pf.goToNextFrame();
}
 private function lastPage(e:MouseEvent):void{
_pf.goToLastFrame();
}
private function firstPage(e:MouseEvent):void{
_pf.goToFirstFrame();
}</pre>
<p>If you&#8217;d like to create a more automatic workflow that allow your user to focus only on the content of PageFlip without waste his time with exporting issues.<br />
In our case we use InDesign Server to solve this problem and create some scripts that allow user to create thumbnails and zoom pages without spend a minute on Photoshop or InDesign but easily upload own InDesign file on a server and via scripts we make everything user needs.<br />
But I know that not everybody could have InDesign server in house, so another solution that I&#8217;d like to suggest could be create an InDesign panel with Flex that make the dirty job for the user, preparing all images for thumbs and exporting the PageFlip with right settings.</p>
<p>I know very well that it&#8217;s not rocket science for a Flash developer but I think that the workflow behind could be interesting and could be helpful in many situations and also I guess that InDesign users could find good stuff in this post.<br />
Finally we have to remember that technology has to help people in their daily work accelerating process and maybe substitute the human interaction with a computer interaction giving more time to what people should be better like think to new stuff.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/539/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=539&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2012/02/13/indesign-and-flash-pageflip-controller/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>

		<media:content url="http://lucamezzalira.files.wordpress.com/2012/02/screen-shot-2012-02-12-at-1-56-18-am.png?w=300" medium="image">
			<media:title type="html">Screen Shot 2012-02-12 at 1.56.18 AM</media:title>
		</media:content>
	</item>
		<item>
		<title>Introducing Starling: book review</title>
		<link>http://lucamezzalira.com/2012/02/07/introducing-starling-book-review/</link>
		<comments>http://lucamezzalira.com/2012/02/07/introducing-starling-book-review/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 14:16:42 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[O'Reilly]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR 3]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[desktop apps]]></category>
		<category><![CDATA[GPU]]></category>
		<category><![CDATA[GPU acceleration]]></category>
		<category><![CDATA[Stage3D]]></category>
		<category><![CDATA[Starling Framework]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=531</guid>
		<description><![CDATA[Hi All, first of all I apologize with people that usually read this blog if I didn&#8217;t insert any new post since last year but I&#8217;m working a lots in these few months to open a new market opporunity for my company out of Italy and I&#8217;m totally absorbed in this new activity, but in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=531&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi All,</p>
<p>first of all I apologize with people that usually read this blog if I didn&#8217;t insert any new post since last year but I&#8217;m working a lots in these few months to open a new market opporunity for my company out of Italy and I&#8217;m totally absorbed in this new activity, but in the meanwhile I&#8217;m studying during my spare time and I&#8217;d like to share with you my thoughts about &#8220;Introducing Starling&#8221;.</p>
<p><a href="http://lucamezzalira.files.wordpress.com/2012/02/cat.gif"><img class="aligncenter size-full wp-image-532" title="cat" src="http://lucamezzalira.files.wordpress.com/2012/02/cat.gif?w=450" alt=""   /></a></p>
<p>This book is for any Flash Platform developer that is looking to create next generation of mobile and desktop apps (or games).<br />
It&#8217;s a book so practical that introduce you to the Starling framework, explaining how it works with simple examples of code that you can put in practice in a while.<br />
Thibault guides you showing each object presents in this framework, that is an abstraction of Stage3D API introduced with Flash Player 11 and AIR 3.<br />
With Starling you can aim better performance in your 2D applications thankfully the GPU acceleration added on Stage3D, with this book you can discover what there is behind and starting to develop with it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/531/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/531/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/531/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/531/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/531/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/531/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/531/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/531/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/531/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/531/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/531/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/531/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/531/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/531/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=531&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2012/02/07/introducing-starling-book-review/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>

		<media:content url="http://lucamezzalira.files.wordpress.com/2012/02/cat.gif" medium="image">
			<media:title type="html">cat</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash Platform Galaxy: why choose Flash Platform</title>
		<link>http://lucamezzalira.com/2011/11/11/why-choose-flash-platform/</link>
		<comments>http://lucamezzalira.com/2011/11/11/why-choose-flash-platform/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 11:58:58 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[flash platform]]></category>
		<category><![CDATA[flash platform galaxy]]></category>
		<category><![CDATA[galaxy]]></category>
		<category><![CDATA[pdf]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=522</guid>
		<description><![CDATA[In those days I&#8217;m reading a lots of mailing lists, forums, blogs and so on where Flash Platform supporters are so disappointed about the latest marketing movement of Adobe. In fact yesterday Adobe announced that they stop the development of Flash Player on Mobile devices (on Desktop they are going ahead). The road is clear [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=522&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In those days I&#8217;m reading a lots of mailing lists, forums, blogs and so on where Flash Platform supporters are so disappointed about the latest marketing movement of Adobe.</p>
<p>In fact yesterday Adobe announced that they stop the development of Flash Player on Mobile devices (on Desktop they are going ahead).<br />
The road is clear HTML 5 inside the browser and Flash Platform for RIAs, Games and out of browser in combination with Adobe AIR.</p>
<p style="text-align:left;">For me Adobe for the second time (the first one was during Adobe MAX) has totally mistaken how to communicate this news and obviously tech blogs bring this announcement like the end of Flash&#8230;<br />
Personally I don&#8217;t think that is the end of Flash but I think that <em>Flash is moving on a new position</em> in multimedia world probably out of browser.<br />
I&#8217;m an Adobe addicted, like you know, and in particular I&#8217;m a Flash Platform supporter, so I think that we have to move on and make something to spread the word about this foggy situation, guys, <strong>Flash Platform is ALIVE</strong>!<br />
To do this, I start making a pdf file called <strong><a href="http://lucamezzalira.files.wordpress.com/2011/11/fpstylesheet1.pdf" target="_blank">Flash Platform Galaxy</a></strong> that could help people to have an idea of <strong>what is Flash Platform and why choose it </strong>( I know, I&#8217;m not a graphic designer but I think it could be useful), if you want to add more informations or change something feel free to leave a comment at this post or drop me a line via email.<img class="aligncenter size-medium wp-image-523" title="flash platform galaxy" src="http://lucamezzalira.files.wordpress.com/2011/11/fpstylesheet.jpg?w=82&h=298" alt="" width="82" height="298" /><br />
Let&#8217;s go guys, <em>we have a platform to save</em> <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/522/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=522&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2011/11/11/why-choose-flash-platform/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>

		<media:content url="http://lucamezzalira.files.wordpress.com/2011/11/fpstylesheet.jpg?w=82" medium="image">
			<media:title type="html">flash platform galaxy</media:title>
		</media:content>
	</item>
		<item>
		<title>It&#8217;s time for a new web design era&#8230; probably without Flash</title>
		<link>http://lucamezzalira.com/2011/10/04/its-time-for-a-new-web-era-probably-without-flash/</link>
		<comments>http://lucamezzalira.com/2011/10/04/its-time-for-a-new-web-era-probably-without-flash/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 20:23:02 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=511</guid>
		<description><![CDATA[I&#8217;m here in L.A. for Adobe MAX, before the beginning of the conference we were very excited about the 2 keynotes because we were waiting for amazing news about our favorite platform&#8230; but it didn&#8217;t happen, instead we find 2 days very focused to designers (and it&#8217;s normal I guess) and to HTML 5, JQuery [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=511&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m here in L.A. for Adobe MAX, before the beginning of the conference we were very excited about the 2 keynotes because we were waiting for amazing news about our favorite platform&#8230; but it didn&#8217;t happen, instead we find 2 days very focused to designers (and it&#8217;s normal I guess) and to HTML 5, JQuery and CSS 3.</p>
<p>This is an important signal from Adobe, in 2 keynotes they mentioned Flex 2/3 times maybe, all the new stuff for Flash was focused on games and 3D and AIR had only 5 mins to show the new release and its new features.</p>
<p>So the message from Adobe is quite clear: <strong>&#8220;Use HTML 5 for the web and Flash for the game and out of browser&#8221;.<br />
</strong>This recommendation from Adobe would change online <a href="http://www.onlinewebdesigndegree.com/" target="_blank">web design classes</a> significantly in the future.</p>
<p>It seems crazy but it&#8217;s the truth&#8230; the same company that in the beginning of 2000 was scared from the little Macromedia and its best technology Flash, today substitued the player with a new one.</p>
<p>In latest years I took part of different Flash Platform projects, mainly desktop and mobile applications and I hoped to embrace the right direction with the Flash Platform, with this MAX I&#8217;m pretty sure  that I made the right decision.<br />
I&#8217;m disappointed that my favorite platform will be out of the browser but I&#8217;m more disappointed that Adobe is following the market instead of make it.</p>
<p>Today I can say that it&#8217;s time to move on and start again to study new &#8220;trendy&#8221; technology instead of a good and solid technology like Flash Platform.<br />
Could Flash be the new mobile and desktop technology? I really don&#8217;t know but I&#8217;m sure that this year a new milestone of the web was put by Adobe.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/511/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/511/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/511/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=511&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2011/10/04/its-time-for-a-new-web-era-probably-without-flash/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>
	</item>
		<item>
		<title>Playing with Google+ API and Actionscript 3</title>
		<link>http://lucamezzalira.com/2011/09/16/playingwithgoogleplusapiactionscript/</link>
		<comments>http://lucamezzalira.com/2011/09/16/playingwithgoogleplusapiactionscript/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 17:41:46 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=502</guid>
		<description><![CDATA[Yesterday I saw that Google has released Google+ API, so I started to played with in my favorite part of the day: the night! For now Google has published only public APIs that allow you to retrieve user&#8217;s informations and his activities list, all API are made in RESTful and JSON that are so easy to add [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=502&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday I saw that Google has released <a href="http://developers.google.com/+/api/">Google+ API</a>, so I started to played with in my favorite part of the day: the night!</p>
<p>For now Google has published only <a href="http://googleplusplatform.blogspot.com/2011/09/getting-started-on-google-api.html">public APIs</a> that allow you to retrieve user&#8217;s informations and his activities list, all API are made in <a href="http://en.wikipedia.org/wiki/Representational_state_transfer" target="_blank">RESTful</a> and JSON that are so easy to add in your project.<br />
When Google will release next APIs, I hope soon, you can consume them with an oAuth 2.0 authentication, like Facebook.<br />
I made a simple example to retrieve data from my Google+ profile in Actionscript for Android, you can download the <a href="http://www.flairpy.com/DemoPlusService.zip" target="_blank">source files directly from here</a>.</p>
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;"><a href="http://lucamezzalira.files.wordpress.com/2011/09/googleplus.jpg" target="_blank"><img class="aligncenter size-medium wp-image-503" title="googleplus" src="http://lucamezzalira.files.wordpress.com/2011/09/googleplus.jpg?w=500&h=340" alt="" width="500" height="340" /></a></p>
<p style="text-align:center;">
<p style="text-align:left;">If you want to play with Google+ API, first of all you have to request your Google+ API key; to do that go to <a href="https://code.google.com/apis/console" target="_blank">Google API console</a> and activate Google+ service, then in the details page you can find your key.</p>
<p style="text-align:center;"><a href="http://lucamezzalira.files.wordpress.com/2011/09/screen-shot-2011-09-16-at-7-12-44-pm.png"><img class="aligncenter size-medium wp-image-504" title="Screen shot 2011-09-16 at 7.12.44 PM" src="http://lucamezzalira.files.wordpress.com/2011/09/screen-shot-2011-09-16-at-7-12-44-pm.png?w=500&h=412" alt="" width="500" height="412" /></a></p>
<p style="text-align:left;">Google+ RESTful services get us a JSON response, to read it in your Flash/Flex application remember that you need as3corelib that have the JSON deserializer, for example you can push in a generic Object all data retrieved from Google+ service or if you prefer you could create a Value Object that it could be more useful.<br />
In this case I decode directly in a generic Object, like you can see in this code snippet:</p>
<pre>var data:Object= JSON.decode(dataToRead, true);</pre>
<p>then now you can easily access to informations:</p>
<pre>var icon:String = data.image.url;
var name:String = data.displayName;
var tagline:String = data.tagline;
var description:String = data.aboutMe;</pre>
<p>Another easy feature that you can add in your Google+ application is a static image of the map, like in your web page, using <a href="http://code.google.com/intl/it/apis/maps/documentation/staticmaps/" target="_blank">Google Maps Static API</a>.<br />
You can easily make a query to Google Maps passing in GET params like: the dimension of image, the location and the zoom; you can also add more params that you find in the docs of <a href="http://code.google.com/intl/it/apis/maps/documentation/staticmaps/#quick_example" target="_blank">Google Maps Static API</a>.<br />
Here a code sample to add this feature in your Flash application, in those line I request for an image with width 480px, height 200px, with roadmap skin and with a zoom of 15x:</p>
<pre>var mapLoader:Loader = new Loader();
//city is a variable with the name of the place that you have to retrieve.
mapLoader.load(new URLRequest("http://maps.googleapis.com/maps/api/staticmap?center="
+city+"&amp;zoom=15&amp;size=480x200&amp;maptype=roadmap&amp;sensor=true"));
mapLoader.y = this.stage.stageHeight - 200;
addChild(mapLoader);</pre>
<p>Like you can see work with those APIs are pretty easy, so now we have to wait for final release and then we can start to create our Google+ integration with the Flash Platform.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/502/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=502&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2011/09/16/playingwithgoogleplusapiactionscript/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>

		<media:content url="http://lucamezzalira.files.wordpress.com/2011/09/googleplus.jpg?w=300" medium="image">
			<media:title type="html">googleplus</media:title>
		</media:content>

		<media:content url="http://lucamezzalira.files.wordpress.com/2011/09/screen-shot-2011-09-16-at-7-12-44-pm.png?w=300" medium="image">
			<media:title type="html">Screen shot 2011-09-16 at 7.12.44 PM</media:title>
		</media:content>
	</item>
		<item>
		<title>Tricks for tween on mobile devices with Flash Platform</title>
		<link>http://lucamezzalira.com/2011/08/04/tricks-for-tween-on-mobile-devices-with-flash-platform/</link>
		<comments>http://lucamezzalira.com/2011/08/04/tricks-for-tween-on-mobile-devices-with-flash-platform/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 20:46:19 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Lite]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Touch screen]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=495</guid>
		<description><![CDATA[In this quick post I&#8217;d like to share with you my experience about Tween on Flash Platform projects delivered on a mobile devices. I started work on mobile since Flash Lite 1.1 so I grew up with mobile, I lived all the Flash mobile evolution and now, on tablet and smartphone, I had some good [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=495&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this quick post I&#8217;d like to share with you my experience about Tween on Flash Platform projects delivered on a mobile devices.<br />
I started work on mobile since Flash Lite 1.1 so I grew up with mobile, I lived all the Flash mobile evolution and now, on tablet and smartphone, I had some good tricks to share with you, I really hope that those tips could help you during your developer life.<br />
OK, let&#8217;s start:</p>
<ul>
<li><em>Use quality property of stage</em><br />
This is a really good technique to use when you have to improve performance of your project, when you need to make a fluid tween before launch it, set stage quality to low and when tween will finish set stage quality to high or best.<br />
Avoid to use this technique when you have vectors (textfield for example) on the stage because you could have a worst result.</li>
<li><em>Use cacheAsBitmap and cacheAsBitmapMatrix</em><br />
If you have vector object that you&#8217;d like to animate in your project remember to cache them and then animate; remember also to set your application with GPU acceleration and you can see a really good performance with this technique.<br />
Avoid to cache objects that you need to remove from display list, it will be so expensive for your memory.</li>
<li><em>System.gc() works!</em><br />
I tried in few sample to use it on Android and I saw a good result, so the &#8220;old&#8221; tip to call System.gc() twice in a try/catch statement works on mobile device too (only on AIR apps)</li>
<li><em>Take care with multiple animations on iPad and iPhone</em><br />
On iOS devices we don&#8217;t have AIR runtime so LLVM translate our AIR project for us in Native Binary so it could help if you move few objects per time in particular if you have big objects to move like a background or something like that</li>
<li><em>Greensocks tweens are the best</em><br />
I tried tweener and other tween libraries for AS3, but the best one for me are the Greensock tween library, in particular on iOS devices.</li>
<li>Last but not least<em>, remember to test your animation on the device because you could see &#8220;funny&#8221; results</em><br />
Sometimes happen that on your computer everything works well but when you port your content on a tablet or smartphone everything works not so well.<br />
Before hurt your head, remember to test a lots of times your mobile content on the device, it could save your projects!</li>
</ul>
<div>Finally I suggest to take a look at <a href="http://www.adobe.com/devnet/devices.html" target="_blank">dev center mobile development zone</a> of Adobe site because you can find many tutorials and helpful tips on mobile development.<br />
That&#8217;s all folks for now, I hope you enjoy those tips.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/495/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/495/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/495/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=495&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2011/08/04/tricks-for-tween-on-mobile-devices-with-flash-platform/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>
	</item>
		<item>
		<title>Multicast UDP socket in Adobe AIR with Python</title>
		<link>http://lucamezzalira.com/2011/07/29/multicast-udp-socket-in-adobe-air-with-python/</link>
		<comments>http://lucamezzalira.com/2011/07/29/multicast-udp-socket-in-adobe-air-with-python/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 10:46:16 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=485</guid>
		<description><![CDATA[In my last project I solved a big issue that I needed to receive notification from an hardware via a Multicast UDP socket. If you want to know more about Multicast and Unicast in Flash Platform I really suggest to read Flashrealtime blog. Like you know the Flash Platform can use multicast with RTMFP protocol [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=485&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my last project I solved a big issue that I needed to receive notification from an hardware via a Multicast UDP socket.<br />
If you want to know more about Multicast and Unicast in Flash Platform I really suggest to read <a title="Unicast vs Multicast" href="http://www.flashrealtime.com/multicast-explained-flash-101-p2p/" target="_blank">Flashrealtime blog</a>.<br />
Like you know the Flash Platform can use multicast with RTMFP protocol so you can use it Flash to Flash or Flash to Flash Media Server but not Flash to hardware for example.</p>
<p>In my case I needed a Multicast UDP socket in a local application that communicate with an hardware that was my server, so I thought to realize a Python application for Mac OS X and Windows that could help me to solve this problem.<br />
Python is my second favorite programming language after ActionScript (obviously) and this time Python saves me to accomplish my project.<br />
I want to start with Python side, my goal is to connect to a multicast socket and get all data and then send them to a unicast UDP socket server that we will create in Adobe AIR in next example.</p>
<pre>#!/usr/bin/env python
# encoding: utf-8

import socket, select

ANY = '0.0.0.0'
MCAST_ADDR = '239.0.1.1'
MCAST_PORT = 10300

sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP)
sock.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1)
sock.bind((ANY,MCAST_PORT))
sock.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, 255)
status = sock.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP,
socket.inet_aton(MCAST_ADDR) + socket.inet_aton(ANY));

sock.setblocking(0)
print 'socket UDP multicast ready'

udp = socket.socket(socket.AF_INET, socket.SOCK_DGRAM);

while 1:
	ins, outs, errs = select.select( [ sock ] , [], [], 1.0)
	try:
	    data, addr = sock.recvfrom(1024)
	except socket.error, e:
	    pass
	else:
	    print data
	    udp.sendto(data, (socket.gethostbyname('127.0.0.1'), 10303))

socket.close()</pre>
<p>First few lines we define the multicast socket server ip (that in my case is pointing to the hardware) and the socket port to communicate with.<br />
Then I create the UDP multicast socket and the UDP unicast socket (udp var); in the while loop I set the socket timeout and if I receive data trough the multicast socket I send everything to unicast one.<br />
After that to create an application without any dependency in Windows or Mac OS X, you need to use a couple of Python libraries called <a href="http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html" target="_blank">py2app</a> and <a href="http://www.py2exe.org/" target="_blank">py2exe</a>.<br />
Both allow you to create an executable file from your Python script for mac or win without any dependencies, in Windows side you have only to remember which kind of Python dll you have to incapsulate in your AIR application but we take a look at that in a while.<br />
To create the executable file you have to create a setup script in Python for both operating systems, I suggest to create something like that:</p>
<p><strong>FOR WINDOWS:</strong></p>
<pre>from distutils.core import setup
import py2exe,sys,os

origIsSystemDLL = py2exe.build_exe.isSystemDLL
def isSystemDLL(pathname):
        if os.path.basename(pathname).lower() in ("msvcp71.dll", "dwmapi.dll"):
                return 0
        return origIsSystemDLL(pathname)
py2exe.build_exe.isSystemDLL = isSystemDLL

setup(windows=['myPythonScript.py'])</pre>
<p><strong>FOR MAC:</strong></p>
<pre>from setuptools import setup

APP = ['myPythonScript.py']
DATA_FILES = []
OPTIONS = {'argv_emulation': True}

setup(
    app=APP,
    data_files=DATA_FILES,
    options={'py2app': OPTIONS},
    setup_requires=['py2app'],
)</pre>
<p>Then if you want to create your executable files you have only need to launch the command on command prompt or terminal (you can find more informations on how to customize those setup scripts in each library&#8217;s website):<br />
<strong>FOR WINDOWS</strong>:</p>
<pre>python setup.py py2exe</pre>
<p><strong>FOR MAC</strong>:</p>
<pre>python setup.py py2app</pre>
<p>Now we can start with the AIR part, like you know with AIR 2 you can work with Native Process and this is the case to use them:</p>
<pre>const WIN_PATH:String = "win/socket.exe";
const OSX_PATH:String = "socket.app/Contents/MacOS/socket";

var nativep:NativeProcessStartupInfo = new NativeProcessStartupInfo();

var finalPath:String;

var f:File
if(Capabilities.os.substr(0, 3) == "Win"){
   finalPath = WIN_PATH
}else{
   finalPath = OSX_PATH
}

f = File.applicationDirectory.resolvePath(finalPath);

nativep.executable = f;

var process:NativeProcess = new NativeProcess();

process.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA, onOutputData);
process.addEventListener(NativeProcessExitEvent.EXIT, onExit);
process.addEventListener(IOErrorEvent.STANDARD_OUTPUT_IO_ERROR, onIOError);
process.addEventListener(IOErrorEvent.STANDARD_ERROR_IO_ERROR, onIOError);

process.start(nativep);

var udp:DatagramSocket = new DatagramSocket();
udp.addEventListener(DatagramSocketDataEvent.DATA, getData);
udp.bind(10303);
udp.receive();

function getData(e:DatagramSocketDataEvent):void{
	trace("&gt;&gt;&gt;&gt;&gt;" + e.data.readUTFBytes( e.data.bytesAvailable ))	
}

function onOutputData(event:ProgressEvent):void{
   trace(process.standardOutput.readUTFBytes(process.standardOutput.bytesAvailable)); 
}

function onErrorData(event:ProgressEvent):void{
    trace(process.standardError.readUTFBytes(process.standardError.bytesAvailable)); 
}

function onExit(event:NativeProcessExitEvent):void{
   trace(event.exitCode);
}

function onIOError(event:IOErrorEvent):void{
  trace(event.toString());
}</pre>
<p>In this simple script I&#8217;m choosing the right executable file for the operating system where my AIR application is working on and then I launch the native process to start the multicast socket.<br />
Finally I listen for the unicast socket and I trace on the output panel the messages that I receive from the hardware.<br />
I think this is an interesting way to extend Adobe AIR with Python that open new possibilities on the desktop side, think for example to create a Python bluetooth extension for Adobe AIR, it could be so interesting add this feature to AIR apps isn&#8217;t it?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/485/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=485&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2011/07/29/multicast-udp-socket-in-adobe-air-with-python/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>
	</item>
		<item>
		<title>Presentation Model design pattern: multiple screen solution &#8211; part 1</title>
		<link>http://lucamezzalira.com/2011/06/13/presentation-model-design-pattern/</link>
		<comments>http://lucamezzalira.com/2011/06/13/presentation-model-design-pattern/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 01:58:18 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[actionscript design pattern]]></category>
		<category><![CDATA[Android AIR]]></category>
		<category><![CDATA[design pattern]]></category>
		<category><![CDATA[iOS AIR]]></category>
		<category><![CDATA[martin fowler]]></category>
		<category><![CDATA[mobile development]]></category>
		<category><![CDATA[multiple screen]]></category>
		<category><![CDATA[Playbook AIR]]></category>
		<category><![CDATA[presentation model]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=474</guid>
		<description><![CDATA[Today I&#8217;d like to talk about Presentation Model design pattern because it&#8217;ll be so useful for anyone that is working on multiple screen project with Flash or Flex. In latest months we lived in phrenetic mobile world where we have tons of new and powerful devices on the market with different screen sizes, different hardware [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=474&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;d like to talk about Presentation Model design pattern because it&#8217;ll be so useful for anyone that is working on multiple screen project with Flash or Flex.<br />
In latest months we lived in phrenetic mobile world where we have tons of new and powerful devices on the market with different screen sizes, different hardware and so on, on the other hand we have clients that are looking for new business opportunities and they are seeking a way to spend less but earn more.<br />
So, one way to solve those problems could be find a way to deploy with the same technology in different devices (tablets, smartphones, computers&#8230;) saving time with great results!<br />
That&#8217;s not a dream, it could be made with knowledge, architecture and a good developer or a team!</p>
<h3><strong>Our goal</strong></h3>
<p>For a developer find a way to have a good project architecture to maintain it&#8217;s so important, usually when you start a project you try to define the parts that could be re-usable in different part of the same project or in different project too.<br />
So our aim is find a way to write less code but it will cover the project needs and that could be portable in different screens / operating systems easily.</p>
<h3><strong>What is Presentation Model design pattern?</strong></h3>
<p>My mentor <a href="http://martinfowler.com/aboutMe.html" target="_blank">Martin Fowler</a> describes it with those words: &#8220;<em>Represent the state and behavior of the presentation independently of the GUI controls used in the interface</em>&#8221;  (here the <a href="http://martinfowler.com/eaaDev/PresentationModel.html" target="_blank">full article</a> of Martin Fowler).<br />
In fact with this pattern we divide UI (components, movieclips, sprites&#8230;) from their behaviors; each view will have one and only that one presentation model and only the presentation model will interact with the whole architecture (like with model or proxy&#8230;).<br />
Probably with this image you can easily understand better this concept (from Martin Fowler website):</p>
<p><img class="aligncenter" title="Presentation Model UML Sample" src="http://martinfowler.com/eaaDev/presentationModel/cutTitleClass.gif" alt="" width="469" height="229" /></p>
<p>Like you can see we have 3 class, AlbumTitle that is a view with a textfield, AlbumPresentationModel that is the presentation model of AlbumTitle and it has the copy of the view but storing datas inside and finally the main model Album where we have the data that could be used for the whole application.<br />
There aren&#8217;t any connection trough the views and the application model because only the presentation model has access to the whole project, so the view is only a bunch of components and custom graphics, this it means that if you have to change UI on a mobile project for a different device, changing the views and anything else, you will have done your job.<br />
In fact with this easy technique you perfectly solve our problem and you should create the same content for different devices changing only the views.<br />
Probably your application in different devices will have the same functionalities but with a different UI dedicated for the OS is running on.<br />
With this sample design pattern you&#8217;ll have a solid infrastructure that will solve the big problem to port the same application in different screen sizes.<br />
So in next paragraph we can take a look on how to organize our files project.</p>
<h3><strong>Manage a project for different screen sizes</strong></h3>
<p>Another important thing before starts the project is understand how to organize the project for different OS, in fact if you work with Adobe AIR on Android you&#8217;ll have only the XML descriptor with Android permissions described in this file, on Playbook you&#8217;ll have another XML file dedicated to this platform and so on.<br />
So, my suggestion is to organize the project in different projects that work together.<br />
In this image you can see how I organize it for our final scope, I&#8217;ve a common project (Runtime Shared Libraries in this case but you can use also an Actionscript or AIR project if you work with Flash for example) where I&#8217;ll put all classes that are common for different target, so in my case all the presentation models, main models, utils classes, my notification bus and views that are common for different projects like components for example.</p>
<p><a href="http://lucamezzalira.files.wordpress.com/2011/06/screen-shot-2011-06-13-at-3-25-15-am.png"><img class="aligncenter size-medium wp-image-475" title="common project" src="http://lucamezzalira.files.wordpress.com/2011/06/screen-shot-2011-06-13-at-3-25-15-am.png?w=227&h=300" alt="" width="227" height="300" /></a></p>
<p>In the target device projects I add only what I need for that device, in this case only a couple of views and assets but in big projects could be more stuff that those one:</p>
<p style="text-align:center;"><a href="http://lucamezzalira.files.wordpress.com/2011/06/organization.jpg"><img class="size-medium wp-image-480 aligncenter" title="organization target devices" src="http://lucamezzalira.files.wordpress.com/2011/06/organization.jpg?w=300&h=83" alt="" width="300" height="83" /></a></p>
<p>When you have a specific behavior only for a target device, you can easily extends the common presentation model and add new functionalities or create a side class that you&#8217;ll add in the specific view.<br />
So with this infrastructure you can solve bugs and change stuff directly on the common project and all the platforms will be ready to package the project and upload to their store. That&#8217;s cool, isn&#8217;t it?</p>
<h3><strong>Summary</strong></h3>
<p>So in this post I hope to give you some ideas on how to solve the big problem to create a common base code that could be useful for different purpose.<br />
In next post I&#8217;ll show you how to implement it in practice, for now if you have any feedback or suggestions for the second part of this article please add a comment to this post.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/474/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=474&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2011/06/13/presentation-model-design-pattern/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>

		<media:content url="http://martinfowler.com/eaaDev/presentationModel/cutTitleClass.gif" medium="image">
			<media:title type="html">Presentation Model UML Sample</media:title>
		</media:content>

		<media:content url="http://lucamezzalira.files.wordpress.com/2011/06/screen-shot-2011-06-13-at-3-25-15-am.png?w=227" medium="image">
			<media:title type="html">common project</media:title>
		</media:content>

		<media:content url="http://lucamezzalira.files.wordpress.com/2011/06/organization.jpg?w=300" medium="image">
			<media:title type="html">organization target devices</media:title>
		</media:content>
	</item>
		<item>
		<title>New AT&amp;T Research Reveals Clues to Smarter App Development</title>
		<link>http://lucamezzalira.com/2011/06/09/new-att-research-reveals-clues-to-smarter-app-development/</link>
		<comments>http://lucamezzalira.com/2011/06/09/new-att-research-reveals-clues-to-smarter-app-development/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 17:50:23 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Resource]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=469</guid>
		<description><![CDATA[This time I&#8217;d like to publish a post written by Doug Sillars member of the AT&#38;T Developer Program team, he asked me to publish it on my blog so here we are, great job Doug! Nothing chases away users (or invites bad reviews!) like an app that is slow or drains battery life too quickly. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=469&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This time I&#8217;d like to publish a post written by Doug Sillars member of the AT&amp;T Developer Program team, he asked me to publish it on my blog so here we are, great job Doug!</p>
<p><a href="http://lucamezzalira.files.wordpress.com/2011/06/image001.png"><img class="aligncenter size-full wp-image-470" title="image001" src="http://lucamezzalira.files.wordpress.com/2011/06/image001.png?w=450" alt=""   /></a></p>
<p>Nothing chases away users (or invites bad reviews!) like an app that is slow or drains battery life too quickly. New research from AT&amp;T and University of Michigan offers insight into how applications can be modified to prevent these issues from occurring. Historically, wireless optimization best practices have focused on how to optimize content for smaller screens and slower processors. In this article, the researchers describe how mobile wireless networks are different than wired networks, and how simple changes to your app can work WITH the network to improve your application’s efficiency.</p>
<p>What is truly fascinating about this study is that developers are given a peek at network architecture and lower-level protocols that are usually hidden from them. The researchers describe in detail the connection latencies and state machines that exist in wireless networks, and how much longer these timeframes are than in traditional networks. The main takeaway for developers is that all connections open and close on the order of seconds (as compared to milliseconds in the wired web). These latencies make content downloads appear slow, and can drain the battery quickly.<br />
The researchers point out that it is more efficient to utilize fewer connections to send more data per connection. For example: 5 connections of 1 KB each utilize 90 seconds of radio, while one 5 KB transfer uses 19 seconds (a 79% decrease in battery usage for the same amount of data!).</p>
<p><a href="http://lucamezzalira.files.wordpress.com/2011/06/image002.jpg"><img class="aligncenter size-medium wp-image-471" title="image002" src="http://lucamezzalira.files.wordpress.com/2011/06/image002.jpg?w=300&h=99" alt="" width="300" height="99" /></a></p>
<p>Each network connection causes a power drain to the battery, and can make your application appear slow to the end user. By sending more data per connection (and using fewer total connections), you can drastically improve your application’s performance. The researchers provide the example of a news application that downloads data on demand (e.g., images are downloaded when the user scrolls to them). They found that prefetching images (sending many files in anticipation of future use) can reduce power consumption by 15-18%. Since the images are downloaded in advance, they are available for display immediately, and your application appears faster. However, the researchers are quick to point out that prefetching data is a delicate balance, as downloading content that is never used also wastes the battery (and can cause your users to exceed their monthly data caps).</p>
<p>In the case of a popular music streaming service, periodic audience measurements were draining battery life, causing the app to use more than 40% of its power to transmit just 0.2% of its data. By lengthening the time between these measurements, it is possible to greatly reduce the battery drain, and allow users to listen to more music (and at the same time view more revenue-producing advertisements)!<br />
AT&amp;T has begun working with developers of popular applications (like Pandora and Facebook) to enthusiastic responses. The biggest response has been that the solutions to optimize wireless applications are straightforward and benefit both the developer and the end user!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/469/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=469&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2011/06/09/new-att-research-reveals-clues-to-smarter-app-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>

		<media:content url="http://lucamezzalira.files.wordpress.com/2011/06/image001.png" medium="image">
			<media:title type="html">image001</media:title>
		</media:content>

		<media:content url="http://lucamezzalira.files.wordpress.com/2011/06/image002.jpg?w=300" medium="image">
			<media:title type="html">image002</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash Camp Milan review</title>
		<link>http://lucamezzalira.com/2011/05/21/flash-camp-milan-review/</link>
		<comments>http://lucamezzalira.com/2011/05/21/flash-camp-milan-review/#comments</comments>
		<pubDate>Sat, 21 May 2011 08:01:05 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flash Lite]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Touch screen]]></category>
		<category><![CDATA[actionscript 3 design patterns]]></category>
		<category><![CDATA[design patterns]]></category>
		<category><![CDATA[flash camp]]></category>
		<category><![CDATA[flash mobile]]></category>
		<category><![CDATA[observer]]></category>
		<category><![CDATA[presentation model]]></category>
		<category><![CDATA[singleton]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=458</guid>
		<description><![CDATA[Yesterday in Milan we had the Flash Camp about Mobile topics and then we had the Flash Camp Party at NH Hotel&#8230; really wonderful time. Like you know, in Italy it&#8217;s not so easy to organize those kind of events because usually people don&#8217;t move to another city like other foreign countries but Flash Camp [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=458&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday in Milan we had the Flash Camp about Mobile topics and then we had the Flash Camp Party at NH Hotel&#8230; really wonderful time.<br />
Like you know, in Italy it&#8217;s not so easy to organize those kind of events because usually people don&#8217;t move to another city like other foreign countries but Flash Camp had a great success.<br />
This camp was organized in the same place of WhyMCA the mobile revolution, an italian conference focused on mobile topics.<br />
We had 50/60 people per session and I&#8217;m glad to say that my session had 80 people so I&#8217;m happy about this little success.<br />
All the sessions surfed in deep about CG, design patterns, video optimization for mobile, flex on mobile and so on, so I was really excited to take part in this event.<br />
My session was about Design Pattern for Mobile, I talked about 3 design patterns: Singleton, Observer and Presentation Model.<br />
With a couple of samples (that you can download from this <a href="http://www.flairpy.com/flashcampMilan.zip" target="_blank">link</a>) and few slides I made an application that run with the same base code on tablet and smartphone; this is an hot topic now on mobile world in particular on Flash Platform side.<br />
<iframe src='http://www.slideshare.net/slideshow/embed_code/8044969' width='580' height='475'></iframe><br />
In next few weeks I&#8217;ll make a post about Presentation Model to share my thoughts about this argument and how to use it in your project , but if you want to start with this topic, take a look at this great post on <a href="http://riarockstars.com/2011/03/16/presentation-model-and-multiple-screens-part-1/" target="_blank">RIArockstars</a>.</p>
<p>Finally I&#8217;d like to thanks the Flash Mind, Adobe Flash Platform User Group Italy, to give me this opportunity, WhyMCA staff for the amazing organization, other speakers of Flash Camp for great time spent together and people that came to talk with us during the Flash Camp and to the beer party too.<br />
I leave also a link to some <a href="http://www.flickr.com/photos/lucamezzalira/sets/72157626766575326/" target="_blank">photos</a> took during Flash Camp in Milan.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/458/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=458&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2011/05/21/flash-camp-milan-review/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash Camp in Milan</title>
		<link>http://lucamezzalira.com/2011/05/02/flash-camp-in-milan/</link>
		<comments>http://lucamezzalira.com/2011/05/02/flash-camp-in-milan/#comments</comments>
		<pubDate>Mon, 02 May 2011 08:57:05 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[flash catalyst]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=454</guid>
		<description><![CDATA[I&#8217;m glad to announce an interesting Flash Camp that will take place in Milan this month at 20 and 21. All the topics of the Flash Camp will be focused on mobile side, so Flex for mobile device, iOS, Android and Playbook development, code technique for mobile applications, optimizing video content for mobile, design pattern [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=454&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m glad to announce an interesting Flash Camp that will take place in Milan this month at 20 and 21.</p>
<p><a href="http://lucamezzalira.files.wordpress.com/2011/05/flash_camp.png"><img class="aligncenter size-medium wp-image-456" title="flash_camp" src="http://lucamezzalira.files.wordpress.com/2011/05/flash_camp.png?w=300&h=66" alt="" width="300" height="66" /></a></p>
<p>All the topics of the Flash Camp will be focused on mobile side, so Flex for mobile device, iOS, Android and Playbook development, code technique for mobile applications, optimizing video content for mobile, design pattern and architecture for mobile project.<br />
Flash camp will be hosted by the <a href="http://www.whymca.org/">whymca</a> the mobile developer conference, that for the second year will show the mobile opportunities not only with Flash Platform but with any technology could be use for mobile purpose.<br />
The event will be in Milan in Milanofiori (Assago), you can find more information on <a href="http://www.whymca.org/" target="_blank">whymca web site</a>.</p>
<p>Back on the Flash Camp side, speakers will be:</p>
<ul>
<li><a href="http://corlan.org/" target="_blank">Mihai Corlan</a> &#8211; Adobe Evangelist</li>
<li><a href="http://sonnati.wordpress.com/" target="_blank">Fabio Sonnati</a></li>
<li><a href="http://www.flashfuck.it/" target="_blank">Piergiorgio Niero</a></li>
<li><a href="http://www.interpreting-tech.com/bemobile/" target="_blank">Andrea Trento</a></li>
<li>Luca Mezzalira</li>
</ul>
<div>Mihai will talk about Flex on mobile devices and how to deploy a content on multiple devices, in the afternoon he has a live coding session where show how to create a mobile application with Actionscript 3.<br />
My good friend Fabio will talk about video encoding optimization for mobile devices, Andrea will show how to create a game cross-platform with Flash Platform and Piergiorgio will give us great suggestions on how to optimize our code and improve the performance of mobile solutions.</div>
<div>Finally me, I&#8217;ll talk on how to organize a multiple screen development with Design Pattern and Architecture to re-use code and have great performance on mobile solutions.</div>
<div>For a limit number of people we are organizing a post event for the evening so try to come from the beginning of the Flash Camp and you&#8217;ll receive more information about it or keep update reading this blog.<br />
See you there Flashers!!!</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/454/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=454&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2011/05/02/flash-camp-in-milan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>

		<media:content url="http://lucamezzalira.files.wordpress.com/2011/05/flash_camp.png?w=300" medium="image">
			<media:title type="html">flash_camp</media:title>
		</media:content>
	</item>
		<item>
		<title>Playbook development with Flash Platform</title>
		<link>http://lucamezzalira.com/2011/03/14/playbook-development-with-flash-platform/</link>
		<comments>http://lucamezzalira.com/2011/03/14/playbook-development-with-flash-platform/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 19:24:27 +0000</pubDate>
		<dc:creator>lucamezzalira</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[AIR mobile]]></category>
		<category><![CDATA[air playbook]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[flash development]]></category>
		<category><![CDATA[flash mobile]]></category>
		<category><![CDATA[flash playbook]]></category>
		<category><![CDATA[flex playbook]]></category>
		<category><![CDATA[mihai corlan]]></category>
		<category><![CDATA[mobile optimization]]></category>
		<category><![CDATA[playbook]]></category>
		<category><![CDATA[qnx]]></category>
		<category><![CDATA[rim]]></category>

		<guid isPermaLink="false">http://lucamezzalira.com/?p=413</guid>
		<description><![CDATA[First of all a big THANKS to Mihai Corlan, Adobe Evangelist, that is helping me during this &#8220;journey&#8221;. Everything start last year during MAX when I saw for the first time the new BlackBerry tablet: the Playbook It looked so nice, I thought that it was really amazing. So after few months I decide to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=413&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>First of all a big THANKS to <a title="Mihai Corlan blog" href="http://corlan.org/" target="_blank">Mihai Corlan</a>, Adobe Evangelist, that is helping me during this &#8220;journey&#8221;.<br />
Everything start last year during MAX when I saw for the first time the new BlackBerry tablet: the Playbook <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
It looked so nice, I thought that it was really amazing.<br />
So after few months I decide to try&#8230; and now, I finally can announce that with Mihai we are working on a book on Playbook application development with Flash Platform!</p>
<p>It&#8217;ll be an hard job but I want to do it, I hope to receive useful suggestions and questions about this topic and believe me that I&#8217;ll be free to talk with you about that.<br />
It will be a book made by developers for developers so I hope that you&#8217;ll enjoy it when will be released this september (more or less).<br />
This book will cover following topics:</p>
<ul>
<li>Build, port and optimize apps for the BlackBerry PlayBook tablet device</li>
<li>Work with the PlayBook OS APIs, ActionScript, Flex, AIR and other Flash tools/APIs for PlayBook</li>
<li>Build a simple app and consuming data</li>
<li>Create multimedia and gaming apps for the BlackBerry PlayBook</li>
<li>Debug and optimize your PlayBook app</li>
</ul>
<p>For any news about this book and about Flash Platform development follow this blog and my twitter or facebook account.</p>
<p><a href="http://lucamezzalira.files.wordpress.com/2011/03/playbookflash.jpg"><img class="aligncenter size-full wp-image-414" title="Playbook apps development with Flash Platform" src="http://lucamezzalira.files.wordpress.com/2011/03/playbookflash.jpg?w=450" alt=""   /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/lucamezzalira.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/lucamezzalira.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/lucamezzalira.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/lucamezzalira.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/lucamezzalira.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/lucamezzalira.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/lucamezzalira.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/lucamezzalira.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/lucamezzalira.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/lucamezzalira.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/lucamezzalira.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/lucamezzalira.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/lucamezzalira.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/lucamezzalira.wordpress.com/413/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=lucamezzalira.com&#038;blog=899073&#038;post=413&#038;subd=lucamezzalira&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://lucamezzalira.com/2011/03/14/playbook-development-with-flash-platform/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/316d59055c8be616a0242c04169c95bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lucamezzalira</media:title>
		</media:content>

		<media:content url="http://lucamezzalira.files.wordpress.com/2011/03/playbookflash.jpg" medium="image">
			<media:title type="html">Playbook apps development with Flash Platform</media:title>
		</media:content>
	</item>
	</channel>
</rss>
