<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hemanth Sharma - Tech Blog &#187; Tech Blog</title>
	<atom:link href="http://www.hsharma.com/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hsharma.com</link>
	<description></description>
	<lastBuildDate>Tue, 22 May 2012 18:05:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Starting with Starling, Ep 6 &amp; 7</title>
		<link>http://www.hsharma.com/tutorials/starting-with-starling-ep-6-7/</link>
		<comments>http://www.hsharma.com/tutorials/starting-with-starling-ep-6-7/#comments</comments>
		<pubDate>Tue, 22 May 2012 18:01:33 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[hero]]></category>
		<category><![CDATA[hungry]]></category>
		<category><![CDATA[obstacle]]></category>
		<category><![CDATA[starling]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=2466</guid>
		<description><![CDATA[Episode 6 of the Starling series was uploaded a while back. Today, I completed Episode 7. I have been working on optimizing the game itself for its release on devices. In the process, also trying to minimize the number of episodes in this tutorial series. My objective is to have the videos focused on how Starling [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.hsharma.com/tutorials/starting-with-starling-ep-6-hero-flies-in/" target="_blank" rel='nofollow'>Episode 6</a></strong> of the Starling series was uploaded a while back. Today, I completed <strong><a href="http://www.hsharma.com/tutorials/starting-with-starling-ep-7-obstacles/" target="_blank" rel='nofollow'>Episode 7</a></strong>. I have been working on optimizing the game itself for its release on devices. In the process, also trying to minimize the number of episodes in this tutorial series. My objective is to have the videos focused on how Starling is helpful in development and not to concentrate on the actual game development technique. I am trying to come up with an intermediate solution that can touch both topics. I hope to post around 5 more episodes in this series.</p>
<p><a href="http://www.hsharma.com/tutorials/starting-with-starling-ep-6-hero-flies-in/" rel='nofollow'><img class="alignleft border" title="Starting with Starling - Ep 6: Hero Flies In" src="http://www.hsharma.com/_assets/tutorials/thumbs/startingWithStarling/startingWithStarling_ep6_th.jpg" alt="" width="238" height="96" /></a><strong>In the 6th episode:</strong> Write the base code needed to control the game state and hero&#8217;s speed. Define idle state, add &#8220;Start&#8221; button and also make the hero fly in from the left side of the screen. Once the hero is inside the screen, change the game state to the flying state.</p>
<p><a href="http://www.hsharma.com/tutorials/starting-with-starling-ep-7-obstacles/" rel='nofollow'><img class="alignright border" title="Starting with Starling - Ep 7: Obstacles" src="http://www.hsharma.com/_assets/tutorials/thumbs/startingWithStarling/startingWithStarling_ep7_th.jpg" alt="" width="238" height="96" /></a><strong>In the 7th episode:</strong> Create the Obstacle class. Also define the watchout sign animation, obstacle art and crash art.</p>
<p>Finally animate the obstacles from the right side at random vertical points and remove them once they go out of the screen on the left.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/starting-with-starling-ep-6-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starling Framework 1.1 Released</title>
		<link>http://www.hsharma.com/games/starling-framework-1-1-released/</link>
		<comments>http://www.hsharma.com/games/starling-framework-1-1-released/#comments</comments>
		<pubDate>Thu, 10 May 2012 06:00:24 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=2435</guid>
		<description><![CDATA[Gamua released a much awaited version &#8211; Starling Framework 1.1 a couple of days ago! Clearly, a lot of improvements have gone into it. Here are some of the areas of improvement - I would say, first and foremost is the performance boost for the iPad 1. Introduction of Blend Modes for images for wonderful effects. [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.gamua.com/starling" target="_blank" rel='nofollow'><img class="size-full wp-image-2436 border" title="Starling Framework 1.1" src="http://www.hsharma.com/wp-content/uploads/2012/05/starling11.jpg" alt="Starling Framework 1.1" width="436" height="167" /></a></p>
<p><strong><a href="http://www.gamua.com" target="_blank" rel='nofollow'>Gamua</a></strong> released a much awaited version &#8211; <strong><a href="http://gamua.com/starling/" target="_blank" rel='nofollow'>Starling Framework 1.1</a></strong> a couple of days ago! Clearly, a lot of improvements have gone into it. Here are some of the areas of improvement -</p>
<ul>
<li>I would say, first and foremost is the <strong>performance boost</strong> for the iPad 1.</li>
<li>Introduction of <strong>Blend Modes</strong> for images for wonderful effects.</li>
<li>A very handy component built-in to show <strong>statistics</strong> &#8211; frame rate, memory, etc.</li>
<li>The most seriously useful feature &#8211; <strong>Multi-resolution development</strong> with support for multi-resolution textures.</li>
</ul>
<p>I hope to cover some of these in my upcoming episodes of <strong><a href="http://www.hsharma.com/tutorials/starting-with-starling-ep-1-intro-setup/" target="_blank" rel='nofollow'>Starting with Starling</a></strong>. So, don&#8217;t wait more&#8230; Start with the new Starling 1.1!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/games/starling-framework-1-1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting with Starling Episode 5 is Live</title>
		<link>http://www.hsharma.com/tutorials/starting-with-starling-episode-5-is-live/</link>
		<comments>http://www.hsharma.com/tutorials/starting-with-starling-episode-5-is-live/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 12:12:21 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[click]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[handler]]></category>
		<category><![CDATA[hero]]></category>
		<category><![CDATA[hungry]]></category>
		<category><![CDATA[listener]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[parallax]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[scrolling]]></category>
		<category><![CDATA[spritesheet]]></category>
		<category><![CDATA[starling]]></category>
		<category><![CDATA[triggered]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=2420</guid>
		<description><![CDATA[Just finished uploading the 5th episode of the series &#8220;Starting with Starling&#8220;. In this episode, understand the concept of Parallax Scrolling and create a nice parallax background effect for the in-game screen. Thanks for all the feedback and suggestions. Keep them coming. I will cover the creation of obstacles and their animation in the coming episodes.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hsharma.com/tutorials/starting-with-starling-ep-5-parallax-background/" target="_blank" rel='nofollow'><img class="alignleft border" title="Parallax Background" src="http://www.hsharma.com/_assets/tutorials/thumbs/startingWithStarling/startingWithStarling_ep5_th.jpg" alt="" width="238" height="96" /></a>Just finished uploading the <strong><a href="http://www.hsharma.com/tutorials/starting-with-starling-ep-5-parallax-background/" target="_blank" rel='nofollow'>5th episode</a></strong> of the series &#8220;<strong>Starting with Starling</strong>&#8220;. In this episode, understand the concept of Parallax Scrolling and create a nice parallax background effect for the in-game screen. Thanks for all the feedback and suggestions. Keep them coming. I will cover the creation of obstacles and their animation in the coming episodes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/starting-with-starling-episode-5-is-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting with Starling: Ep 3 and 4</title>
		<link>http://www.hsharma.com/tutorials/starting-with-starling-ep-3-and-4/</link>
		<comments>http://www.hsharma.com/tutorials/starting-with-starling-ep-3-and-4/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 05:33:09 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[click]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[handler]]></category>
		<category><![CDATA[hero]]></category>
		<category><![CDATA[hungry]]></category>
		<category><![CDATA[listener]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[spritesheet]]></category>
		<category><![CDATA[starling]]></category>
		<category><![CDATA[triggered]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=2411</guid>
		<description><![CDATA[Episodes 3 and 4 of Starting with Starling series are now online. In the 3rd episode, you will understand how the artwork and animation for Hungry Hero game were built. We will also explore how they are exported to PNG files. Later, publish them into a sprite sheet using Texture Packer. The last step will [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hsharma.com/tutorials/starting-with-starling-ep-3-sprite-sheets/" target="_blank" rel='nofollow'><img class="alignleft border" title="Episode 3" src="http://www.hsharma.com/_assets/tutorials/thumbs/startingWithStarling/startingWithStarling_ep3_th.jpg" alt="" width="238" height="96" /></a>Episodes 3 and 4 of Starting with Starling series are now online. In the 3rd episode, you will understand how the artwork and animation for Hungry Hero game were built. We will also explore how they are exported to PNG files. Later, publish them into a sprite sheet using Texture Packer. The last step will be to load the sprite sheet and play the hero animation in the AS3 project.</p>
<p><a href="http://www.hsharma.com/tutorials/starting-with-starling-ep-4-navigation/" target="_blank" rel='nofollow'><img class="alignright border" title="Episode 4" src="http://www.hsharma.com/_assets/tutorials/thumbs/startingWithStarling/startingWithStarling_ep4_th.jpg" alt="" width="238" height="96" /></a>In the 4th episode, welcome screen&#8217;s assets are picked from the Sprite Sheet, instead of individual .png files. You will learn to extend starling.events.Event and create a custom event class for navigation between welcome and in-game screens.</p>
<p>I will start showing the parallax scrolling of in-game background based on a variable speed of hero, in the next episode, coming very soon&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/starting-with-starling-ep-3-and-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting with Starling: Ep 2 and the Thoughts Behind</title>
		<link>http://www.hsharma.com/tutorials/starting-with-starling-ep-2-and-the-thoughts-behin/</link>
		<comments>http://www.hsharma.com/tutorials/starting-with-starling-ep-2-and-the-thoughts-behin/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 14:12:05 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[character]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[hero]]></category>
		<category><![CDATA[hungry]]></category>
		<category><![CDATA[hungry hero]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[starling]]></category>
		<category><![CDATA[starting]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=2383</guid>
		<description><![CDATA[This time, I spent about a week thinking and developing a new game that I could use for this new tutorial series &#8220;Starting with Starling&#8221;. So, I ended up with Hungry Hero. It was a quick 2 days of coding, but took a little bit more than 2 days for creating graphics, assets, sounds, etc. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hsharma.com/tutorials/starting-with-starling-ep-2-welcome-screen/" target="_blank" rel='nofollow'><img class="alignleft border" title="Starting with Starling - Ep 2: Welcome Screen" src="http://www.hsharma.com/_assets/tutorials/thumbs/startingWithStarling/startingWithStarling_ep2_th.jpg" alt="Starting with Starling - Ep 2: Welcome Screen" width="238" height="96" /></a>This time, I spent about a week thinking and developing a new game that I could use for this new tutorial series &#8220;Starting with Starling&#8221;. So, I ended up with <strong><a href="http://www.hungryherogame.com" target="_blank" rel='nofollow'>Hungry Hero</a></strong>. It was a quick 2 days of coding, but took a little bit more than 2 days for creating graphics, assets, sounds, etc.</p>
<p>I drew the character/elements on paper, then converted them to vector drawings in Adobe Illustrator. Finally animating the hero character in Flash Pro, I created the sprite sheet. It was a fun experience building all of these in the crunch time.</p>
<p>I also thought of what else I could present as part of this series. I am glad a lot of you have provided feedback through the comments/mails on how you like the idea of a complete workflow being covered. I have plans around this to make sure I help you guys with better understanding of the &#8220;process&#8221;, rather than just a piece of it. Stay tuned!</p>
<p>With that in mind, I released the <strong><a href="http://www.hsharma.com/tutorials/starting-with-starling-ep-2-welcome-screen/" target="_blank" rel='nofollow'>2nd episode: Welcome Screen</a></strong> of this video series yesterday. Do have a look at it and let me know what you think. Do re-tweet and share!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/starting-with-starling-ep-2-and-the-thoughts-behin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hungry Hero: A new Starling Game</title>
		<link>http://www.hsharma.com/games/hungry-hero-a-new-starling-game/</link>
		<comments>http://www.hsharma.com/games/hungry-hero-a-new-starling-game/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 16:52:52 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[hungry hero]]></category>
		<category><![CDATA[play]]></category>
		<category><![CDATA[stage3d]]></category>
		<category><![CDATA[starling]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=2359</guid>
		<description><![CDATA[I just finished creating and publishing my new game &#8220;Hungry Hero&#8220;. I used Starling Framework to build this game. With so many elements on screen and particle effects, without optimizing, it is quite easy to achieve 60 fps on the web. Do play and enjoy. If you would like to get future updates about the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hungryherogame.com" target="_blank" rel='nofollow'><img class="alignleft size-thumbnail wp-image-2360 border" title="Hungry Hero" src="http://www.hsharma.com/wp-content/uploads/2012/04/gameStill-150x150.jpg" alt="Hungry Hero" width="150" height="150" /></a>I just finished creating and publishing my new game &#8220;<strong><a title="Hungry Hero" href="http://www.hungryherogame.com" target="_blank" rel='nofollow'>Hungry Hero</a></strong>&#8220;. I used <strong><a href="http://gamua.com/starling" target="_blank" rel='nofollow'>Starling Framework</a></strong> to build this game. With so many elements on screen and particle effects, without optimizing, it is quite easy to achieve 60 fps on the web. Do play and enjoy. If you would like to get future updates about the game and its availability on devices, do sign up on the site. I will drop you a mail and notify once it is ready.</p>
<p>I built this game as part of the tutorial series &#8220;<strong><a href="http://bit.ly/startingStarling" target="_blank" rel='nofollow'>Starting with Starling</a></strong>&#8220;. In fact, this is the game I plan to build in the tutorial. The next episode of this series should be online in a couple of days.  To get updates on my tutorials, you can <strong><a href="http://www.hsharma.com/tutorials/subscribe/" target="_blank" rel='nofollow'>subscribe</a></strong> and get notified.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/games/hungry-hero-a-new-starling-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting with Starling &#8211; Episode 1 is up!</title>
		<link>http://www.hsharma.com/tutorials/starting-with-starling-episode-1-is-up/</link>
		<comments>http://www.hsharma.com/tutorials/starting-with-starling-episode-1-is-up/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 18:05:34 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[Player]]></category>
		<category><![CDATA[starling]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=2345</guid>
		<description><![CDATA[I plan to start a new tutorial series today and the first episode is up right now! This whole series is targeted towards learning Starling framework and called &#8220;Starting with Starling&#8221;. Through this series, learn to take advantage of Adobe Flash Player&#8217;s Stage3D feature and hardware-accelerate your 2D games. In the first episode (Introduction &#38; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hsharma.com/tutorials/starting-with-starling-ep-1-intro-setup/" target="_blank" rel='nofollow'><img class="border alignleft" title="Starting with Starling" src="http://www.hsharma.com/_assets/tutorials/thumbs/startingWithStarling/startingWithStarling_ep1_th.jpg" alt="Starting with Starling" width="238" height="96" /></a>I plan to start a new tutorial series today and the first episode is up right now! This whole series is targeted towards learning <strong><a title="Starling Framework" href="http://www.starling-framework.org" target="_blank" rel='nofollow'>Starling framework</a></strong> and called &#8220;Starting with Starling&#8221;.</p>
<p>Through this series, learn to take advantage of Adobe Flash Player&#8217;s Stage3D feature and hardware-accelerate your 2D games.</p>
<p>In the first episode (<strong><a href="http://www.hsharma.com/tutorials/starting-with-starling-ep-1-intro-setup/" target="_blank" rel='nofollow'>Introduction &amp; Setup</a></strong>), learn what Starling framework is, how it works and how to set it up.</p>
<p>Your valuable suggestions and comments are welcome. If you have ideas or requests for specific topics, please do post to me and I shall try my best to include them in the future videos if possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/starting-with-starling-episode-1-is-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Gaming</title>
		<link>http://www.hsharma.com/adobe/adobe-gaming/</link>
		<comments>http://www.hsharma.com/adobe/adobe-gaming/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 07:54:38 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Player]]></category>
		<category><![CDATA[resources]]></category>
		<category><![CDATA[stage3d]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=2317</guid>
		<description><![CDATA[We just launched a new section of the site dedicated to game development and showcase. Do check it out. You will find awesome games already published on the web and devices that use Adobe Flash Platform. It also showcases the latest and the greatest &#8211; Stage3D and related features of Flash Player. Also beginners, learn [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://gaming.adobe.com" target="_blank" rel='nofollow'><img class="size-full wp-image-2318 alignnone" title="Adobe Gaming" src="http://www.hsharma.com/wp-content/uploads/2012/03/adobe-gaming-logo.png" alt="Adobe Gaming" width="460" height="67" /></a></p>
<p>We just launched a new section of the site dedicated to game development and showcase. Do <strong><a href="http://gaming.adobe.com" target="_blank" rel='nofollow'>check it out</a></strong>.</p>
<p>You will find awesome games already published on the web and devices that use Adobe Flash Platform. It also showcases the latest and the greatest &#8211; Stage3D and related features of Flash Player. Also beginners, learn from various frameworks, tutorials and links on the <a href="http://gaming.adobe.com/resources" target="_blank" rel='nofollow'>Resources</a> page in the portal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/adobe-gaming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Tutorial: Balloon Shooter in FlashPunk &#8211; Episode 4</title>
		<link>http://www.hsharma.com/tutorials/video-tutorial-balloon-shooter-in-flashpunk-episode-4/</link>
		<comments>http://www.hsharma.com/tutorials/video-tutorial-balloon-shooter-in-flashpunk-episode-4/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 07:29:26 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[flashpunk]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[punk]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=2274</guid>
		<description><![CDATA[The last and final episode of the tutorial series &#8220;Creating a Balloon Shooter game in FlashPunk&#8221; is now uploaded. The tutorial files attached with this video is the ActionScript project containing full source of the game. If you have any feedback or questions, please feel free to write to me.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hsharma.com/tutorials/balloon-shooter-game-in-flashpunk-episode-4-adding-scores-and-sounds/" target="_blank" rel='nofollow'><img class="alignleft size-full wp-image-2276 border" title="Balloon Shooter in FlashPunk - Episode 4" src="http://www.hsharma.com/wp-content/uploads/2012/02/balloonShooterFlashPunk_ep4_th.jpg" alt="Balloon Shooter in FlashPunk - Episode 4" width="238" height="96" /></a>The last and <strong><a href="http://www.hsharma.com/tutorials/balloon-shooter-game-in-flashpunk-episode-4-adding-scores-and-sounds/" target="_blank" rel='nofollow'>final episode of the tutorial series</a></strong> &#8220;Creating a Balloon Shooter game in FlashPunk&#8221; is now uploaded.</p>
<p>The tutorial files attached with this video is the ActionScript project containing full source of the game.</p>
<p>If you have any feedback or questions, please feel free to write to me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/video-tutorial-balloon-shooter-in-flashpunk-episode-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Tutorial: Balloon Shooter in FlashPunk &#8211; Episode 3</title>
		<link>http://www.hsharma.com/tutorials/video-tutorial-balloon-shooter-in-flashpunk-episode-3/</link>
		<comments>http://www.hsharma.com/tutorials/video-tutorial-balloon-shooter-in-flashpunk-episode-3/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 11:59:40 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[flashpunk]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[punk]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=2232</guid>
		<description><![CDATA[The 3rd episode of the &#8220;Balloon Shooter&#8221; tutorial is up! In this episode, we will add a new type of balloon called &#8220;Bomb&#8221; balloon and randomize the creation of the balloons. We will define the &#8220;type&#8221; property for our entities and detect collision between bullets and balloons. Finally, we will pop the balloons out by [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hsharma.com/tutorials/balloon-shooter-game-in-flashpunk-episode-3-more-interactivity/" target="_blank" rel='nofollow'><img class="alignleft size-full wp-image-2261 border" title="Balloon Shooter in FlashPunk - Episode 3" src="http://www.hsharma.com/wp-content/uploads/2012/01/balloonShooterFlashPunk_ep3_th.jpg" alt="Balloon Shooter in FlashPunk - Episode 3" width="238" height="96" /></a>The <strong><a href="http://www.hsharma.com/tutorials/balloon-shooter-game-in-flashpunk-episode-3-more-interactivity/" target="_blank" rel='nofollow'>3rd episode of the &#8220;Balloon Shooter&#8221; tutorial</a></strong> is up!</p>
<p>In this episode, we will add a new type of balloon called &#8220;Bomb&#8221; balloon and randomize the creation of the balloons. We will define the &#8220;type&#8221; property for our entities and detect collision between bullets and balloons. Finally, we will pop the balloons out by showing proper graphic once collided with the bullet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/video-tutorial-balloon-shooter-in-flashpunk-episode-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Tutorial: Balloon Shooter in FlashPunk &#8211; Episode 2</title>
		<link>http://www.hsharma.com/tutorials/video-tutorial-balloon-shooter-in-flashpunk-episode-2/</link>
		<comments>http://www.hsharma.com/tutorials/video-tutorial-balloon-shooter-in-flashpunk-episode-2/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 18:32:44 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[flashpunk]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[punk]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=2174</guid>
		<description><![CDATA[Alright! The 2nd episode of this tutorial is up &#8211; Creating a Balloon Shooter game using FlashPunk &#8211; Ep2: Creating game objects. In this episode, we will create game objects – Hero, Bullets and Balloons. We will also animate the Hero based on mouse movement, shoot bullets upon mouse click and generate random balloons and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hsharma.com/tutorials/balloon-shooter-game-in-flashpunk-episode-2-creating-game-objects/" target="_blank" rel='nofollow'><img class="alignleft size-full wp-image-2259 border" title="Balloon Shooter in FlashPunk - Episode 2" src="http://www.hsharma.com/wp-content/uploads/2012/01/balloonShooterFlashPunk_ep2_th.jpg" alt="Balloon Shooter in FlashPunk - Episode 2" width="238" height="96" /></a>Alright! The 2nd episode of this tutorial is up &#8211; <strong><a href="http://www.hsharma.com/tutorials/balloon-shooter-game-in-flashpunk-episode-2-creating-game-objects/" target="_blank" rel='nofollow'>Creating a Balloon Shooter game using FlashPunk &#8211; Ep2: Creating game objects</a></strong>.</p>
<p>In this episode, we will create game objects – Hero, Bullets and Balloons. We will also animate the Hero based on mouse movement, shoot bullets upon mouse click and generate random balloons and animate them upwards.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/video-tutorial-balloon-shooter-in-flashpunk-episode-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Tutorial: Balloon Shooter in FlashPunk &#8211; Episode 1</title>
		<link>http://www.hsharma.com/tutorials/video-tutorial-balloon-shooter-in-flashpunk-episode-1/</link>
		<comments>http://www.hsharma.com/tutorials/video-tutorial-balloon-shooter-in-flashpunk-episode-1/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 17:45:45 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[flashpunk]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[punk]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=2151</guid>
		<description><![CDATA[I just published a new basic video tutorial on Creating a Balloon Shooter game using FlashPunk engine. This tutorial is a series of 4 videos/episodes. Please go ahead and view the first episode from the link below. The rest of the 3 are coming up later this week and early next week. This tutorial is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hsharma.com/tutorials/balloon-shooter-game-in-flashpunk-episode-1-setting-up/" target="_blank" rel='nofollow'><img class="alignleft size-full wp-image-2256 border" title="Balloon Shooter in FlashPunk - Episode 1" src="http://www.hsharma.com/wp-content/uploads/2012/01/balloonShooterFlashPunk_ep1_th.jpg" alt="Balloon Shooter in FlashPunk - Episode 1" width="238" height="96" /></a>I just published a new basic video tutorial on <strong><a href="http://www.hsharma.com/tutorials/balloon-shooter-game-in-flashpunk-episode-1-setting-up/" target="_blank" rel='nofollow'>Creating a Balloon Shooter game using FlashPunk</a></strong> engine. This tutorial is a series of 4 videos/episodes. Please go ahead and view the first episode from the link below. The rest of the 3 are coming up later this week and early next week.</p>
<p>This tutorial is targeted towards developers who have knowledge in basic programming and OOP concepts. If you have been an app developer and want to get into game development with basic examples to start with, this is the right place for you. I hope you enjoy learning!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/video-tutorial-balloon-shooter-in-flashpunk-episode-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Facebook Cookbook &#8211; Review</title>
		<link>http://www.hsharma.com/flash/flash-facebook-cookbook-review/</link>
		<comments>http://www.hsharma.com/flash/flash-facebook-cookbook-review/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 13:52:20 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[cookbook]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[flash builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=2046</guid>
		<description><![CDATA[I just received a copy of this recent book &#8211; Flash Facebook Cookbook by James Ford and happened to go through and read much of it. In the process, I found it appropriate to also write a review introducing the book to Flash ActionScript developers. The process of integrating social aspects to our apps and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.packtpub.com/flash-facebook-cookbook-for-graph-api-applications/book" target="_blank" rel='nofollow'><img class="alignleft border" title="Flash Facebook Cookbook" src="http://www.hsharma.com/wp-content/uploads/2011/11/flashFacebookCookbook.jpg" alt="" width="250" height="140" /></a>I just received a copy of this recent book &#8211; <strong><a title="Flash Facebook Cookbook" href="http://www.packtpub.com/flash-facebook-cookbook-for-graph-api-applications/book" target="_blank" rel='nofollow'>Flash Facebook Cookbook</a></strong> by James Ford and happened to go through and read much of it. In the process, I found it appropriate to also write a review introducing the book to Flash ActionScript developers. The process of integrating social aspects to our apps and games has become so critical that I was sure this was a very informative and practical resource for all the Flash developers out there.</p>
<p>The book demands nothing more than knowledge in ActionScript 3 &amp; a little bit of Flex. Having the knowledge of advanced Flex development &amp; Flash Builder would make it much easier to follow the examples. I really like the structure of the book that takes the readers from the basics of setting the environment up to the publishing of your apps with the social features that you desire. I tried some of the examples in the book and I should say it was pretty easy to follow. I think an absolute beginner should be able to figure out the process of logging in/authenticating, reading profile data and posting something to wall in about 2 hours approximately.</p>
<p><img class="alignright border" title="Facebook App Test" src="http://www.hsharma.com/wp-content/uploads/2011/11/facebookAppTest.jpg" alt="" width="350" height="167" />In about an hour of going through this book, I could build a simple app that printed out the percentage of male/female friends the user had. Here is a screenshot of this test application I built. Though the percentage doesn&#8217;t add up to 100 in the screenshot, I am pretty sure it is the privacy settings of some of my friends that has ignored the last 2% in the results <img src='http://www.hsharma.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  or may be I need to investigate a little more.</p>
<p>That apart, building the Test Console was particularly very useful in understanding the results and writing code. I also happened to try this with Flash Professional CS5.5 and obviously seemed not much different from how it is instructed for Flash Builder. I just needed to do a couple of minor tweaks for this.</p>
<p>You will need to download and use the <strong><a href="https://github.com/psyked/facebook-actionscript-api" target="_blank" rel='nofollow'>Facebook ActionScript 3 SDK from GitHub</a></strong> to start with the development.</p>
<p>I would say it is a pretty good resource for people wanting to make their games social. So, I think you should grab a copy of this book right away and start socializing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/flash/flash-facebook-cookbook-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Role &#8211; Gaming Evangelist</title>
		<link>http://www.hsharma.com/news/new-role-gaming-evangelist/</link>
		<comments>http://www.hsharma.com/news/new-role-gaming-evangelist/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 18:09:50 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=2000</guid>
		<description><![CDATA[Finally, my love towards gaming has brought me closer to developing more of it! I am moving into a new role &#8220;Gaming Evangelist&#8221; and from now on, I hope to post content, tutorials, tips, etc. on game development using Flash AS3 &#38; a little bit of HTML 5. With the new awesome features in the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-2005 border" title="Gaming Evangelist" src="http://www.hsharma.com/wp-content/uploads/2011/11/GameEvangelist.png" alt="" width="250" height="250" />Finally, my love towards gaming has brought me closer to developing more of it! I am moving into a new role &#8220;<strong>Gaming Evangelist</strong>&#8221; and from now on, I hope to post content, tutorials, tips, etc. on game development using Flash AS3 &amp; a little bit of HTML 5.</p>
<p>With the new awesome features in the current and future Flash Player just right for gaming, it will be challenging, yet a huge learning curve for me. Through me, I plan to make it equally easy &amp; better for you.</p>
<p>I have had experiences building games in Flash before. Though I have not published most of my work, that&#8217;s exactly what I also plan to do going forward. I am super excited about this new role and I am hoping for a good deal of support from you.</p>
<p>Happy gaming!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/news/new-role-gaming-evangelist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slides: Multiplatform Game Design &amp; Development</title>
		<link>http://www.hsharma.com/games/slides-multiplatform-game-design-development/</link>
		<comments>http://www.hsharma.com/games/slides-multiplatform-game-design-development/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 11:56:45 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[multiplatform]]></category>
		<category><![CDATA[phones]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[Player]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[tablets]]></category>
		<category><![CDATA[User Experience]]></category>
		<category><![CDATA[user interface]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=1994</guid>
		<description><![CDATA[Find the slides from my Mobile Developer Summit 2011 talk on Multiplatform Game Design &#38; Development.]]></description>
			<content:encoded><![CDATA[<p>Find the <strong><a href="http://www.slideshare.net/hemanthsharma/game-development-2011" target="_blank" rel='nofollow'>slides</a></strong> from my <a href="http://www.mobiledevelopersummit.com" target="_blank" rel='nofollow'>Mobile Developer Summit 2011</a> talk on <a href="http://www.developermarch.com/mods/sessions.html#session29" target="_blank" rel='nofollow'>Multiplatform Game Design &amp; Development</a>.</p>
<p style="text-align: center;"><iframe src="http://www.slideshare.net/slideshow/embed_code/10023700" width="550" height="451" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/games/slides-multiplatform-game-design-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speaking at NASSCOM Game Developer Conference 2011</title>
		<link>http://www.hsharma.com/news/speaking-at-nasscom-game-developer-conference-2011/</link>
		<comments>http://www.hsharma.com/news/speaking-at-nasscom-game-developer-conference-2011/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 13:06:57 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[nasscom]]></category>
		<category><![CDATA[NASSCOM GDC 2011]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=1986</guid>
		<description><![CDATA[I will be speaking at the NASSCOM Game Developer Conference 2011 held in Pune on November 11th and 12th. My session title is &#8211; &#8220;Understanding the magical world of Design!&#8220;. I will be speaking about the experience of end users in playing the games you develop. How important are the design concepts right from color, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ngdc.nasscom.in/" target="_blank" rel='nofollow'><img class="alignleft" title="NASSCOM GDC 2011" src="http://www.hsharma.com/_assets/images/presence/nasscom_gdc_2011_nov.png" alt="" width="202" height="92" /></a>I will be speaking at the <strong><a href="http://ngdc.nasscom.in/" target="_blank" rel='nofollow'>NASSCOM Game Developer Conference 2011</a></strong> held in Pune on November 11th and 12th.</p>
<p>My session title is &#8211; &#8220;<strong>Understanding the magical world of Design!</strong>&#8220;. I will be speaking about the experience of end users in playing the games you develop. How important are the design concepts right from color, layout, concept, etc. With a strong belief that Art &amp; Design is independent of the software or technology used, learn how colors influence moods and purposes, layout/composition, elements of user interface, inventing new experiences.</p>
<p>See you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/news/speaking-at-nasscom-game-developer-conference-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speaking at Mobile Developer Summit 2011</title>
		<link>http://www.hsharma.com/news/speaking-at-mobile-developer-summit-2011/</link>
		<comments>http://www.hsharma.com/news/speaking-at-mobile-developer-summit-2011/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 06:34:00 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[summit]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/?p=1979</guid>
		<description><![CDATA[I will be speaking at Mobile Developer Summit 2011 early next month held in Bangalore. The session is entitled &#8211; &#8220;Multi-platform Game Design and Development&#8220;. In this session, along side multi-platform development aspects of Adobe Flash Platform, I will also show how useful Flash Builder is when compiling games and apps for multiple platforms. The [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.developermarch.com/mods/speakers.html#Hemanth_Sharma" target="_blank" rel='nofollow'><img class="alignleft" title="Mobile Developer Summit 2011" src="http://www.hsharma.com/_assets/images/presence/mods_2011_nov.png" alt="" width="202" height="92" /></a>I will be speaking at <strong><a title="Mobile Developer Summit 2011" href="http://www.developermarch.com/mods" target="_blank" rel='nofollow'>Mobile Developer Summit 2011</a></strong> early next month held in Bangalore. The session is entitled &#8211; &#8220;<strong><a title="Multi-platform Game Design and Development" href="http://www.developermarch.com/mods/sessions.html#session29" target="_blank" rel='nofollow'>Multi-platform Game Design and Development</a></strong>&#8220;. In this session, along side multi-platform development aspects of Adobe Flash Platform, I will also show how useful Flash Builder is when compiling games and apps for multiple platforms.</p>
<p>The session will cover the concepts to understand right from the design phase of a game development to the deployment on to different platform devices. Hopefully, I will also compile a game on the stage on to an iPad, iPhone, BlackBerry PlayBook and Samsung Galaxy Tab&#8230; (hopefully). <img src='http://www.hsharma.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>See you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/news/speaking-at-mobile-developer-summit-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Miss you Steve&#8230;</title>
		<link>http://www.hsharma.com/personal/miss-you-steve/</link>
		<comments>http://www.hsharma.com/personal/miss-you-steve/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 06:33:39 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[steve]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1825</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="alignnone size-full wp-image-1826 aligncenter" title="Steve Jobs" src="http://www.hsharma.com/wp-content/uploads/2011/10/steve.png" alt="Miss you Steve..." width="690" height="300" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/personal/miss-you-steve/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adobe MAX Photo Booth 2011</title>
		<link>http://www.hsharma.com/adobe/adobe-max-photo-booth-2011/</link>
		<comments>http://www.hsharma.com/adobe/adobe-max-photo-booth-2011/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 18:27:25 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[booth]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[max]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[snap]]></category>
		<category><![CDATA[stall]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1812</guid>
		<description><![CDATA[Very excited to present Adobe MAX Photo Booth 2011 this year at MAX. It is a slightly improved version of last year&#8217;s photo booth. This year it features more hairstyles, moustaches and funky hats! All the assets were digitally painted by Madhumita Manjunath (New Tint). This is the same Madhumita who worked on all the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hsharma.com/projects/maxphotobooth" target="_blank" rel='nofollow'><img class="alignleft size-full wp-image-1813 border" title="Adobe MAX Photo Booth 2011" src="http://www.hsharma.com/wp-content/uploads/2011/10/maxphotobooth_blogpost.jpg" alt="" width="241" height="125" /></a>Very excited to present <strong><a href="http://www.hsharma.com/projects/maxphotobooth" target="_blank" rel='nofollow'>Adobe MAX Photo Booth 2011</a></strong> this year at MAX. It is a slightly improved version of <a href="http://www.hsharma.com/projects/maxphotobooth2010" target="_blank" rel='nofollow'>last year&#8217;s photo booth</a>. This year it features more hairstyles, moustaches and funky hats!</p>
<p><a title="New Tint" href="http://www.newtint.com" target="_blank" rel='nofollow'><img class="alignright" title="New Tint" src="http://www.hsharma.com/_assets/projects/maxphotobooth/images/newtint_logo.png" alt="" width="165" height="82" /></a></p>
<p>All the assets were digitally painted by <a title="New Tint" href="http://www.newtint.com" target="_blank" rel='nofollow'>Madhumita Manjunath (New Tint)</a>. This is the same Madhumita who worked on all the digital assets for AFPS Photo Booth 2010, MAX Photo Booth 2010 and the upcoming Snap Stall.</p>
<p>This version of the app is a variant of the new &#8220;<strong><a href="http://www.snapstall.in" target="_blank" rel='nofollow'>Snap Stall</a></strong>&#8220;. I am working towards making this available on different market places for tablets and touch smart phones (iOS, Android and BlackBerry PlayBook). Snap Stall will be available very soon on all these market places for free.</p>
<p>You can view the cards customized by MAX 2011 attendees on Flickr and Photoshop.com here: -</p>
<p><strong>Flickr Stream</strong>: - <a href="http://www.flickr.com/photos/adobemaxphotobooth" target="_blank" rel='nofollow'>http://www.flickr.com/photos/adobemaxphotobooth</a></p>
<p><strong>Photoshop.com Stream</strong>: - <a href="http://www.photoshop.com/users/adobemax/albums/36ba83a75f664304b9c14ecde68ebf2f" target="_blank" rel='nofollow'>http://www.photoshop.com/users/adobemax/albums/36ba83a75f664304b9c14ecde68ebf2f</a></p>
<p><strong>For more information on the application</strong>: &#8211; <a href="http://www.hsharma.com/projects/maxphotobooth" target="_blank" rel='nofollow'>MAX Photo Booth project page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/adobe-max-photo-booth-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slides: Top AIR APIs to bring your mobile apps to life</title>
		<link>http://www.hsharma.com/adobe/slides-top-air-apis-to-bring-your-mobile-apps-to-life/</link>
		<comments>http://www.hsharma.com/adobe/slides-top-air-apis-to-bring-your-mobile-apps-to-life/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 13:16:26 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[PlayBook]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1802</guid>
		<description><![CDATA[I have uploaded one of my presentations (Top AIR APIs to bring your mobile applications to life!) from this year&#8217;s Adobe Flash Platform Summit on Slide Share.  Do find the same below: -]]></description>
			<content:encoded><![CDATA[<p>I have uploaded one of my presentations (<strong><a href="http://www.developermarch.com/2011/adobesummit/sessions.html#session2" target="_blank" rel='nofollow'>Top AIR APIs to bring your mobile applications to life!</a></strong>) from this year&#8217;s <a title="Adobe Flash Platform Summit" href="http://www.adobesummit.com" target="_blank" rel='nofollow'>Adobe Flash Platform Summit</a> on Slide Share.  Do find the same below: -</p>
<p style="text-align: center;"><iframe src="http://www.slideshare.net/slideshow/embed_code/8754509" width="550" height="451" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/slides-top-air-apis-to-bring-your-mobile-apps-to-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Flash Platform Summit 2011 Summary</title>
		<link>http://www.hsharma.com/adobe/adobe-flash-platform-summit-2011-summary/</link>
		<comments>http://www.hsharma.com/adobe/adobe-flash-platform-summit-2011-summary/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 08:03:22 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[bangalore]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[summit]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1756</guid>
		<description><![CDATA[I am writing this as we are wrapping Adobe Flash Platform Summit 2011 in Bangalore last week! Awesome 3 day summit it was. We had 30 sessions during the conference and 6 workshops on the last day and some attractions at the event venue that made our community happy. I just want to thank all [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Adobe Flash Platform Summit" href="http://www.adobesummit.com" target="_blank" rel='nofollow'><img class="alignleft size-full wp-image-1768" style="margin: 10px;" title="afps-logo" src="http://www.hsharma.com/wp-content/uploads/2011/07/afps-logo.png" alt="" width="111" height="76" /></a>I am writing this as we are wrapping Adobe Flash Platform Summit 2011 in Bangalore last week! Awesome 3 day summit it was. We had 30 sessions during the conference and 6 workshops on the last day and some attractions at the event venue that made our community happy. <img src='http://www.hsharma.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I just want to thank all the community members, developers &amp; enthusiasts who made AFPS a success this year! Energy was commendable guys. I was truly happy with the interaction I had with a lot of community managers, members, senior developers and newbies.</p>
<p style="text-align: center;"><img class="size-medium wp-image-1760  aligncenter border" title="Keynote by Ben Forta on Day 1" src="http://www.hsharma.com/wp-content/uploads/2011/07/Keynote-1.jpg" alt="" width="600" height="375" /><a href="http://www.hsharma.com/wp-content/uploads/2011/07/Keynote-1.jpg" target="_blank"><br />
</a>Keynote by Ben Forta on Day 1</p>
<p><span id="more-1756"></span>As part of the keynote this year, we also had &#8220;The Ben Forta Show&#8221; arranged, where Ben interviewed people and handed them over a nice coffee mug with his signature. In the process of the interview, the audience did get to see awesome app demoes built in Flex and ActionScript for devices. Among them were applications for RedBus and Perfios. Here are a couple of pictures from the show: -</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1759 border" title="Ben-Forta-Show-1" src="http://www.hsharma.com/wp-content/uploads/2011/07/Ben-Forta-Show-1.jpg" alt="" width="600" height="375" /></p>
<p style="text-align: center;"><img class="size-full wp-image-1774 alignnone border" title="Ben-Forta-Show-2" src="http://www.hsharma.com/wp-content/uploads/2011/07/Ben-Forta-Show-2.jpg" alt="" width="600" height="375" /></p>
<p>This year, we had a &#8220;<strong>Device Wall</strong>&#8221; in our stall apart from the usual demos. This was the wall where people enjoyed to play with a variety of AIR applications installed on the devices.</p>
<p style="text-align: center;"><img class="size-full wp-image-1779 border alignnone" title="Adobe-Stall" src="http://www.hsharma.com/wp-content/uploads/2011/08/Adobe-Stall.jpg" alt="" width="600" height="375" /></p>
<p>Of course, last year&#8217;s &#8220;<strong>Photo Booth</strong>&#8221; was called &#8220;<strong><a href="http://www.snapstall.in" target="_blank" rel='nofollow'>Snap Stall</a></strong>&#8221; this year. Hosted on <a href="http://www.snapstall.in" target="_blank" rel='nofollow'>http://www.snapstall.in</a>, I am planning to take this application ahead with as many props as possible and to as many devices as possible. Look forward to this application in the market places soon. We primarily deployed Snap Stall on 2 BlackBerry PlayBooks in the stall this year. Below are some of the photos of the Snap Stall and its result.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1782 border" title="Snap-Stall-1" src="http://www.hsharma.com/wp-content/uploads/2011/08/Snap-Stall-1.jpg" alt="" width="600" height="375" /></p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1783 border" title="Snap-Stall-2" src="http://www.hsharma.com/wp-content/uploads/2011/08/Snap-Stall-2.jpg" alt="" width="600" height="375" /></p>
<p style="text-align: center;"><a href="http://www.hsharma.com/wp-content/uploads/2011/08/Snap-Stall-Snap.jpg" target="_blank" rel='nofollow'><img class="alignnone size-medium wp-image-1784 border" title="Snap-Stall-Snap" src="http://www.hsharma.com/wp-content/uploads/2011/08/Snap-Stall-Snap-300x141.jpg" alt="" width="300" height="141" /></a></p>
<p>One of the main attractions this year (non-technically) was a wonderful &#8220;Flash Monument&#8221;. This was an awesome Flash Player logo carved in wood of about 5 feet tall standing right in the middle of the venue entrance. The monument drew a lot of attention and a lot of attendees took many many pictures with it. <img src='http://www.hsharma.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  All the guys who attended the event, hope you had fun with the Monument!</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1786 border" title="Flash-Monument-Hemanth" src="http://www.hsharma.com/wp-content/uploads/2011/08/Flash-Monument-Hemanth.jpg" alt="" width="600" height="375" /></p>
<p>We also had a 16&#8242;x6&#8242; poster in the venue that we called &#8220;The Flash Timeline&#8221;. This is where everyone could stick tiny notes with their names/messages on it. The idea was to make a mark on the version of Flash/Flex you started working on.</p>
<p style="text-align: center;"><img class="size-medium wp-image-1789 alignnone border" title="Flash-Timeline-Day-0" src="http://www.hsharma.com/wp-content/uploads/2011/08/Flash-Timeline-Day-0-300x187.jpg" alt="" width="300" height="187" /></p>
<p style="text-align: center;"><img class="size-medium wp-image-1790 alignnone border" title="Flash-Timeline-Day-1-End" src="http://www.hsharma.com/wp-content/uploads/2011/08/Flash-Timeline-Day-1-End.jpg" alt="" width="600" height="375" /></p>
<p style="text-align: center;"><img class="size-medium wp-image-1791 alignnone border" title="Flash-Timeline-Day-2-End" src="http://www.hsharma.com/wp-content/uploads/2011/08/Flash-Timeline-Day-2-End.jpg" alt="" width="600" height="375" /></p>
<p>Hope all those who attended the summit found all the tech sessions/workshops useful. Looking forward to the coming years&#8230; Lastly, though I personally didn&#8217;t get the whole Evangelism team to be present for a group photo with the Flash Monument, We finally managed to do it in front of the Timeline&#8230; Here&#8217;s the photo: -</p>
<p style="text-align: center;"><a href="http://www.hsharma.com/wp-content/uploads/2011/08/Flash-Timeline-with-Team.jpg" target="_blank" rel='nofollow'><img class="alignnone size-full wp-image-1795 border" title="Flash-Timeline-with-Team" src="http://www.hsharma.com/wp-content/uploads/2011/08/Flash-Timeline-with-Team.jpg" alt="" width="600" height="375" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/adobe-flash-platform-summit-2011-summary/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Speaking at BlackBerry PlayBook App Clinic</title>
		<link>http://www.hsharma.com/adobe/speaking-at-blackberry-playbook-app-clinic/</link>
		<comments>http://www.hsharma.com/adobe/speaking-at-blackberry-playbook-app-clinic/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 08:06:11 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[clinic]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[Speaker]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1746</guid>
		<description><![CDATA[This awesome saturday (9th July 2011), I with my team will be speaking at the BlackBerry PlayBook App Clinic at various cities. I will be speaking at the Bangalore Adobe Office. Just get your laptops and the apps you have been working on or just the idea you have in mind! You should definitely attend [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.facebook.com/event.php?eid=187827427940852" target="_blank" rel='nofollow'><img class="alignleft" title="BlackBerry PlayBook App Clinic" src="http://www.hsharma.com/_assets/images/presence/bb_playbook_app_clinic_2011_jul.png" alt="" width="202" height="92" /></a>This awesome saturday (9th July 2011), I with my team will be speaking at the BlackBerry PlayBook App Clinic at various cities. I will be speaking at the Bangalore Adobe Office.</p>
<p><em>Just get your laptops and the apps you have been working on or just the idea you have in mind!</em></p>
<p>You should definitely attend this if -</p>
<ul>
<li>You already have an app/game you have developed/designed and want tips and info on porting it for the PlayBook.</li>
<li>You have a cool idea and want to get started with the design, development, packaging and publishing to the PlayBook.</li>
<li>You worked on AS3 or Flex but want to put your hands on Flash Builder 4.5.1 learning new features specific to PlayBook.</li>
<li>You have built an app and want experts from Adobe and RIM to help you &#8220;while&#8221; porting it to the PlayBook.</li>
<li>You want to attend Adobe Flash Platform Summit 2011 and want to win up to 2 free passes to the full conference (worth Rs. 6000).</li>
<li>You want to also try and win BlackBerry PlayBooks and Smartphones.</li>
</ul>
<p>We will start with the presentation on Flex and AS3 for BlackBerry PlayBook. Make use of this opportunity to clear hurdles in your porting, packaging and signing process for this platform. Experts on the subject from Adobe and RIM will be present in the clinic.</p>
<p>Visit - <a href="http://www.facebook.com/event.php?eid=187827427940852" target="_blank" rel='nofollow'>http://www.facebook.com/event.php?eid=187827427940852</a> to get more information on registering/venue/timing and RSVP now!</p>
<p>See you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/speaking-at-blackberry-playbook-app-clinic/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Speaking at Adobe Flash Platform Summit 2011</title>
		<link>http://www.hsharma.com/adobe/speaking-at-adobe-flash-platform-summit-2011/</link>
		<comments>http://www.hsharma.com/adobe/speaking-at-adobe-flash-platform-summit-2011/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 07:51:16 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[AFPS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[Speaker]]></category>
		<category><![CDATA[summit]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1736</guid>
		<description><![CDATA[I will be speaking on 2 sessions this time at Adobe Flash Platform Summit 2011 held in Bangalore on July 27th &#8211; 29th. Do register for one of the biggest Flash Platform conferences in India. Filled with lots and lots of wonderful technical sessions and awesome set of speakers from Adobe and around the community, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.developermarch.com/adobesummit/speakers.html#hemanth_sharma" rel='nofollow'><img class="alignleft" title="Adobe Flash Platform Summit" src="http://www.hsharma.com/_assets/images/presence/afps_2011_jul.png" alt="Adobe Flash Platform Summit" width="202" height="92" /></a>I will be speaking on 2 sessions this time at <a title="Adobe Flash Platform Summit" href="http://www.adobesummit.com" target="_blank" rel='nofollow'>Adobe Flash Platform Summit 2011</a> held in Bangalore on July 27th &#8211; 29th. Do register for one of the biggest Flash Platform conferences in India. Filled with lots and lots of wonderful technical <a title="Adobe Flash Platform Summit Sessions" href="http://www.developermarch.com/adobesummit/sessions.html" target="_blank" rel='nofollow'>sessions</a> and awesome set of <a title="Adobe Flash Platform Summit Speakers" href="http://www.developermarch.com/adobesummit/speakers.html" target="_blank" rel='nofollow'>speakers</a> from Adobe and around the community, this summit should be a treat for you!</p>
<p>If you have already registered, attending or even speaking at the conference, do share the information by using the <a title="Adobe Flash Platform Summit Banners" href="http://www.developermarch.com/adobesummit/downloads.html" target="_blank" rel='nofollow'>banners available on the site</a>.</p>
<p>Also, come visit Adobe stall at the summit this time for exciting demos and content showcased on various devices! The summit this time will be truly exciting!!!</p>
<p>Here are my session abstracts -</p>
<p><strong>Top AIR APIs to Bring your Mobile Apps to Life</strong></p>
<blockquote><p>Get to know the most important APIs of Adobe AIR 2.6 that give you the expertise you need to build great apps for devices. Simple, yet powerful, APIs that give you access to device in ways which take your mobile apps to the next level. All the way from simple file access to accessing the Microphone, Geolocation, Accelerometer and many more features, this session will cover most of the APIs that are critical and experience booster for your AIR applications for multiple platforms and devices. Also learn the basics of creating multi-device, multiplayer apps and games using P2P and other multi-user interaction classes.</p></blockquote>
<p><strong>Design First Approach &#8211; UI/UX for world domination</strong></p>
<blockquote><p>Did you ever wonder why and how design is important for anything you do? Simply called User Experience sometimes, simply called User Interface sometimes, simply also called &#8220;The Wow Factor&#8221; most of the times, this session talks about the tips and design concepts that need to be kept in mind when you want to make the best design for your apps, games or any content. Yes! There are elements/concepts that indirectly make big differences in the experience of users using your apps. With a strong belief that Art &amp; Design is independent of the software or technology used, learn how colors influence moods and purposes, layout/composition, elements of user interface, inventing new experiences without re-inventing the already familiar UX patterns or conventions. Designers/Developers, learn to design; and everyone else, learn to appreciate Design!</p></blockquote>
<p>See you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/speaking-at-adobe-flash-platform-summit-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slides: Game Design &amp; Development in Flash</title>
		<link>http://www.hsharma.com/adobe/slides-game-design-development-in-flash/</link>
		<comments>http://www.hsharma.com/adobe/slides-game-design-development-in-flash/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 09:11:13 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[summit]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1699</guid>
		<description><![CDATA[Find the presentation slides for my latest presentation during the Great Indian Developer Summit on &#8220;Game Design &#38; Development in Adobe Flash Platform&#8220;.]]></description>
			<content:encoded><![CDATA[<p>Find the presentation slides for my latest presentation during the <a title="Great Indian Developer Summit" href="http://www.developersummit.com" target="_blank" rel='nofollow'>Great Indian Developer Summit</a> on &#8220;<a href="http://www.developermarch.com/developersummit/speakers.html#Hemanth_Sharma" target="_blank" rel='nofollow'>Game Design &amp; Development in Adobe Flash Platform</a>&#8220;.</p>
<p style="text-align: center;"><iframe src="http://www.slideshare.net/slideshow/embed_code/7735597" width="550" height="451" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/slides-game-design-development-in-flash/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Crazy Gems 2 Live on BlackBerry AppWorld</title>
		<link>http://www.hsharma.com/games/crazy-gems-2-live-on-blackberry-appworld/</link>
		<comments>http://www.hsharma.com/games/crazy-gems-2-live-on-blackberry-appworld/#comments</comments>
		<pubDate>Sat, 16 Apr 2011 10:22:29 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[appworld]]></category>
		<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[crazy gems]]></category>
		<category><![CDATA[market]]></category>
		<category><![CDATA[PlayBook]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1690</guid>
		<description><![CDATA[Happy to see Crazy Gems 2 on the BlackBerry AppWorld market place. Hope to see good rating for the same. http://appworld.blackberry.com/webstore/content/30187?lang=en]]></description>
			<content:encoded><![CDATA[<p><a href="http://appworld.blackberry.com/webstore/content/30187?lang=en" target="_blank" rel='nofollow'><img class="alignleft border" title="Crazy Gems 2" src="http://www.hsharma.com/wp-content/uploads/2011/03/packaging_promo.jpg" alt="" width="96" height="96" /></a>Happy to see Crazy Gems 2 on the BlackBerry AppWorld market place.</p>
<p>Hope to see good rating for the same.</p>
<p><a title="Crazy Gems 2 Live on BlackBerry AppWorld" href="http://appworld.blackberry.com/webstore/content/30187?lang=en" target="_blank" rel='nofollow'>http://appworld.blackberry.com/webstore/content/30187?lang=en</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/games/crazy-gems-2-live-on-blackberry-appworld/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speaking at ACM SIGGRAPH &#8211; Elements 2011</title>
		<link>http://www.hsharma.com/adobe/speaking-at-acm-siggraph-elements-2011/</link>
		<comments>http://www.hsharma.com/adobe/speaking-at-acm-siggraph-elements-2011/#comments</comments>
		<pubDate>Sun, 13 Mar 2011 06:13:58 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[ACM]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[SIGGRAPH]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1683</guid>
		<description><![CDATA[I am speaking this month at Elements 2011, the first Bangalore ACM SIGGRAPH conference. This is held at Taj Residency, Bangalore on 25-26th March. My session abstract: - Art and Science of Design &#8220;Do you think all of us who are geeks understand what Design is? Think again. Have you ever found out that Design [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://compute.acmbangalore.org/siggraph.html" target="_blank" rel='nofollow'><img class="alignright" style="margin-left: 5px; margin-right: 5px;" title="ACM SIGGRAPH 2011" src="http://www.hsharma.com/_assets/images/presence/acm_siggraph_2011_mar.png" alt="ACM SIGGRAPH 2011" /></a>I am speaking this month at Elements 2011, the first Bangalore ACM SIGGRAPH conference. This is held at Taj Residency, Bangalore on 25-26th March.</p>
<p>My session abstract: -</p>
<p><strong>Art and Science of Design</strong></p>
<p>&#8220;<em>Do you think all of us who are geeks understand what Design is? Think again. Have you ever found out that Design is subjective? Have you ever thought of appreciating Design from any other perspective than that of yours? Understanding tools, languages, algorithms to create graphics is the Science of Design. Understanding how to create and communicate with graphics in a creative and impressive way is the Art of Design. Communicating with graphics is Visual Communication. Only with the right mixture of Science and Art in our designs can we create magic! In this session, I will cover the theory of colors, layout, visual communication, tools, methods and techniques used in digital art in today&#8217;s world ranging from &#8211; Graphic Design for Web and Print, Digital Painting, Video Editing, Post-production, Audio and a lot more.</em>&#8220;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/speaking-at-acm-siggraph-elements-2011/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Speaking at Great Indian Developer Summit 2011</title>
		<link>http://www.hsharma.com/adobe/speaking-at-great-indian-developer-summit-2011/</link>
		<comments>http://www.hsharma.com/adobe/speaking-at-great-indian-developer-summit-2011/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 12:12:05 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[summit]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1677</guid>
		<description><![CDATA[I will be speaking at the Great Indian Developer Summit 2011 in Bangalore. It is held on April 19-22 in IISC Bangalore. I will be talking about Game Design &#38; Development for Multiple Devices with Adobe Flash Platform Here&#8217;s a detail on my session: - &#8220;Learn the aspects of building multi-screen and multi-form factor games [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.developermarch.com/developersummit/speakers.html#Hemanth_Sharma" target="_blank" rel='nofollow'><img class="alignleft" style="margin-left: 5px; margin-right: 5px;" title="GIDS 2011" src="http://www.hsharma.com/_assets/images/presence/gids_2011_apr.png" alt="GIDS 2011" /></a>I will be speaking at the <a href="http://www.developermarch.com/developersummit" target="_blank" rel='nofollow'>Great Indian Developer Summit 2011</a> in Bangalore. It is held on April 19-22 in IISC Bangalore. I will be talking about <strong><a href="http://www.developermarch.com/developersummit/speakers.html#Hemanth_Sharma" target="_blank" rel='nofollow'>Game Design &amp; Development for Multiple Devices with Adobe Flash Platform</a></strong></p>
<p>Here&#8217;s a detail on my session: -</p>
<p><img class="alignright size-full wp-image-1696" style="border: 0pt none;" title="Badge" src="http://www.hsharma.com/wp-content/uploads/2011/03/hemanth_sharma_1.jpg" alt="" width="82" height="125" />&#8220;<em>Learn the aspects of building multi-screen and multi-form factor games  for various devices ranging from mobiles, tablets to desktop. Also  covered will be the aspects of design/development for web based games  and standalone games for multiple devices. Understand how Adobe Flash  Platform makes it extremely easy for you to build striking games, test  and publish them for many devices.</em>&#8220;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/speaking-at-great-indian-developer-summit-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Easy Steps to Package and Sign AIR Apps for PlayBook</title>
		<link>http://www.hsharma.com/tutorials/10-easy-steps-to-package-and-sign-air-apps-for-playbook/</link>
		<comments>http://www.hsharma.com/tutorials/10-easy-steps-to-package-and-sign-air-apps-for-playbook/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 07:24:35 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[packaging]]></category>
		<category><![CDATA[PlayBook]]></category>
		<category><![CDATA[signing]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1596</guid>
		<description><![CDATA[It has become a little obvious that the packaging, signing and publishing to BlackBerry PlayBook is a little difficult process. Yes, it took me a while to figure out how to do it. Had to browse through a lot of documentation to understand the process. Thought of writing a simpler, straight forward post that will [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-1648 border alignright" style="margin-left: 10px; margin-right: 10px;" title="Packaging for BlackBerry PlayBook" src="http://www.hsharma.com/wp-content/uploads/2011/03/packaging_promo.jpg" alt="Packaging for BlackBerry PlayBook" width="174" height="174" />It has become a little obvious that the packaging, signing and publishing to BlackBerry PlayBook is a little difficult process. Yes, it took me a while to figure out how to do it. Had to browse through a lot of documentation to understand the process.</p>
<p>Thought of writing a simpler, straight forward post that will explain and show how to do the same in easy steps (for those who don&#8217;t want to spend more time understanding every aspect of it).</p>
<p>Assuming the AIR app is built using Flash Professional CS5 (that&#8217;s what I did), I am using command-line tools to get through this process. So, it is also obvious that this process is for pure ActionScript projects.</p>
<p>The screenshots of the Terminal window that you see in this tutorial are the actual screenshots I took. I wrote this tutorial first and then followed the commands I have mentioned myself and took the screenshots. I also didn&#8217;t get any errors following this. So, I am pretty sure this process works. <img src='http://www.hsharma.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-1596"></span></p>
<h2>Publish the SWF file</h2>
<p>First, have the .SWF file published.</p>
<hr />
<h2>Have the resources ready</h2>
<p>Now, you will need 4 files to create a nice package: -</p>
<ol>
<li>Application Descriptor XML (game-app.xml)</li>
<li>Icon file that goes on the tablet&#8217;s applications screen (icon.png)</li>
<li>A splash screen PNG file that appears before the actual swf is executed in the tablet (splash.png)</li>
<li>Icon and Splash screen mentioned in an XML (blackberry-tablet.xml)</li>
</ol>
<hr />
<h2>Step 1: Download and install the SDK</h2>
<p>Download and install the BlackBerry Tablet OS SDK for Adobe AIR from &#8211; <a href="http://us.blackberry.com/developers/tablet/adobe.jsp" target="_blank" rel='nofollow'>http://us.blackberry.com/developers/tablet/adobe.jsp</a></p>
<p>I have not covered the installation, setup and execution of the simulator in this post. Therefore, I will just mention the steps required to install the SDK, create package and sign the package. The link to download the SDK should be similar to the image below for your respective platforms: -</p>
<p style="text-align: center;"><a href="http://us.blackberry.com/developers/tablet/adobe.jsp" rel='nofollow'><img class="size-full wp-image-1597 aligncenter" title="Download BlackBerry Tablet OS SDK" src="http://www.hsharma.com/wp-content/uploads/2011/03/download_sdk.jpg" alt="Download BlackBerry Tablet OS SDK" width="602" height="63" /></a></p>
<p>Installing the SDK should dump the SDK into a folder name similar to &#8211; &#8220;blackberry-tablet-sdk-0.9.3&#8243;. These are the folder contents: -</p>
<p style="text-align: center;"><img class="size-full wp-image-1598 aligncenter border" title="SDK Installed Folder" src="http://www.hsharma.com/wp-content/uploads/2011/03/sdk_folder.jpg" alt="SDK Installed Folder" width="421" height="330" /></p>
<hr />
<h2>Step 2: Just before packaging</h2>
<p>This is how my directory looks before I start packaging. It contains the resources mentioned in Step 1 and the downloaded SDK.</p>
<p style="text-align: center;"><img class="size-full wp-image-1602 border aligncenter" title="Folder before packaging" src="http://www.hsharma.com/wp-content/uploads/2011/03/package_folder.jpg" alt="Folder before packaging" width="214" height="115" /></p>
<hr />
<h2>Step 3: Create the blackberry-tablet.xml</h2>
<p>This XML file contains the icon and splash screen that need to appear on your tablet&#8217;s applications screen and just before opening the application respectively. Below is the screenshot that shows the appeared icon_86.png and crazygems-splash.jpg used in blackberry-tablet.xml: -</p>
<p style="text-align: center;"><a href="http://www.hsharma.com/wp-content/uploads/2011/03/icon_and_splash.jpg" target="_blank" rel='nofollow'><img class="size-medium wp-image-1603 aligncenter border" title="Icon and Splash" src="http://www.hsharma.com/wp-content/uploads/2011/03/icon_and_splash-300x175.jpg" alt="Icon and Splash" width="300" height="175" /></a></p>
<pre class="brush: xml; wrap-lines: false;">&lt;qnx&gt;
  &lt;initialWindow&gt;
    &lt;systemChrome&gt;none&lt;/systemChrome&gt;
    &lt;transparent&gt;false&lt;/transparent&gt;
  &lt;/initialWindow&gt;
  &lt;publisher&gt;hsharma.com&lt;/publisher&gt;
  &lt;category&gt;core.games&lt;/category&gt;
  &lt;icon&gt;
    &lt;image&gt;Icon_86.png&lt;/image&gt;
  &lt;/icon&gt;
  &lt;splashscreen&gt;crazygems-splash.jpg&lt;/splashscreen&gt;
&lt;/qnx&gt;</pre>
<hr />
<h2>Step 4: Create the Application Descriptor XML (CrazyGems-app.xml)</h2>
<p>This is by default generated by Flash Pro when your publish settings is set to AIR 2.5. I have made minor changes that restrict the orientation to landscape only.</p>
<pre class="brush: xml; wrap-lines: false;">&lt;?xml version="1.0" encoding="utf-8" standalone="yes"?&gt;
&lt;application xmlns="http://ns.adobe.com/air/application/2.5"&gt;
    &lt;id&gt;com.hsharma.crazygems2&lt;/id&gt;
    &lt;versionNumber&gt;2.1.0&lt;/versionNumber&gt;
    &lt;filename&gt;Crazy Gems 2&lt;/filename&gt;
    &lt;description&gt;Crazy Gems 2.1&lt;/description&gt;
    &lt;name&gt;Crazy Gems 2&lt;/name&gt;
    &lt;copyright&gt;http://www.hsharma.com/projects/crazygems2&lt;/copyright&gt;
    &lt;initialWindow&gt;
        &lt;content&gt;CrazyGems.swf&lt;/content&gt;
        &lt;systemChrome&gt;standard&lt;/systemChrome&gt;
        &lt;transparent&gt;false&lt;/transparent&gt;
        &lt;visible&gt;true&lt;/visible&gt;
        &lt;fullScreen&gt;false&lt;/fullScreen&gt;
        &lt;autoOrients&gt;false&lt;/autoOrients&gt;
        &lt;aspectRatio&gt;landscape&lt;/aspectRatio&gt;
        &lt;renderMode&gt;auto&lt;/renderMode&gt;
        &lt;maximizable&gt;false&lt;/maximizable&gt;
        &lt;minimizable&gt;true&lt;/minimizable&gt;
        &lt;resizable&gt;false&lt;/resizable&gt;
    &lt;/initialWindow&gt;
    &lt;customUpdateUI&gt;false&lt;/customUpdateUI&gt;
    &lt;allowBrowserInvocation&gt;false&lt;/allowBrowserInvocation&gt;
&lt;/application&gt;</pre>
<hr />
<h2>Step 5: Create the .bar package</h2>
<p>This is the simple command that is used to package the .swf and other resources into .bar. <em><strong>Note:</strong></em> The packaging and signing tools are in the subfolder &#8220;bin&#8221; under the SDK folder.</p>
<p style="text-align: left;"><code><strong><span style="color: #0000ff;">blackberry-airpackager</span></strong> -package <span style="color: #ff0000;">DesiredPackageName.bar game-app.xml <span style="color: #000000;">blackberry-tablet.xml</span> GameOrApp.swf IconFile86x86.png AllOtherFilesRequiredByYourSwf SplashScreen.png</span></code></p>
<p>Note that all the text in red needs to be replaced with the files that you prepared in Step 1. SplashScreen.png and IconFile86x86.png refers to the files included in the blackberry-tablet.xml file in Step 3.</p>
<p><code><span style="color: #ff0000;">AllOtherFilesRequiredByYourSwf</span></code> parameter in the above command is where we need to specify all files that are required by the app .swf in runtime. These filenames should be separated by spaces. Also, don&#8217;t forget to copy the files in the same folder as .swf.</p>
<p>Now, using this command to actually package my game, looks like this: -</p>
<p style="text-align: left;"><code><span style="color: #0000ff;"><strong>blackberry-airpackager</strong></span> -package CrazyGems2.bar CrazyGems-app.xml blackberry-tablet.xml CrazyGems.swf Icon_86.png crazygems-splash.jpg</code></p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1636 alignnone" title="Command: Create .bar package" src="http://www.hsharma.com/wp-content/uploads/2011/03/comm_1_package.jpg" alt="Command: Create .bar package" width="615" height="172" /></p>
<p>This generates the desired CrazyGems2.bar file.</p>
<p>I have ignored -launchApp, -installApp and -device and -password parameters of command-line as they are for running and testing the app on the PlayBook or simulator.</p>
<hr />
<h2>Step 6: Preparing for signing</h2>
<p>To sign your package, you will need a signing key from BlackBerry. You can request for the same from <a href="https://www.blackberry.com/SignedKeys/" target="_blank" rel='nofollow'>https://www.blackberry.com/SignedKeys/</a>.</p>
<p><span style="text-decoration: underline;">In this process, please keep in mind that the PIN you enter in the field shown below is extremely important. Do not forget this. Also, note that this PIN allows alpha-numeric characters. The catch is, the alphabets used will be forced to small-case.</span></p>
<p style="text-align: center;"><a href="https://www.blackberry.com/SignedKeys/" target="_blank" rel='nofollow'><img class="alignnone size-full wp-image-1616 border aligncenter" title="PIN" src="http://www.hsharma.com/wp-content/uploads/2011/03/csj_pin.jpg" alt="PIN" width="425" height="151" /></a></p>
<p>You will receive a .CSJ file in a couple of days from BlackBerry.</p>
<hr />
<h2>Step 7: Creating the CSK file</h2>
<p>Once you receive the .CSJ file and you are ready to sign, you will need to open Command Prompt (Windows) or Terminal (Mac).</p>
<p>Make sure you change directory to the one where your SDK is copied. Enter the following command to create a .csk file: -</p>
<p style="text-align: left;"><code><span style="color: #0000ff;"><strong>blackberry-signer</strong></span> -csksetup -cskpass <span style="color: #ff0000;">DesiredCSKPassword</span></code></p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1633 aligncenter" title="Command: Create .csk file" src="http://www.hsharma.com/wp-content/uploads/2011/03/comm_3_csk_create.jpg" alt="Command: Create .csk file" width="615" height="172" /></p>
<p style="text-align: left;">Again, text in red is what you need to fill in with your information. Enter the desired password for csk file. This password will be used in just a bit. Also, the file created won&#8217;t be in the same folder. This is created in -</p>
<p style="text-align: left;"><strong>Mac: </strong></p>
<p style="text-align: left;"><code>~/user/Library/Research In Motion/barsigner.csk</code></p>
<p style="text-align: left;"><strong>Win:</strong></p>
<p style="text-align: left;"><code>\Document and Settings\&lt;name&gt;\Local Settings\Application Data\Research In Motion\barsigner.csk</code></p>
<p style="text-align: left;">or</p>
<p style="text-align: left;"><code>\Users\Youraccount\AppData\Local\Research In Motion\barsigner.csk</code></p>
<p><strong>Deleting the CSK (just in case)</strong></p>
<p>If you have already created a .csk and want to delete it, use the command below: -</p>
<p style="text-align: left;"><code><span style="color: #0000ff;"><strong>blackberry-signer</strong></span> -cskdelete</code></p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1628 alignnone" title="Command: Delete .csk file" src="http://www.hsharma.com/wp-content/uploads/2011/03/comm_2_csk_delete.jpg" alt="Command: Delete .csk file" width="615" height="172" /></p>
<hr />
<h2>Step 8: Register with RIM Server</h2>
<p>Now, you need to register with RIM Server using the .csj file. Run the following command: -</p>
<p style="text-align: left;"><code><span style="color: #0000ff;"><strong>blackberry-signer</strong></span> -register -csjpin <span style="color: #ff0000;">PinYouEnteredWhileRequestingCSJ</span> -cskpass <span style="color: #ff0000;">PasswordYouEnteredWhileGeneratingCSK client-RDK-XXXXXXXXXX.csj</span></code></p>
<p><code><span style="color: #ff0000;">PinYouEnteredWhileRegisteringCSJ</span></code> &#8211; is the one you entered by choice in Step 6.</p>
<p><code><span style="color: #ff0000;">PasswordYouEnteredWhileGeneratingCSK</span></code> &#8211; is the one you entered by choice in Step 7.</p>
<p>Once you submit, you should see the response &#8211; &#8220;Successfully registered with server.&#8221;</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1638 alignnone" title="Command: Register with RIM" src="http://www.hsharma.com/wp-content/uploads/2011/03/comm_4_register_rim.jpg" alt="Command: Register with RIM" width="615" height="172" /></p>
<p>Once you get this message, you should also have received a confirmation email from &#8220;websigner@ws-smtp.rim.net&#8221; with the subject &#8220;Successful Registration Request for Client &#8217;1279793156&#8242;&#8221;.</p>
<hr />
<h2>Step 9: Create the .p12 Certificate</h2>
<p>Once you have registered with RIM server, you can generate the .p12 certificate required to sign your .bar file package. <img src='http://www.hsharma.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Finally&#8230; eh? Not yet actually&#8230; Signing in next step. <img src='http://www.hsharma.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p style="text-align: left;"><code><strong><span style="color: #0000ff;">blackberry-keytool</span></strong> -genkeypair -keystore <span style="color: #ff0000;">DesiredCertificateName.p12</span> -storepass <span style="color: #ff0000;"> NewPassword</span> -dname "cn=<span style="color: #ff0000;">YourCompanyName</span>" -alias author</code></p>
<p>Make sure you modify only the red text in the above command.</p>
<p><code><span style="color: #ff0000;">YourCompanyName</span></code> can contain spaces and full-stop. But not comma.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1640 alignnone" title="Command: Create p12 Certificate" src="http://www.hsharma.com/wp-content/uploads/2011/03/comm_5_p12_create.jpg" alt="Command: Create p12 Certificate" width="615" height="172" /></p>
<hr />
<h2>Step 10: Sign the package with the .p12 Certificate</h2>
<p>Finally, we are now ready to sign the package we created in Step 7. Note that you will need to sign the .bar file twice. Once from RIM and once from you as an author.</p>
<p>Use the below command to sign the .bar file first time: -</p>
<p style="text-align: left;"><code><strong><span style="color: #0000ff;">blackberry-signer</span></strong> -verbose -cskpass <span style="color: #ff0000;">CSKPassword</span> -keystore <span style="color: #ff0000;">CertificateName.p12</span> -storepass <span style="color: #ff0000;">StorePassword BarFileNameForRIMToSign.bar</span> RDK</code></p>
<p><code><span style="color: #ff0000;">CSKPassword</span></code> &#8211; from Step 7.</p>
<p><code><span style="color: #ff0000;">CertificateName</span></code> &#8211; from Step 9.</p>
<p><code><span style="color: #ff0000;">StorePassword</span></code> &#8211; This is the <code><span style="color: #ff0000;">NewPassword</span></code> from Step 9.</p>
<p><code><span style="color: #ff0000;">BarFileNameForRIMToSign.bar</span></code> &#8211; The .bar file created in Step 5.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1644 alignnone" title="Command: Sign .bar file by RIM" src="http://www.hsharma.com/wp-content/uploads/2011/03/comm_6_sign_rim.jpg" alt="Command: Sign .bar file by RIM" /></p>
<p>Now, sign the already signed file. The first time you signed, was from RIM. Now you sign from the author&#8217;s (your) side.</p>
<p style="text-align: left;"><code><span style="color: #0000ff;"><strong>blackberry-signer</strong></span> -keystore <span style="color: #ff0000;">CertificateName.p12</span> -storepass <span style="color: #ff0000;">StorePassword RimSignedBarFile.bar</span> author</code></p>
<p><code><span style="color: #ff0000;">CertificateName</span></code> &#8211; from Step 9.</p>
<p><code><span style="color: #ff0000;">StorePassword</span></code> &#8211; This is the <code><span style="color: #ff0000;">NewPassword</span></code> from Step 9.</p>
<p><code><span style="color: #ff0000;">RimSignedBarFile.bar</span></code> &#8211; The .bar file created in Step 5 and signed in Step 10 in previous command.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1646 alignnone" title="Command: Sign .bar file by author" src="http://www.hsharma.com/wp-content/uploads/2011/03/comm_7_sign_author.jpg" alt="Command: Sign .bar file by author" width="615" height="172" /></p>
<p>This signs the .bar file again.</p>
<hr />
<h2>Conclusion</h2>
<p>So, here you go. You should have a final .bar file that is ready to be published on the <strong><a href="https://appworld.blackberry.com/isvportal/" target="_blank" rel='nofollow'>BlackBerry App World</a></strong>. Please do write back if you find issues. I will try my best to point you to a possible solution or place where you can find one&#8230; <img src='http://www.hsharma.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Happy packaging!</p>
<hr />
<h2>UPDATE:</h2>
<p>If you get an error &#8220;Code signing request failed because this file has been previously signed.&#8221; when you try to sign a new package (probably not a major change) with same name and version for your app, change the &lt;versionNumber&gt;x.y.z&lt;/versionNumber&gt; tag (line 4) in Step 4. Good idea to increment &#8220;z&#8221; in the version (revision version). Then try to repackage and it should work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/10-easy-steps-to-package-and-sign-air-apps-for-playbook/feed/</wfw:commentRss>
		<slash:comments>66</slash:comments>
		</item>
		<item>
		<title>Creating Virtual Joystick for Touch Devices</title>
		<link>http://www.hsharma.com/tutorials/creating-virtual-joystick-for-touch-devices/</link>
		<comments>http://www.hsharma.com/tutorials/creating-virtual-joystick-for-touch-devices/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 13:04:56 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[devices]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[Joystick]]></category>
		<category><![CDATA[multiscreen]]></category>
		<category><![CDATA[touch]]></category>
		<category><![CDATA[Virtual]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1586</guid>
		<description><![CDATA[A tutorial I wrote on &#8220;Creating Virtual Joystick for Touch Devices&#8221; is now published on ActiveTuts+. A lot of Tablet Computers and Touch Screen devices have emerged, and it’s time to create games that have virtual joystick support on the screen for easier gameplay. Read on and discover how you can create a virtual joystick [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://active.tutsplus.com/tutorials/mobile/creating-a-virtual-joystick-for-touch-devices/" target="_blank" rel='nofollow'><img class="size-full wp-image-1587 alignleft border" title="Virtual Joystick" src="http://www.hsharma.com/wp-content/uploads/2011/02/VirtualJoystick_preview.png" alt="Virtual Joystick" width="200" height="200" /></a>A tutorial I wrote on &#8220;<a href="http://active.tutsplus.com/tutorials/mobile/creating-a-virtual-joystick-for-touch-devices/" target="_blank" rel='nofollow'>Creating Virtual Joystick for Touch Devices</a>&#8221; is now published on ActiveTuts+.</p>
<p>A lot of Tablet Computers and Touch Screen devices have emerged, and it’s time to create games that have virtual joystick support on the screen for easier gameplay. Read on and discover how you can create a virtual joystick for your games on touch enabled devices.</p>
<p>This tutorial will take you through the basics of setting up your environment and writing code for a character that moves according to the way Joystick is operated. Don&#8217;t forget to leave your comments or shoot a mail to me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/creating-virtual-joystick-for-touch-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gaming Xpress article on my NASSCOM session</title>
		<link>http://www.hsharma.com/news/gaming-xpress-article-on-my-nasscom-session/</link>
		<comments>http://www.hsharma.com/news/gaming-xpress-article-on-my-nasscom-session/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 04:12:48 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[platform]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1548</guid>
		<description><![CDATA[Gaming Xpress publishes an article on my session &#8220;Adobe Flash Platform for Game Design and Development&#8221; from NASSCOM Animation and Gaming Conclave 2010 held at Hyderabad, India. Here is an extract from the article - When designing for multiple platforms like mobiles, PC, Net books, etc. there are a few common challenges that all developers [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gamingxpress.com/" target="_blank" rel='nofollow'>Gaming Xpress</a> publishes an <strong><a href="http://www.gamingxpress.com/newsitem/items/flash-platform-for-game-design-development-by-hemant-sharma-6761.html" target="_blank" rel='nofollow'>article on my session</a></strong> &#8220;Adobe Flash Platform for Game Design and Development&#8221; from <a href="http://www.nasscom.in/nasscom/templates/flagshipEvents.aspx?id=60103" target="_blank" rel='nofollow'>NASSCOM Animation and Gaming Conclave 2010</a> held at Hyderabad, India.</p>
<p>Here is an extract from the article -</p>
<p style="text-align: center;"><a href="http://www.gamingxpress.com/newsitem/items/flash-platform-for-game-design-development-by-hemant-sharma-6761.html" rel='nofollow'><img class="alignnone size-full wp-image-1549" title="NASSCOM - Hemanth Sharma" src="http://www.hsharma.com/wp-content/uploads/2010/11/nasscom-hemant010.jpg" alt="NASSCOM - Hemanth Sharma" width="590" height="159" /></a></p>
<blockquote><p><em>When designing for multiple platforms like mobiles, PC, Net books,                etc. there are a few common challenges that all developers face.                These include scaling the game to the respective screen size, performance                issues, device capability (touch screen, accelerometer, keyboard,                GPS etc.).</em></p>
<p><em>Advising on the using the prospect to the fullest, Hemanth says,                &#8220;Developers should keep in mind that developing for multi-screen                will always give you more users and it is a better way to monetize.                Handhelds, tablets and PC&#8217;s are three main multi-screen devices.                And as a lot of companies are shortly going to introduce android                tablet PC&#8217;s, developers should make maximum use of this opportunity                to push their content on these platforms&#8221;.</em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/news/gaming-xpress-article-on-my-nasscom-session/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speaking at NASSCOM Game Developer Summit 2010</title>
		<link>http://www.hsharma.com/adobe/speaking-at-nasscom-game-developer-summit-2010/</link>
		<comments>http://www.hsharma.com/adobe/speaking-at-nasscom-game-developer-summit-2010/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 11:08:09 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[summit]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1539</guid>
		<description><![CDATA[I will be speaking at NASSCOM Game Developer Summit 2010 during the Animation and Gaming Conclave 2010 in Hyderabad. The conferences are on 12th and 13th of November. I will be speaking about how Adobe Flash Platform&#8217;s new features can be made use of to build amazing games and content. Understand the optimizations that need [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nasscom.in/nasscom/templates/flagshipEvents.aspx?id=60103" target="_blank" rel='nofollow'><img class="alignleft" title="NASSCOM Game Developer Summit 2010" src="http://www.hsharma.com/_assets/images/presence/nasscom_gamedev_2010_nov.png" alt="NASSCOM Game Developer Summit 2010" /></a>I will be speaking at <a href="http://www.nasscom.in/nasscom/templates/flagshipEvents.aspx?id=60103" target="_blank" rel='nofollow'>NASSCOM Game Developer Summit 2010</a> during the Animation and Gaming Conclave 2010 in Hyderabad. The conferences are on 12th and 13th of November.</p>
<p>I will be speaking about how Adobe Flash Platform&#8217;s new features can be made use of to build amazing games and content.</p>
<p>Understand the optimizations that need to go into your content to make it run on Netbooks, Desktops, Mobiles and the Web!</p>
<p>See you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/speaking-at-nasscom-game-developer-summit-2010/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Adobe MAX Photo Booth</title>
		<link>http://www.hsharma.com/adobe/adobe-max-photo-booth/</link>
		<comments>http://www.hsharma.com/adobe/adobe-max-photo-booth/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 06:37:03 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[cs5]]></category>
		<category><![CDATA[max]]></category>
		<category><![CDATA[photo booth]]></category>
		<category><![CDATA[Player]]></category>
		<category><![CDATA[professional]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1524</guid>
		<description><![CDATA[A little while ago, during the Adobe Summit, India, I presented you with Photobooth that was created in Flash. The improvised and enhanced version is now grown so much, I am more than happy to present Adobe MAX Photo Booth. This year Adobe MAX is featuring Photo Booth on the Community Pavilion exhibit floor. With [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hsharma.com/projects/maxphotobooth" target="_blank" rel='nofollow'><img class="alignleft size-full wp-image-1525 border" title="MAX Photo Booth" src="http://www.hsharma.com/wp-content/uploads/2010/10/maxphotobooth_small.jpg" alt="MAX Photo Booth" /></a>A little while ago, during the Adobe Summit, India, I presented you with Photobooth that was created in Flash. The improvised and enhanced version is now grown so much, I am more than happy to present Adobe MAX Photo Booth.</p>
<p>This year Adobe MAX is featuring Photo Booth on the Community  Pavilion exhibit floor. With four locations to choose from, MAX  attendees can step right up and use augmented reality markers to kick  off an application that allows them to place themselves inside MAXtopia  with their favorite logo and some quirky props to create a unique  souvenir.</p>
<p>Customize your <span style="text-decoration: underline;">Adobe MAX Photo Booth Card</span> with different  product logos, funky hair styles, product branded caps, finally sharing  it with the world on Flickr, Twitter, Photoshop.com and also through  email.</p>
<p>MAX  Photo Booth is a multi-touch AIR application built in AS3 using Flash  Professional CS5 and Flash Builder 4.</p>
<p>Do visit the <a href="http://www.hsharma.com/projects/maxphotobooth" target="_blank" rel='nofollow'><strong>Adobe MAX Photo Booth project page</strong></a> for more details, screenshots, video and more&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/adobe-max-photo-booth/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Speaking at IndicThreads Mobile Dev Conference</title>
		<link>http://www.hsharma.com/news/speaking-at-indicthreads-mobile-dev-conference/</link>
		<comments>http://www.hsharma.com/news/speaking-at-indicthreads-mobile-dev-conference/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 05:26:43 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[platform]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1519</guid>
		<description><![CDATA[I will be speaking at the Mobile Application Developer Conference held by IndicThreads.com, in Pune, on 19th and 20th Nov, 2010. Here is a brief on my session: - Adobe Flash Platform for Mobile Development &#8220;Write one code, ActionScript, and publish your application to multiple mobile devices, web, and desktops. Learn the aspects of multiscreen [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://m10.indicthreads.com/147/adobe-flash-platform-for-mobile-development/" target="_blank" rel='nofollow'><img class="alignleft" title="IndicThreads.com" src="http://www.hsharma.com/_assets/images/presence/indicthreads_mobile_2010_nov.png" alt="IndicThreads.com" /></a>I will be speaking at the <strong>Mobile Application Developer Conference</strong> held by <strong>IndicThreads.com</strong>, in <strong><span style="text-decoration: underline;">Pune, on 19th and 20th Nov, 2010</span></strong>. Here is a brief on my session: -</p>
<p><strong>Adobe Flash Platform for Mobile Development</strong></p>
<p><em>&#8220;Write one code, ActionScript, and publish your application to multiple mobile devices, web, and desktops. Learn the aspects of multiscreen coding using Adobe Flex, Flash Builder, Flash Professional and emulate your content in Adobe Device Central. This session will cover ActionScript coding &amp; designing for multi-screen and deployment across multiple devices making use of device specific features such as accelerometer, multitouch gestures, geolocation, etc..&#8221;</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/news/speaking-at-indicthreads-mobile-dev-conference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crazy Gems: Download for Android</title>
		<link>http://www.hsharma.com/games/crazy-gems-download-for-android/</link>
		<comments>http://www.hsharma.com/games/crazy-gems-download-for-android/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 06:13:00 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[game]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1498</guid>
		<description><![CDATA[The Android (AIR) version of Crazy Gems 2 is available for download. It uses a self-signed certificate as of now and you may download it for free from Crazy Gems 2 project page. Do not forget to install AIR for Android from Adobe Labs before you install the game. A specific requirement would be to [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://labs.adobe.com/technologies/air2/android/" target="_blank" rel='nofollow'>Android (AIR)</a> version of Crazy Gems 2 is available for download. It uses a self-signed certificate as of now and you may download it for free from <strong><a href="http://www.hsharma.com/projects/crazygems2" rel='nofollow'>Crazy Gems 2</a></strong> project page. Do not forget to install AIR for Android from Adobe Labs before you install the game.</p>
<p>A specific requirement would be to have Froyo (Android 2.2) on your phone before you install the runtime. If you need the runtime on your phone, do sign up for the <a href="http://labs.adobe.com/technologies/air2/android/" target="_blank" rel='nofollow'><strong>AIR for Android Prerelease Program</strong></a>. Hope you enjoy playing the game on your phone.</p>
<p><strong>New Feature</strong>: &#8211; This version uses Accelerometer of your device for the game play.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/games/crazy-gems-download-for-android/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Slides: Multiscreen Experiences with Flash Platform</title>
		<link>http://www.hsharma.com/adobe/slides-multiscreen-experiences-with-flash-platform/</link>
		<comments>http://www.hsharma.com/adobe/slides-multiscreen-experiences-with-flash-platform/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 10:18:19 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[cs5]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[multi]]></category>
		<category><![CDATA[multiscreen]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[Player]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[touch]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1495</guid>
		<description><![CDATA[Find the presentation slides for my latest presentation during the Adobe Flash Platform Summit 2010 &#8211; &#8220;Design &#38; Develop Multiscreen Experiences with Adobe Flash Platform&#8220;. 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_ssplayer2_840229469"
			class="flashmovie"
			width="425"
			height="355">
	<param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=multiscreen-100831042545-phpapp02&#38;stripped_title=multiscreen-with-flash-platform&#38;userName=hemanthsharma" />
	<param name="allowscriptaccess" value="always" />
	<param name="allowfullscreen" value="true" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=multiscreen-100831042545-phpapp02&#38;stripped_title=multiscreen-with-flash-platform&#38;userName=hemanthsharma"
			name="fm_ssplayer2_840229469"
			width="425"
			height="355">
		<param name="allowscriptaccess" value="always" />
		<param name="allowfullscreen" value="true" />
	<!--<![endif]-->
		 .]]></description>
			<content:encoded><![CDATA[<p>Find the presentation slides for my latest presentation during the <strong><a href="http://www.adobesummit.com" target="_blank" rel='nofollow'>Adobe Flash Platform Summit</a></strong> 2010 &#8211; &#8220;<strong><a href="http://www.developermarch.com/adobesummit/sessions.html#session9" target="_blank" rel='nofollow'>Design &amp; Develop Multiscreen Experiences with Adobe Flash Platform</a></strong>&#8220;.</p>
<p style="text-align: center;">[kml_flashembed   movie="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=multiscreen-100831042545-phpapp02&amp;stripped_title=multiscreen-with-flash-platform&amp;userName=hemanthsharma" height="355" width="425" allowfullscreen="true"   allowscriptaccess="always" /]</p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/slides-multiscreen-experiences-with-flash-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Summit: Multitouch Photo Booth</title>
		<link>http://www.hsharma.com/adobe/adobe-summit-multitouch-photo-booth/</link>
		<comments>http://www.hsharma.com/adobe/adobe-summit-multitouch-photo-booth/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 15:59:37 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[booth]]></category>
		<category><![CDATA[multi]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[summit]]></category>
		<category><![CDATA[touch]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1480</guid>
		<description><![CDATA[Below are some of the pictures of the Multitouch Photo Booth we arranged during Adobe Flash Platform Summit. There was an overwhelming amount of 500+ pictures taken on both days.]]></description>
			<content:encoded><![CDATA[<p>Below are some of the pictures of the Multitouch Photo Booth we arranged during Adobe Flash Platform Summit. There was an overwhelming amount of <strong>500+</strong> pictures taken on both days.</p>
<p style="text-align: center;"><a href="http://www.hsharma.com/wp-content/uploads/2010/08/photobooth.jpg" target="_blank" rel='nofollow'><img class="alignnone size-thumbnail wp-image-1483" title="Multitouch Photo Booth" src="http://www.hsharma.com/wp-content/uploads/2010/08/photobooth-150x150.jpg" alt="Multitouch Photo Booth" width="150" height="150" /></a> <a href="http://www.hsharma.com/wp-content/uploads/2010/08/photobooth_ben.jpg" target="_blank" rel='nofollow'><img class="alignnone size-thumbnail wp-image-1484" title="Multitouch Photobooth - Ben Forta and Hemanth Sharma" src="http://www.hsharma.com/wp-content/uploads/2010/08/photobooth_ben-150x150.jpg" alt="Multitouch Photobooth - Ben Forta and Hemanth Sharma" width="150" height="150" /></a> <a href="http://www.hsharma.com/wp-content/uploads/2010/08/photobooth_queue.jpg" target="_blank" rel='nofollow'><img class="alignnone size-thumbnail wp-image-1485" title="Multitouch Photo Booth" src="http://www.hsharma.com/wp-content/uploads/2010/08/photobooth_queue-150x150.jpg" alt="Multitouch Photo Booth" width="150" height="150" /></a></p>
<p style="text-align: center;"><a href="http://www.hsharma.com/wp-content/uploads/2010/08/photobooth_crowd1.jpg" target="_blank" rel='nofollow'><img class="alignnone size-thumbnail wp-image-1486" title="Crowd around Photo Booth" src="http://www.hsharma.com/wp-content/uploads/2010/08/photobooth_crowd1-150x150.jpg" alt="Crowd around Photo Booth" width="150" height="150" /></a> <a href="http://www.hsharma.com/wp-content/uploads/2010/08/photobooth_crowd2.jpg" target="_blank" rel='nofollow'><img class="alignnone size-thumbnail wp-image-1487" title="Crowd around Photo Booth" src="http://www.hsharma.com/wp-content/uploads/2010/08/photobooth_crowd2-150x150.jpg" alt="Crowd around Photo Booth" width="150" height="150" /></a> <a href="http://www.hsharma.com/wp-content/uploads/2010/08/photobooth_crowd3.jpg" target="_blank" rel='nofollow'><img class="alignnone size-thumbnail wp-image-1488" title="Attendees using Photo Booth" src="http://www.hsharma.com/wp-content/uploads/2010/08/photobooth_crowd3-150x150.jpg" alt="Attendees using Photo Booth" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/adobe-summit-multitouch-photo-booth/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Multitouch Photo Booth Application for AIR 2</title>
		<link>http://www.hsharma.com/adobe/multitouch-photo-booth-application-for-air-2/</link>
		<comments>http://www.hsharma.com/adobe/multitouch-photo-booth-application-for-air-2/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 14:11:06 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[booth]]></category>
		<category><![CDATA[multi]]></category>
		<category><![CDATA[multitouch]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[touch]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1468</guid>
		<description><![CDATA[Am very excited to present you with a small multitouch AIR 2 application (Photobooth) I built for the Adobe Flash Platform Summit 2010 that was held in Bangalore this week (25th and 26th Aug).  Please find below the video demo of the application. This application was built in AS3 on Flash Professional CS5 + Flash [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Am very excited to present you with a small multitouch AIR 2 application (<strong><a href="http://www.hsharma.com/projects/photobooth" target="_blank" rel='nofollow'>Photobooth</a></strong>) I built for the <strong><a href="http://www.adobesummit.com" target="_blank" rel='nofollow'>Adobe Flash Platform Summit 2010</a></strong> that was held in Bangalore this week (25th and 26th Aug).  Please find below the video demo of the application.</p>
<p style="text-align: justify;">This application was built in AS3 on Flash Professional CS5 + Flash Builder 4 for AIR 2 desktop. I am also planning to port this to AIR for Android version. Comments and suggestions are welcome. <img src='http://www.hsharma.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: justify;">I would also like to thank Madhu from <strong><a href="http://www.newtint.com/" target="_blank" rel='nofollow'>NewTint</a></strong> to have helped me with the artwork assets (digitally painted) that are used in this application.</p>
<div style="text-align: center;">[flashVideo file=http://www.youtube.com/watch%3Fv%3DZseUUagWthQ image=http://www.hsharma.com/_assets/projects/photobooth/screenshots/photobooth_4.jpg width=640 height=360 /]</div>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/multitouch-photo-booth-application-for-air-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Multiscreen Game/App &#8211; Part 2: Understanding</title>
		<link>http://www.hsharma.com/tutorials/multiscreen-gameapp-part-2-understanding/</link>
		<comments>http://www.hsharma.com/tutorials/multiscreen-gameapp-part-2-understanding/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 11:10:52 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[multi]]></category>
		<category><![CDATA[multiscreen]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1392</guid>
		<description><![CDATA[Setting Up Please refer to my previous post on how to extract the provided files, setting them up in Flash Professional and Flash Builder. Once you are done setting up, you may proceed reading this article to understand the code constructs. Prerequisites You need to have Adobe Flash Professional CS5 installed. You need to have [...]]]></description>
			<content:encoded><![CDATA[<h3>Setting Up</h3>
<p>Please refer to my <a href="http://www.hsharma.com/tech/articles/multiscreen-gameapp-part-1-setting-up/" rel='nofollow'><strong>previous post</strong></a> on how to extract the provided files, setting them up in Flash Professional and Flash Builder. Once you are done setting up, you may proceed reading this article to understand the code constructs.</p>
<h3>Prerequisites</h3>
<ul>
<li>You need to have Adobe Flash Professional CS5 installed.</li>
<li>You need to have Adobe Flash Builder 4 installed.</li>
<li>You need the application files (.fla and .as) that I have shared  below.</li>
</ul>
<h3>Download</h3>
<p style="text-align: center;"><a href="http://www.hsharma.com/downloads/MultiscrTemplate.zip" target="_blank" rel='nofollow'><img title="Multiscreen Template" src="http://www.hsharma.com/examples/download_btns/multiscrTemplate.jpg" alt="Multiscreen Template" width="180" height="40" /></a><br />
(725 downloads)</p>
<h3><span id="more-1392"></span>Preview</h3>
<p>This is how your app will behave in multiple screens (only visually).  I will also go through how you can manage to detect the type of  controls/player for handling input events. For a detailed post on how it  behaves on multiscreen, visit my blog post &#8211; <a title="One Code, Multi  Screen" href="http://bit.ly/onecode" target="_blank" rel='nofollow'><strong>One Code, Multiscreen</strong></a>.</p>
<p style="text-align: center;"><strong>Portrait  Version</strong></p>
<p style="text-align: center;"><img title="Portrait Version" src="http://www.hsharma.com/wp-content/uploads/2010/06/multiscreen_portrait.jpg" alt="Portrait Version" width="240" height="339" /></p>
<p style="text-align: center;"><strong>Landscape  Version</strong></p>
<p style="text-align: center;"><img title="Landscape Version" src="http://www.hsharma.com/wp-content/uploads/2010/06/multiscreen_landscape.jpg" alt="Landscape Version" width="370" height="179" /></p>
<p><a name="logic"></a></p>
<h3>Application Logic &#8211; Logic.as</h3>
<p>The game&#8217;s logic is written in <strong>Template.Logic</strong> class. This is how it   looks: -</p>
<pre class="brush: as3; wrap-lines: false">package Template {
	import com.hsharma.Game;

	import flash.display.MovieClip;

	public class Logic extends MovieClip {
		private var game:Game;

		public function Logic() {
			super();

			game = new Game(this, Canvas, Title, LevelNum, MainMenu, Controls);
		}

		public function initGame():void {
			// GAME CODE

		}
	}
}
</pre>
<p>As you can see, it is just a simple class that has a constructor instantiating a new object of type <strong><code>Game</code></strong>. Will come to that later. It later has a function <strong><code>initGame()</code></strong> that is supposed to contain the game&#8217;s logic and behavior.<br />
<a name="game"></a></p>
<h3>Generic Multiscreen Layout &#8211; Game.as</h3>
<p>Let&#8217;s look at the class <strong><code>com.hsharma.Game</code></strong> before we run through the parts of <strong>Logic.as</strong> that we missed.</p>
<pre class="brush: as3; highlight: [69, 73]">package com.hsharma {
	import flash.display.MovieClip;
	import flash.display.Stage;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;
	import flash.events.Event;
	import flash.geom.Point;

	public class Game extends MovieClip {
		private var _gameClass:*;
		private var _stage:Stage;
		private var _canvas:MovieClip;
		private var _title:MovieClip;
		private var _module_1:MovieClip;
		private var _module_2:MovieClip;
		private var _menu:MovieClip;

		private var title_ratio:Point;
		private var mainmenu_ratio:Point;
		private var module_ratio:Point;
		private var screen:String;

		public function Game(myClass:*, myCanvas:MovieClip, myTitle:MovieClip, myMenu:MovieClip, Module1:MovieClip, Module2:MovieClip) {
			super();

			_gameClass = myClass;
			_stage = myClass.stage;
			_canvas = myCanvas;
			_title = myTitle;
			_module_1 = Module1;
			_module_2 = Module2;
			_menu = myMenu;

			_stage.align = StageAlign.TOP_LEFT;
			_stage.scaleMode = StageScaleMode.NO_SCALE;

			title_ratio = new Point(_title.width, _title.height);
			mainmenu_ratio = new Point(_menu.width, _menu.height);
			module_ratio = new Point(_module_1.width, _module_1.height);

			resizeGame(null);
			_stage.addEventListener(Event.RESIZE, resizeGame);

			showSplash();
		}

		private function showSplash():void {
			screen = "splash";
			_title.visible = false;
			_menu.visible = false;
			_module_1.visible = false;
			_module_2.visible = false;

			_canvas.setChildIndex(_canvas.Splash, _canvas.numChildren-1);

			// SETUP GREENSOCK TWEENLITE CLASS AND USE THE BELOW LINE TO FADE IN THE SPLASH SCREEN AFTER 3 SECONDS DELAY
			// TweenLite.to(_canvas.Splash, 1, {delay: 3, alpha: 0, onStart:initGame, onComplete:hideSplash});

			initGame();
			hideSplash();
		}

		private function hideSplash():void {
			// UNCOMMENT THE BELOW LINE ONCE YOU HAVE THE FADE IN ENABLED FOR SPLASH SCREEN
			// _canvas.Splash.visible = false;
		}

		private function resizeGame(event:Event):void {
			// INTELLIGENT LAYOUT LOGIC GOES HERE
		}

		private function initGame():void {
			// RESET VISIBILITY OF VISUAL ELEMENTS

			screen = "game";
			_gameClass.initGame();
		}
	}
}
</pre>
<p>In the above code, lines 69 and 73 are bunches of lines of code that I have specifically removed for now to reduce confusion. We shall also look into that later.</p>
<h3>Passing Game&#8217;s Visual Elements to the Generic Layout Class</h3>
<p>Now, look at the 2 important lines in <a href="#logic" rel='nofollow'><strong>Logic.as</strong></a> -</p>
<pre class="brush: as3; first-line: 2">import com.hsharma.Game;</pre>
<pre class="brush: as3; first-line: 12">game = new Game(this, Canvas, Title, LevelNum, MainMenu, Controls);
</pre>
<p>I have imported the generic <a href="#game" rel='nofollow' rel='nofollow' rel='nofollow'><strong><code>Game</code></strong></a> class and instantiated an object <strong><code>game</code></strong> passing some objects to the constructor of the <strong><code>Game</code></strong> class. First object that I pass is the class reference to <a href="#logic" rel='nofollow' rel='nofollow'><strong><code>Template.Logic</code></strong></a> (<strong>Logic</strong> class of any game that I write) &#8211; <strong><code>this</code></strong>. The other objects that I pass are the visual elements (MovieClips) that are explained in the Part 1 of this tutorial, namely: -</p>
<ul>
<li><strong>Canvas</strong> &#8211; (Center) This is a <strong>MovieClip</strong> &#8220;<strong>Canvas</strong>&#8221;   that I use to put in all the elements that my game or app requires to   have.</li>
<li><strong>Title</strong> &#8211; (Left Top) This is a <strong>MovieClip</strong> &#8220;<strong>Title</strong>&#8221;   that will contain my app/game&#8217;s logo/icon with the title text if   required.</li>
<li><strong>LevelNum</strong> &#8211; (Right Top) This is a <strong>MovieClip</strong> &#8220;<strong>LevelNum</strong>&#8221; that will depict the  current level of the game.</li>
<li><strong>MainMenu</strong> &#8211; (Left Bottom) This is a small <strong>MovieClip</strong> &#8220;<strong>MainMenu</strong>&#8221; consisting of 4 <strong>Buttons</strong> (Restart Level,  Help/Instructions, Close/Exit and About).</li>
<li><strong>Controls </strong>- (Right Bottom) This is a <strong>MovieClip</strong> &#8220;<strong>Controls</strong>&#8221; that contains the Up and Down arrow buttons used to control the game&#8217;s behavior (rather, play the game).</li>
</ul>
<p>This step is to make sure my generic <strong><code>Game</code></strong> class knows the visual elements of the game that I am writing, so it can arrange them according to any screen size. Important point to note is, any game that I write, ideally will be a replica of <a href="#logic" rel='nofollow' rel='nofollow'><strong><code>Template.Logic</code></strong></a> class. It might be <strong><code>CrazyGems.Logic</code></strong> class that will contain the game behavior of Crazy Gems. This class also will instantiate the <a href="#game" rel='nofollow' rel='nofollow' rel='nofollow'><strong><code>com.hsharma.Game</code></strong></a> class object in its constructor, so the class <a href="#game" rel='nofollow' rel='nofollow' rel='nofollow'><strong><code>com.hsharma.Game</code></strong></a> knows the visual elements of the game Crazy Gems and handles the layout.</p>
<h3>Multiple Projects using Game Class</h3>
<p>With a little bit of tweaking of Project properties in Flash Builder, we can setup more than one <strong>.fla</strong> (more than one game) use the same <a href="#game" rel='nofollow' rel='nofollow' rel='nofollow'><strong><code>com.hsharma.Game</code></strong></a> class for the layout handling, so I don&#8217;t need to rewrite the multiscreen layout logic separately for each game.</p>
<p>Here is a typical structure of 3 example games that use the same class <strong><code>com.hsharma.Game</code></strong> for laying out the visuals for multiscreen.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1408" title="Multiple Projects Using MultiscrTemplate" src="http://www.hsharma.com/wp-content/uploads/2010/07/multiscreen_template_007.jpg" alt="Multiple Projects Using MultiscrTemplate" width="228" height="549" /></p>
<p>Observe the color coding in the image above. <span style="color: #0000ff;"><strong>Blue</strong></span> files represent the Logic and UI (.fla) for the game <strong>Crazy Gems</strong>. <span style="color: #008000;"><strong>Green</strong></span> files represent Logic, UI (.fla) and other game-specific classes for the game <strong>Crazy Maze</strong>. <span style="color: #ff9900;"><strong>Wheat/Cream</strong></span> colored files represent the <strong>Template</strong> files that I have shared with this article and their UI (.fla).</p>
<p>Finally, the <span style="color: #ff0000;"><strong>Red</strong></span> files represent the <strong><code>com.hsharma.Game</code></strong> class and also the <strong><code>greensock</code></strong> package used for tweening. These two packages/classes are used across in all 3 games to avoid duplicates of code. So, I fix one bug in the multiscreen layout class <strong><code>com.hsharma.Game</code></strong>, it gets fixed for all the games referring to them.</p>
<h3>Multiscreen Layout</h3>
<p>Now that we pass the visual elements of our games/apps to the generic <a href="#game" rel='nofollow' rel='nofollow' rel='nofollow'><strong><code>Game</code></strong></a> class, as you might have seen the output, the commented line 69 in the above code, function <strong><code>resizeGame()</code></strong>, actually has these lines of code shown below (again, minimal code shown). Rest of the code exists in the actual file shared with this article.</p>
<pre class="brush: as3; wrap-lines: false; highlight: [2, 18];">if (_stage.stageWidth &gt; _stage.stageHeight) {
	// RESIZE ALL ELEMENTS (CODE NOT SHOWN HERE)

	if (_canvas.x &lt; 50) {
		_title.visible = false;
		_menu.visible = false;
		_module_1.visible = false;
		_module_2.visible = false;
	} else {
		if (screen != "splash") {
			_title.visible = true;
			_menu.visible = true;
			_module_1.visible = true;
			_module_2.visible = true;
		}
	}
} else {
	// RESIZE ALL ELEMENTS (CODE NOT SHOWN HERE)

	if (_canvas.y &lt; 50) {
		_title.visible = false;
		_menu.visible = false;
		_module_1.visible = false;
		_module_2.visible = false;
	} else {
		if (screen != "splash") {
			_title.visible = true;
			_menu.visible = true;
			_module_1.visible = true;
			_module_2.visible = true;
		}
	}
}
</pre>
<p>In the above code, line 2 and 18 are places where I have mimicked the <strong>Constraint Based Layouts</strong> available in the Flex framework. In the <a href="#game" rel='nofollow' rel='nofollow' rel='nofollow'><strong><code>Game</code></strong></a> class above, you can observe the lines 41 &amp; 42.</p>
<pre class="brush: as3; first-line: 41;">resizeGame(null);
_stage.addEventListener(Event.RESIZE, resizeGame);
</pre>
<p>This is where I call the function <strong><code>resizeGame()</code></strong>. As the screen is re-sized, during the game play, this function re-sizes and lays out the visual elements according to the screen. That&#8217;s all there is to it.</p>
<h3>Device Capabilities</h3>
<p>For the most part, games rely on some important device capabilities, like the input methods.</p>
<p>It is always a good idea to look for support of a specific support (e.g., Accelerometer) and then initiate the objects relating to that. Example below: -</p>
<pre class="brush: as3">import flash.sensors.Accelerometer;
if (Accelerometer.isSupported) {
	var acc_obj:Accelerometer = new Accelerometer();
} else {
	stage.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown);
}
</pre>
<p>One more tip on determining if the game is being played from the browser or as a desktop AIR app is shown below: -</p>
<pre class="brush: as3">import flash.system.Capabilities;
if (Capabilities.playerType == "Desktop") {
	// PLAYED ON THE DESKTOP
} else {
	// PLAYED ON THE WEB BROWSER
}
</pre>
<h3>Minimum Size Constraint</h3>
<p>When running the game/app on the desktop as a standalone app, the user might resize the window way less than recommended. To avoid this, we need to constrain the minimum allowed size of the app window.</p>
<ul>
<li>To do this, change the Publish Settings in your Flash Professional CS5 to player &#8211; <strong>Adobe AIR 2</strong>.</li>
<li>Click on the &#8220;<strong>Settings</strong>&#8221; button beside <strong>Adobe AIR 2</strong>.</li>
<li>Application &amp; Installer Settings open up. Here, choose the <strong>Advanced</strong> tab.</li>
<li>Specify the <strong>Minimum Width</strong> and <strong>Minimum Height</strong> properties so the user is restricted from resizing below the values specified.</li>
</ul>
<h3>Conclusion</h3>
<p>Do note that this is just one method of coding a multiscreen application. There are several methods out there. Please feel free to experiment. I shall also try and write more about other methods. Also, feel free to change the code that I shared to your convenience and improvise if necessary. The intention of this article is to form awareness of the ability to create multiscreen applications in ActionScript easily. Thanks for reading.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/multiscreen-gameapp-part-2-understanding/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Multiscreen Game/App &#8211; Part 1: Setting Up</title>
		<link>http://www.hsharma.com/tutorials/multiscreen-gameapp-part-1-setting-up/</link>
		<comments>http://www.hsharma.com/tutorials/multiscreen-gameapp-part-1-setting-up/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 11:07:03 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[multi]]></category>
		<category><![CDATA[multiscreen]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1362</guid>
		<description><![CDATA[Introduction With my recent creation of multiscreen game (Crazy Gems) in mind, I am presenting a basic template I created in Flash Professional for use in the games or apps you might be trying to create. The method that I am following is obviously not the only method you need to follow. This comes with my [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>With my recent creation of multiscreen game (<a href="../adobe/one-code-multi-screen/" target="_blank" rel='nofollow'>Crazy  Gems</a>) in mind, I am presenting a basic template I created in Flash Professional for use in the games or apps you might be trying to create. The method that I am following is obviously not the only method you need to follow. This comes with my experience and hard learning over time.</p>
<p>I will be using Adobe Flash Professional CS5 for the UI creation and later, Adobe Flash Builder for writing code and debugging. This article will first guide you to setup the provided Template files to give a fair idea of the implementation.</p>
<h3>Prerequisites</h3>
<ul>
<li>You need to have Adobe Flash Professional CS5 installed.</li>
<li>You need to have Adobe Flash Builder 4 installed.</li>
<li>You need the application files (.fla and .as) that I have shared below.</li>
</ul>
<h3>Download</h3>
<p style="text-align: center;"><a href="http://www.hsharma.com/downloads/MultiscrTemplate.zip" target="_blank" rel='nofollow'><img class="alignnone" title="Multiscreen Template" src="http://www.hsharma.com/examples/download_btns/multiscrTemplate.jpg" alt="Multiscreen Template" width="180" height="40" /></a><br />
(725 downloads)</p>
<h3><span id="more-1362"></span>Preview</h3>
<p>This is how your app will behave in multiple screens (only visually). I will also go through how you can manage to detect the type of controls/player for handling input events. For a detailed post on how it behaves on multiscreen, visit my blog post &#8211; <a title="One Code, Multi Screen" href="http://bit.ly/onecode" target="_blank" rel='nofollow'><strong>One Code, Multiscreen</strong></a>.</p>
<p style="text-align: center;"><strong>Portrait Version</strong></p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1369" title="Portrait Version" src="http://www.hsharma.com/wp-content/uploads/2010/06/multiscreen_portrait.jpg" alt="Portrait Version" width="240" height="339" /></p>
<p style="text-align: center;"><strong>Landscape Version</strong></p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1370" title="Landscape Version" src="http://www.hsharma.com/wp-content/uploads/2010/06/multiscreen_landscape.jpg" alt="Landscape Version" width="370" height="179" /></p>
<h3>Setting Up</h3>
<p>Once you have the required files extracted to a folder on your hard drive, make sure your folder structure matches the below one: -</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1366" title="Multiscreen Template Folder Structure" src="http://www.hsharma.com/wp-content/uploads/2010/06/multiscreen_template_000.jpg" alt="Multiscreen Template Folder Structure" width="486" height="232" /></p>
<p>Let me explain the folder structure. The main UI file that contains all the images, graphics of my app/game and is supposed to contain all the sound/video/other assets is the <strong>.fla file</strong>.</p>
<p>The folder <strong>Template</strong> contains a <strong>Logic.as file</strong> that is my application&#8217;s class file (<strong>Document Class</strong>).</p>
<p>The <strong>com</strong> folder additionally contains 2 folders among which one (<strong>hsharma</strong>) is the one that contains the logic for multiscreen layout.</p>
<p>You should also see an empty folder called <strong><code>greensock</code></strong>. This is just an indication that you can dump other third party class files or packages here and use it in this template.</p>
<p>As explained before, we will have all our compile time assets inside the .fla and write the actionscript separately in the .as files.</p>
<h3>The .FLA File</h3>
<p>Go ahead and open the Template.fla file in Flash Professional. You should see a similar screen as shown below: -</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1367" title="Multiscreen Template FLA File" src="http://www.hsharma.com/wp-content/uploads/2010/06/multiscreen_template_001.jpg" alt="Multiscreen Template Folder Structure" width="412" height="450" /></p>
<p>This image doesn&#8217;t depict the visuals in their actual dimensions; I have zoomed out to fit the screen. As you notice, here are the layers -</p>
<ul>
<li><strong>LevelNum</strong> &#8211; (Right Top) This layer contains a <strong>MovieClip</strong> &#8220;<strong>LevelNum</strong>&#8221; that has a gray rounded rectangle, with a static text &#8220;LEVEL&#8221; and a dynamic text that contains &#8220;00&#8243;. This will depict the current level of the game.</li>
<li><strong>Title</strong> &#8211; (Left Top) This layer contains a <strong>MovieClip</strong> &#8220;<strong>Title</strong>&#8221; that will contain my app/game&#8217;s logo/icon with the title text if required.</li>
<li><strong>MainMenu</strong> &#8211; (Left Bottom) This layer contains a small <strong>MovieClip</strong> &#8220;<strong>MainMenu</strong>&#8221; consisting of 4 <strong>Buttons</strong> (Restart Level, Help/Instructions, Close/Exit and About).</li>
<li><strong>Canvas</strong> &#8211; (Center) This is a <strong>MovieClip</strong> &#8220;<strong>Canvas</strong>&#8221; that I use to put in all the elements that my game or app requires to have. This makes it easy for me to control the main logic or behavior of my game. The blue rectangle that you see in the image above depicts the selected MovieClip &#8220;Canvas&#8221;. I also have placed another <strong>MovieClip</strong> &#8220;<strong>Controls</strong>&#8221; in the same layer (Right Bottom) that are the game controls (Up and Down arrow Buttons).</li>
</ul>
<h3>Using the Template</h3>
<p>I shall now explain a little more as to how you can use these project files and make the best use of it.</p>
<p>In the Properties panel of your .fla file, when no object is selected on stage, you should see a text field which accepts a <strong>Document Class</strong> name (as shown below). This is where I enter the package name and the class name. In this case, <strong><code>Template.Logic</code></strong>.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1381" title="Edit Document Class" src="http://www.hsharma.com/wp-content/uploads/2010/06/multiscreen_template_003.jpg" alt="Edit Document Class" width="393" height="275" /></p>
<p>Clicking on the button beside the text field to open/edit the class  file, triggers a new panel that asks you for your choice of AS editor.  Choose <strong>Flash Builder</strong>.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1383" title="Choose AS Editor" src="http://www.hsharma.com/wp-content/uploads/2010/06/multiscreen_template_004.jpg" alt="Choose AS Editor" width="440" height="141" /></p>
<p>Flash Builder should automatically open up and it now tries to create a new Project for the .fla file (Flash Project). You should see a new pop up in Flash Builder as shown below: -</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1382" title="New Flash Builder Project" src="http://www.hsharma.com/wp-content/uploads/2010/06/multiscreen_template_005.jpg" alt="New Flash Builder Project" width="493" height="400" /></p>
<p>You may let the folder locations be default. In this case, the .fla remains in the folder where you extracted it. A new Flex Project and a folder will be created in your default Flash Builder Projects folder. Once finished, this is how your Flash Builder project structure should look like: -</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1384" title="Flash Builder Project Structure" src="http://www.hsharma.com/wp-content/uploads/2010/06/multiscreen_template_006.jpg" alt="Flash Builder Project Structure" width="197" height="264" /></p>
<p>By default, Flash Builder generates a document class with the same name as the .fla file. In this example, it creates <span style="text-decoration: underline;"><strong>Template.as</strong></span> in the default package. You can go ahead and <strong>delete</strong> that since we are writing the code in the <strong>Template/Logic.as</strong> class.</p>
<h3>Conclusion</h3>
<p>You are now ready to start coding your game/app. You may test and run the swf by pressing Command+Enter (Mac) or Control+Enter (Win). You should see that the UI fits any screen orientation as you drag. I shall explain the specific code for resizing in the next part of this article. Hope you found this article helpful.</p>
<p style="text-align: right;"><a href="http://www.hsharma.com/tech/articles/multiscreen-gameapp-part-2-understanding/" rel='nofollow'><span style="color: #990000;"><strong>Part 2: Understanding Code &#8211; Coming soon&#8230;</strong></span></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/multiscreen-gameapp-part-1-setting-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>India Flash Professional Fans</title>
		<link>http://www.hsharma.com/adobe/india-flash-professional-fans/</link>
		<comments>http://www.hsharma.com/adobe/india-flash-professional-fans/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 08:37:15 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[india]]></category>
		<category><![CDATA[professional]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1374</guid>
		<description><![CDATA[We now have a new Fan Group Site for Adobe Flash Professional enthusiasts. If you are a designer/developer who works on/loves Adobe Flash Professional, please do join the group and start contributing to the discussions.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://flashproindia.groups.adobe.com/" target="_blank" rel='nofollow'><img class="alignnone size-full wp-image-1375" title="Flash Professional Group" src="http://www.hsharma.com/wp-content/uploads/2010/07/flashproblogbanner.jpg" alt="Flash Professional Group" width="550" height="57" /></a></p>
<p>We now have a new <a href="http://flashproindia.groups.adobe.com/" target="_blank" rel='nofollow'><strong>Fan Group Site</strong></a> for <strong>Adobe Flash Professional</strong> enthusiasts. If you are a designer/developer who works on/loves Adobe Flash Professional, please do join the group and start contributing to the discussions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/india-flash-professional-fans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Flash Platform Summit 2010 &#8211; Call for Proposals</title>
		<link>http://www.hsharma.com/adobe/adobe-flash-platform-summit-call-for-proposals/</link>
		<comments>http://www.hsharma.com/adobe/adobe-flash-platform-summit-call-for-proposals/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 09:11:06 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[india]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[proposals]]></category>
		<category><![CDATA[summit]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1356</guid>
		<description><![CDATA[Do you want to speak at the Adobe Flash Platform Summit 2010 India? Do submit your proposals today for review! Hurry as the deadlines are near. Last date is 28th of this month. Visit http://www.developermarch.com/adobesummit/callforproposal.html to submit your relevant proposal for the event. Drop mails to us or me in case you have doubts or [...]]]></description>
			<content:encoded><![CDATA[<p>Do you want to speak at the Adobe Flash Platform Summit 2010 India? Do submit your proposals today for review! Hurry as the deadlines are near. Last date is 28th of this month. Visit <a href="http://www.developermarch.com/adobesummit/callforproposal.html" target="_blank" rel='nofollow'>http://www.developermarch.com/adobesummit/callforproposal.html</a> to submit your relevant proposal for the event. Drop mails to us or me in case you have doubts or concerns. Submit it for either of the tracks below -</p>
<ul>
<li><strong>Develop</strong> &#8211; this track will find immediate resonance with  Web Application, Desktop Application and Mobile Application developers  from the world of ActionScript, Flex, Flash, ColdFusion, Java, PHP and  .NET, including Game Developers. Architects creating multi-tiered  enterprise systems that go beyond basic RIAs will also benefit from this  track.<strong> </strong></li>
<li><strong>Design</strong> &#8211; this track will feature content for  Application UI Designers, Interaction Designers as well as designers who  currently specialize in web or video and want to expand their skills.  If your goal is to create interactive content, applications or video for  the browser, desktop, or devices using Adobe technologies then this is  the track for you.</li>
</ul>
<p>Awaiting more and more proposals for an exciting review process. <img src='http://www.hsharma.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  All the best for the submitters.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/adobe-flash-platform-summit-call-for-proposals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Flash Platform Summit 2010 India</title>
		<link>http://www.hsharma.com/adobe/adobe-flash-platform-summit-2010-india/</link>
		<comments>http://www.hsharma.com/adobe/adobe-flash-platform-summit-2010-india/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 05:44:32 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[india]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[summit]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1352</guid>
		<description><![CDATA[Get ready for the Adobe Flash Platform Summit 2010 India. 25 &#8211; 26 August 2010, NIMHANS Convension Center, Bangalore, India.]]></description>
			<content:encoded><![CDATA[<p>Get ready for the <strong><a href="http://bit.ly/adobesummit" target="_blank" rel='nofollow'>Adobe Flash Platform Summit 2010 India</a></strong>.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1353" title="Adobe Flash Platform Summit 2010" src="http://www.hsharma.com/wp-content/uploads/2010/06/afps2.jpg" alt="Adobe Flash Platform Summit 2010" width="473" height="275" /></p>
<p>25 &#8211; 26 August 2010, NIMHANS Convension Center, Bangalore, India.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/adobe-flash-platform-summit-2010-india/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Largest Adobe Conference in India</title>
		<link>http://www.hsharma.com/adobe/largest-adobe-conference-in-india/</link>
		<comments>http://www.hsharma.com/adobe/largest-adobe-conference-in-india/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 06:54:52 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[india]]></category>
		<category><![CDATA[platform]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1348</guid>
		<description><![CDATA[Get ready for the largest Adobe conference in India, The Adobe Summit 2010. Coming soon&#8230; For more information, keep checking http://bit.ly/adobesummit]]></description>
			<content:encoded><![CDATA[<p>Get ready for the largest Adobe conference in India, <a href="http://bit.ly/adobesummit" target="_blank" rel='nofollow'><strong>The Adobe Summit 2010</strong></a>. Coming soon&#8230;</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1349" title="Adobe Conference" src="http://www.hsharma.com/wp-content/uploads/2010/06/adobesummit_pre.jpg" alt="Adobe Conference" width="473" height="275" /></p>
<p>For more information, keep checking <a href="http://bit.ly/adobesummit" target="_blank" rel='nofollow'>http://bit.ly/adobesummit</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/largest-adobe-conference-in-india/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crazy Gems 2 &#8211; Multi-Screen Game Download</title>
		<link>http://www.hsharma.com/games/crazy-gems-2-multi-screen-game-download/</link>
		<comments>http://www.hsharma.com/games/crazy-gems-2-multi-screen-game-download/#comments</comments>
		<pubDate>Fri, 14 May 2010 06:31:35 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[multiscreen]]></category>
		<category><![CDATA[play]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1337</guid>
		<description><![CDATA[I have now posted the Standalone version (Windows, Macintosh and Linux) of the Multi-Screen Game, Crazy Gems 2 for download. Please make sure you have the Adobe AIR 2.0 RC installed on your machine before trying to install the game. Crazy Gems is an addictive game developed in Adobe Flash ActionScript 3.0 Compatible with Flash [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hsharma.com/projects/crazygems2/#download" target="_blank" rel='nofollow'><img class="alignleft size-full wp-image-1338" style="margin-right: 10px;" title="Crazy Gems AIR Version" src="http://www.hsharma.com/wp-content/uploads/2010/05/crazygems_air.jpg" alt="Crazy Gems AIR Version" width="214" height="180" /></a>I have now posted the Standalone version (Windows, Macintosh and Linux) of the Multi-Screen Game, <a href="http://www.hsharma.com/projects/crazygems2/#download" target="_blank" rel='nofollow'>Crazy Gems 2</a> for download. Please make sure you have the <a href="http://labs.adobe.com/downloads/air2.html" target="_blank" rel='nofollow'>Adobe AIR 2.0 RC</a> installed on your machine before trying to install the game.</p>
<p><em>Crazy Gems is an addictive game developed in Adobe Flash ActionScript  3.0 Compatible with Flash Player 10.1 and AIR 2.0.</em></p>
<p><em>Enjoy the excitement  and confusions in dividing the different colored bouncing gems to their  respective colored zones.</em></p>
<p>Resize the game to your convenient gameplay size and enjoy the casual game. <img src='http://www.hsharma.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/games/crazy-gems-2-multi-screen-game-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Source: Mildly Glossy</title>
		<link>http://www.hsharma.com/air/source-mildly-glossy/</link>
		<comments>http://www.hsharma.com/air/source-mildly-glossy/#comments</comments>
		<pubDate>Thu, 06 May 2010 06:39:53 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[catalyst]]></category>
		<category><![CDATA[flex4]]></category>
		<category><![CDATA[glossy]]></category>
		<category><![CDATA[mildly]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[Player]]></category>
		<category><![CDATA[skin]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1302</guid>
		<description><![CDATA[After getting requests that the users would want to change little things in the Mildly Glossy skin I shared yesterday, I am posting the source file (.fxp), created in Adobe Flash Catalyst 1.0. This can be altered to your desire and later converted to a skin using Flash Builder. I am hoping to post tutorials [...]]]></description>
			<content:encoded><![CDATA[<p>After getting requests that the users would want to change little things in the <strong><a href="http://www.hsharma.com/tech/air/flex-4-skin-mildly-glossy/" target="_blank" rel='nofollow'>Mildly Glossy</a></strong> skin I shared yesterday, I am posting the source file (.fxp), created in Adobe Flash Catalyst 1.0. This can be altered to your desire and later converted to a skin using Flash Builder. I am hoping to post tutorials in future on the conversion process.</p>
<p>But for now, you may download the .fxp and play around or even convert it to your custom skin if you are already aware of the process.</p>
<p style="text-align: center;"><a href="http://www.hsharma.com/downloads/MildlyGlossy_src.zip" target="_blank" rel='nofollow'><img class="alignnone size-full wp-image-1303" title="Download Mildly Glossy Source" src="http://www.hsharma.com/examples/download_btns/mildlyglossy_src.jpg" alt="Download Mildly Glossy Source" /></a><br />
(788 downloads)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/air/source-mildly-glossy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex 4 Skin: Mildly Glossy</title>
		<link>http://www.hsharma.com/air/flex-4-skin-mildly-glossy/</link>
		<comments>http://www.hsharma.com/air/flex-4-skin-mildly-glossy/#comments</comments>
		<pubDate>Wed, 05 May 2010 14:33:10 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[flex4]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[Player]]></category>
		<category><![CDATA[skin]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1286</guid>
		<description><![CDATA[Used Adobe Flash Catalyst 1.0 to create the below theme. Attached is one MildlyGlossy.swc and MildlyGlossy.css in an archive. Download (1692 downloads) Preview [kml_flashembed movie="http://www.hsharma.com/examples/MildlyGlossy/Main.swf" height="480" width="600" allowfullscreen="true" allowscriptaccess="always" /] Setting up Mildly Glossy for your Flex 4 project Copy the MildlyGlossy.swc to libs folder of your Flex Project. Copy the MildlyGlossy.css to the src [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="alignnone size-full wp-image-1288" title="Mildly Glossy Skin Preview" src="http://www.hsharma.com/wp-content/uploads/2010/05/mildlyglossy.jpg" alt="Mildly Glossy Skin Preview" width="566" height="142" /></p>
<p>Used <strong><a href="http://www.adobe.com/products/flashcatalyst/" target="_blank" rel='nofollow'>Adobe Flash Catalyst 1.0</a></strong> to create the below theme. Attached is one MildlyGlossy.swc and MildlyGlossy.css in an archive.</p>
<h3>Download</h3>
<p style="text-align: center;"><a href="http://www.hsharma.com/downloads/MildlyGlossy.zip" target="_blank" rel='nofollow'><img class="alignnone size-full wp-image-1289" title="Download Mildly Glossy" src="http://www.hsharma.com/examples/download_btns/mildlyglossy.jpg" alt="Download Mildly Glossy" /></a><br />
(1692 downloads)</p>
<h3>Preview</h3>
<p><span id="more-1286"></span></p>
<p style="text-align: center;">[kml_flashembed movie="http://www.hsharma.com/examples/MildlyGlossy/Main.swf" height="480" width="600" allowfullscreen="true" allowscriptaccess="always" /]</p>
<h3>Setting up Mildly Glossy for your Flex 4 project</h3>
<ol>
<li>Copy the MildlyGlossy.swc to libs folder of your Flex Project.</li>
<li>Copy the MildlyGlossy.css to the src folder of your Flex Project.</li>
<li>Include the CSS file in your Project MXML file -
<pre class="brush: html">&lt;fx:Style source="MildlyGlossy.css" /&gt;</pre>
</li>
<li>Start using the standard components supported by Mildly Glossy Skin.
<pre class="brush: html">&lt;s:Button label="Hello World" /&gt;</pre>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/air/flex-4-skin-mildly-glossy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Source: One Code, Multi-Screen</title>
		<link>http://www.hsharma.com/tutorials/source-one-code-multi-screen/</link>
		<comments>http://www.hsharma.com/tutorials/source-one-code-multi-screen/#comments</comments>
		<pubDate>Tue, 04 May 2010 08:58:06 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[10.1]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[multiscreen]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[Player]]></category>
		<category><![CDATA[professional]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1260</guid>
		<description><![CDATA[Find below the source code of the game that I developed for my previous example, One Code, Multiple Screens. Prerequisites This requires Adobe Flash Professional CS5 and I haven&#8217;t planned on posting CS4 version as it needs compatibility to Flash Player 10.1 and uses Accelerometer API that is currently available only in CS5. I have [...]]]></description>
			<content:encoded><![CDATA[<p>Find below the source code of the game that I developed for my previous example, <a href="http://www.hsharma.com/tech/adobe/one-code-multi-screen/" target="_blank" rel='nofollow' rel='nofollow'><strong>One Code, Multiple Screens</strong rel='nofollow'></a>.</p>
<h3>Prerequisites</h3>
<ul>
<li>This requires <strong><a href="http://www.adobe.com/products/flash/" target="_blank" rel='nofollow'>Adobe Flash Professional CS5</a></strong> and I haven&#8217;t planned on posting CS4 version as it needs compatibility  to Flash Player 10.1 and uses Accelerometer API that is currently  available only in CS5.</li>
<li>I have used <a href="http://www.greensock.com/tweenlite/" target="_blank" rel='nofollow'>TweenLite</a> AS3 from <a href="http://www.greensock.com" target="_blank" rel='nofollow'>GreenSock</a> for some animations. I haven&#8217;t distributed it with the source files, so you might have to download your own license from <a href="http://www.greensock.com/tweenlite/" target="_blank" rel='nofollow'>www.greensock.com</a>.</li>
<li>I have not shared the font I used for original game. I have used Arial in this project instead.</li>
<li>If you haven&#8217;t followed my previous demo that showcases this game working on many different devices, please visit the post, <a href="../adobe/one-code-multi-screen/" target="_blank" rel='nofollow' rel='nofollow'><strong>One Code, Multiple Screens</strong rel='nofollow'></a>.</li>
</ul>
<h3>Download</h3>
<p style="text-align: center;"><a href="http://www.hsharma.com/downloads/crazygems2_src.zip" target="_blank" rel='nofollow'><img class="alignnone size-full wp-image-1271" title="Download Source Archive" src="http://www.hsharma.com/examples/download_btns/crazygemssrc.jpg" alt="Download Source Archive" / rel='nofollow'></a><br />
(349 downloads)</p>
<p style="text-align: center;"><a href="http://www.hsharma.com/tech/downloads/CrazyGems2_Src" target="_blank" rel='nofollow'></a></p>
<p><span id="more-1260"></span><br />
Once TweenLite class files are downloaded, copy the &#8220;greensock&#8221; folder to your project&#8217;s subfolder &#8220;com&#8221;, as shown below -</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1265" title="Source Structure" src="http://www.hsharma.com/wp-content/uploads/2010/05/sourceStruct.jpg" alt="Source Structure" width="365" height="506" /></p>
<h3>Setting up &#8220;Flash Professional to Flash Builder&#8221; Workflow</h3>
<ol>
<li>Open the .fla file from the archive in Flash Professional CS5.</li>
<li>Click on the &#8220;Edit Class Definition&#8221; button beside the Document Class text box in the Properties Panel
<div style="text-align: center;"><img class="alignnone size-full wp-image-1261" title="Edit Class Definition" src="http://www.hsharma.com/wp-content/uploads/2010/05/editClassDef.jpg" alt="Edit Class Definition" width="389" height="270" /></div>
</li>
<li>Flash Professional pops up a dialog asking where you would want to edit the Class Definition. Choose Flash Builder and click OK.
<div style="text-align: center;"><img class="alignnone size-full wp-image-1262" title="Edit ActionScript 3.0 Class" src="http://www.hsharma.com/wp-content/uploads/2010/05/editASClass.jpg" alt="Edit ActionScript 3.0 Class" width="440" height="141" /></div>
</li>
<li>Flash Builder 4 should automatically open now. Flash Builder now creates a new project linking it to your Flash Professional CS5 .fla file.</li>
<li>Give it a project name you desire and specify a location for your Flash Builder Project and click Finish.
<div style="text-align: center;"><img class="alignnone size-full wp-image-1263" title="Create Flash Builder Project" src="http://www.hsharma.com/wp-content/uploads/2010/05/createFlexProject.jpg" alt="Create Flash Builder Project" width="591" height="379" /></div>
</li>
<li>You should see a project structure in Flash Builder similar to the one shown below -
<div style="text-align: center;">
<p><img class="alignnone size-full wp-image-1264" title="Flash Builder Project Structure" src="http://www.hsharma.com/wp-content/uploads/2010/05/fbProjectStruct.jpg" alt="Flash Builder Project Structure" width="227" height="272" /></p>
</div>
</li>
<li>You should also see Logic.as opened so you can start editing the class definition. Once done editing, to test the movie, follow the same shortcut key as Flash Professional CS5. Being in Flash Builder 4, press Ctrl+Enter (Win) or Cmd+Enter (Mac).</li>
<li>You may also delete CrazyGems.as under default package (the same folder as the .fla), since in this particular project, I have all my code in Logic.as.</li>
</ol>
<p>Do drop me a mail in case you find some trouble understanding the code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/source-one-code-multi-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One Code, Multi-Screen</title>
		<link>http://www.hsharma.com/adobe/one-code-multi-screen/</link>
		<comments>http://www.hsharma.com/adobe/one-code-multi-screen/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 08:54:45 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[10.1]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[multiscreen]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[Player]]></category>
		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1232</guid>
		<description><![CDATA[I happened to write a simple casual game a couple of weeks back for a purpose. The fact that I didn&#8217;t have to re-write any code for platform specific execution just amazed me. I decided to record a video showcasing the content on 3 different devices &#8211; Laptop running Snow Leopard, Touch Laptop running Windows [...]]]></description>
			<content:encoded><![CDATA[<p>I happened to write a simple <a href="http://www.hsharma.com/projects/crazygems2" target="_blank" rel='nofollow'>casual game</a> a couple of weeks back for a purpose. The fact that I didn&#8217;t have to re-write any code for platform specific execution just amazed me. I decided to record a video showcasing the content on 3 different devices &#8211; Laptop running Snow Leopard, Touch Laptop running Windows 7 and Google NexusOne (Android). All I had to do is host the content on a web server and access it from all these devices. I just had to make sure I installed <strong><a href="http://labs.adobe.com/technologies/flashplayer10/" target="_blank" rel='nofollow'>Adobe Flash Player 10.1</a></strong> since the game was built for that version of the player.</p>
<p>I call this game <a href="http://www.hsharma.com/projects/crazygems2" target="_blank" rel='nofollow'>Crazy Gems</a> and it is hosted on my website. The way the application is written, makes it run successfully on many different platforms irrespective of the screen sizes and some of the device capabilities that vary. The video below showcases the same game from the same server running on 3 different platforms. It also summarizes the fact that your content, if built well, could and would run successfully giving users seamless experience across *all* the platforms that <a href="http://labs.adobe.com/technologies/flashplayer10/" target="_blank" rel='nofollow'>Adobe Flash Player</a> runs on.</p>
<p style="text-align: center;"></p>
<p><span id="more-1232"></span></p>
<h3>More Information</h3>
<p>Find below some screen shots of the game running on different platforms -</p>
<table style="text-align: center;" width="100%" cellspacing="0" cellpadding="5" align="center">
<tbody>
<tr>
<td align="center" valign="top"><a href="http://www.hsharma.com/wp-content/uploads/2010/04/ie.jpg" target="_blank" rel='nofollow'><img class="alignnone size-thumbnail wp-image-1233" title="Internet Explorer on Windows XP" src="http://www.hsharma.com/wp-content/uploads/2010/04/ie-150x150.jpg" alt="Internet Explorer on Windows XP" width="150" height="150" /></a><br />
Internet Explorer<br />
on Windows XP</td>
<td align="center" valign="top"><a href="http://www.hsharma.com/wp-content/uploads/2010/04/Firefox.jpg" target="_blank" rel='nofollow'><img class="alignnone size-thumbnail wp-image-1234" title="Firefox on Windows XP" src="http://www.hsharma.com/wp-content/uploads/2010/04/Firefox-150x150.jpg" alt="Firefox on Windows XP" width="150" height="150" /></a><br />
Firefox<br />
on Windows XP</td>
<td align="center" valign="top"><a href="http://www.hsharma.com/wp-content/uploads/2010/04/safari.jpg" target="_blank" rel='nofollow'><img class="alignnone size-thumbnail wp-image-1235" title="Safari on Windows XP" src="http://www.hsharma.com/wp-content/uploads/2010/04/safari-150x150.jpg" alt="Safari on Windows XP" width="150" height="150" /></a><br />
Safari<br />
on Windows XP</td>
</tr>
<tr>
<td align="center" valign="top"><a href="http://www.hsharma.com/wp-content/uploads/2010/04/safari_mac.jpg" target="_blank" rel='nofollow'><img class="alignnone size-thumbnail wp-image-1236" title="Safari on Snow Leopard" src="http://www.hsharma.com/wp-content/uploads/2010/04/safari_mac-150x150.jpg" alt="Safari on Snow Leopard" width="150" height="150" /></a><br />
Safari<br />
on Snow Leopard</td>
<td align="center" valign="top"><a href="http://www.hsharma.com/wp-content/uploads/2010/04/firefox_mac.jpg" target="_blank" rel='nofollow'><img class="alignnone size-thumbnail wp-image-1237" title="Firefox on Snow Leopard" src="http://www.hsharma.com/wp-content/uploads/2010/04/firefox_mac-150x150.jpg" alt="Firefox on Snow Leopard" width="150" height="150" /></a><br />
Firefox<br />
on Snow Leopard</td>
<td align="center" valign="top"><a href="http://www.hsharma.com/wp-content/uploads/2010/04/firefox_linux.jpg" target="_blank" rel='nofollow'><img class="alignnone size-thumbnail wp-image-1240" title="Firefox on Linux" src="http://www.hsharma.com/wp-content/uploads/2010/04/firefox_linux-150x150.jpg" alt="Firefox on Linux" width="150" height="150" /></a><br />
Firefox<br />
on Linux</td>
</tr>
<tr>
<td align="center" valign="top"><a href="http://www.hsharma.com/wp-content/uploads/2010/04/nexus_l.jpg" target="_blank" rel='nofollow'><img class="alignnone size-thumbnail wp-image-1241" title="NexusOne Landscape" src="http://www.hsharma.com/wp-content/uploads/2010/04/nexus_l-150x150.jpg" alt="NexusOne Landscape" width="150" height="150" /></a><br />
Native Browser (Landscape)<br />
on Android (Google NexusOne)</td>
<td align="center" valign="top"><a href="http://www.hsharma.com/wp-content/uploads/2010/04/nexus_p.jpg" target="_blank" rel='nofollow'><img class="alignnone size-thumbnail wp-image-1242" title="NexusOne Portrait" src="http://www.hsharma.com/wp-content/uploads/2010/04/nexus_p-150x150.jpg" alt="NexusOne Portrait" width="150" height="150" /></a><br />
Native Browser (Portrait)<br />
on Android (Google NexusOne)</td>
<td align="center" valign="top"></td>
</tr>
</tbody>
</table>
<p>A similar experiment was carried out by <a href="http://blogs.adobe.com/cantrell/" target="_blank" rel='nofollow'>Christian Cantrell</a> running Adobe AIR also on many different platforms. <a href="http://blogs.adobe.com/cantrell/2010/04/one_application_five_screens.html" target="_blank" rel='nofollow'>Check it out here</a>.</p>
<h3>Flash Professional CS5 to Flash Builder 4 Workflow</h3>
<p>I majorly used this workflow, which really made my coding process faster and easier. I designed the game UI in Photoshop CS5 and imported assets, built the layout in Flash Professional CS5. Later coded the app in Flash Builder 4. It was a piece of cake to use the code hinting in Flash Pro CS5 and also code &amp; debug in Flash Builder 4.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1249" title="Crazy Gems Project Structure in Flash Builder 4" src="http://www.hsharma.com/wp-content/uploads/2010/04/structure1.jpg" alt="Crazy Gems Project Structure in Flash Builder 4" width="238" height="255" /></p>
<p>According to the image above, the whole project structure was just one .fla file with one main ActionScript file. Making it run on different devices involves publishing for different platforms. This was just 2 in my case. Flash Player and AIR. I just had to change that in the Publish Settings of my Flash Professional CS5.</p>
<h3>Support for Accelerometer</h3>
<p>This game can also be played on devices supporting Accelerometer. To accomplish this, I used <strong><code>Accelerometer.isSupported</code></strong> API to determine if Accelerometer was supported on the platform that is running the game. If returned true, I create objects and write listeners. If returned false, I ignore the logic of using Accelerometer and instead, make use of touch/mouse controls and keyboard events.</p>
<h3>Support for AIR</h3>
<p>I am yet to just click a mouse button and set the publish settings of the .fla file to publish the content to <strong><a href="http://labs.adobe.com/technologies/air2/" target="_blank" rel='nofollow'>AIR 2</a></strong>. That&#8217;s all there is to it. I have made use of <strong><code>Capabilities.playerType</code></strong> to determine if the content runs on Flash Player or AIR and based on this, I enable/disable AIR specific features to my content.</p>
<h3>Source Code</h3>
<p>You can find the source code here &#8211; <a href="http://www.hsharma.com/tech/articles/source-one-code-multiple-screens/" target="_blank" rel='nofollow'>Source: One Code, Multiple Screens</a></p>
<p>You may play the game for fun &#8211; <a href="http://www.hsharma.com/projects/crazygems2" target="_blank" rel='nofollow'>Crazy Gems 2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/one-code-multi-screen/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Presentation: Creating Multiscreen Apps</title>
		<link>http://www.hsharma.com/adobe/presentation-creating-multiscreen-apps/</link>
		<comments>http://www.hsharma.com/adobe/presentation-creating-multiscreen-apps/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 13:45:45 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Presentations]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[multi]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[Player]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[summit]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1223</guid>
		<description><![CDATA[This was the presentation I showcased during the Great Indian Developer Summit 2010 this month. I also showcased the Flash Professional CS5 to Flash Builder 4 workflow. Showcased the game that I developed in Flash Professional CS5 and used Flash Builder 4 to write code for the same and publishing the same code for Browser, [...]]]></description>
			<content:encoded><![CDATA[<p>This was the presentation I showcased during the <a href="http://www.developermarch.com/developersummit/" target="_blank" rel='nofollow'>Great Indian Developer Summit 2010</a> this month. I also showcased the Flash Professional CS5 to Flash Builder 4 workflow. Showcased the game that I developed in Flash Professional CS5 and used Flash Builder 4 to write code for the same and publishing the same code for Browser, Standalone and Devices.</p>
<p style="text-align: center;">[kml_flashembed  movie="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=creatingmultiscreenapps-100427083419-phpapp02&amp;stripped_title=creating-multiscreen-apps-using-adobe-flash-platform"  height="355" width="425" allowfullscreen="true"  allowscriptaccess="always" /]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/adobe/presentation-creating-multiscreen-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Catalyst &#8211; Skin a custom DataList</title>
		<link>http://www.hsharma.com/tutorials/flash-catalyst-skin-a-custom-datalist/</link>
		<comments>http://www.hsharma.com/tutorials/flash-catalyst-skin-a-custom-datalist/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 05:38:03 +0000</pubDate>
		<dc:creator>Hemanth Sharma</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[catalyst]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[skin]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://www.hsharma.com/tech/?p=1129</guid>
		<description><![CDATA[I myself being a designer, designing a custom skin for a List component has always been a little difficult. Experiencing Adobe Flash Catalyst was overwhelming from a designer&#8217;s perspective. To make this obvious, I am presenting a simple way of creating a fairly cool looking list box (DataList) component using Adobe Flash Catalyst 1.0. Download [...]]]></description>
			<content:encoded><![CDATA[<p>I myself being a designer, designing a custom skin for a List component has always been a little difficult. Experiencing Adobe Flash Catalyst was overwhelming from a designer&#8217;s perspective. To make this obvious, I am presenting a simple way of creating a fairly cool looking list box (DataList) component using Adobe Flash Catalyst 1.0.</p>
<h3>Download</h3>
<p>You may download this project file for reference.</p>
<p style="text-align: center;"><a href="http://www.hsharma.com/downloads/DataListSkin.fxp" target="_blank" rel='nofollow'><img title="Download" src="http://www.hsharma.com/examples/download_btns/datalistskin.jpg" alt="Download" /></a><br />
(3707 downloads)</p>
<h3>Preview</h3>
<p>This is what we will create following this tutorial.</p>
<p style="text-align: center;"><img src="http://www.hsharma.com/wp-content/uploads/2010/04/039.jpg" alt="DataList Skin" width="351" height="351" /><br />
(Image)</p>
<p><span id="more-1129"></span></p>
<div style="text-align: center;">
<p>[kml_flashembed movie="http://www.hsharma.com/examples/DataListSkin/Main.swf" height="351" width="351" fversion="10" useexpressinstall="true"]<br />
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /><br />

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object><br />
(Interactive SWF)</p>
</div>
<h3>Prerequisites</h3>
<p>This tutorial requires you to have <a href="http://www.adobe.com/products/flashcatalyst/" target="_blank" rel='nofollow'>Adobe Flash Catalyst 1.0</a> Installed.</p>
<h3>Overview</h3>
<p>DataList as a component requires 2 main components. One being Repeating Item, the other being a Vertical Scroll bar. There are also other innovative ways of having a list control. This tutorial covers the skinning of a standard vertical list box with custom item (with a title, description and thumbnail placeholder) and a custom looking vertical Scroll bar.</p>
<h3>Creation of the DataList UI</h3>
<p>Let&#8217;s jump in to the steps of creating the component. We start off by drawing simple vector rectangles and filling them with different colors and gradients with some filters. We begin by creating a new Flash Catalyst Project as shown below: -</p>
<p style="text-align: center;"><img class="size-full wp-image-1134 aligncenter" title="New Flash Catalyst Project" src="http://www.hsharma.com/wp-content/uploads/2010/04/001.jpg" alt="New Flash Catalyst Project" width="348" height="288" /></p>
<p>Adobe Flash Catalyst has a Toolbox when in Design workspace. A screen shot of the same is shown below: -</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1136" title="Design Workspace Toolbox - Rectangle Tool" src="http://www.hsharma.com/wp-content/uploads/2010/04/002.jpg" alt="Design Workspace Toolbox - Rectangle Tool" width="304" height="152" /></p>
<p>Choose the Rectangle tool and draw a rectangle of 351 x 351 pixels. All the dimensions I draw in my user interface are just my choice and are not necessarily a compulsion. You may feel free to have your own dimensions.</p>
<p style="text-align: center;"><img class="size-full wp-image-1138 aligncenter" title="Rectangle" src="http://www.hsharma.com/wp-content/uploads/2010/04/003.jpg" alt="Rectangle" width="471" height="442" /></p>
<p>As you can see, it is just a very simple rectangle, which is not very aesthetic. Let us try and make it look better by adding a Fill Color and an appropriate Stroke color.</p>
<p style="text-align: center;"><img class="size-full wp-image-1140  alignnone" style="vertical-align: top;" title="Filled Rectangle" src="http://www.hsharma.com/wp-content/uploads/2010/04/004.jpg" alt="Filled Rectangle" /> <img style="vertical-align: top;" title="Filled Rectangle Properties" src="http://www.hsharma.com/wp-content/uploads/2010/04/005.jpg" alt="Filled Rectangle Properties" width="240" height="291" /></p>
<p>The properties of the above rectangle is as shown. Fill Color = #CCCCCC, Stroke Color = #DDDDDD.</p>
<p>This is the canvas that we drew here that holds the repeating items of the DataList. Do not worry about the behavior of the component just yet. We are trying to create a nice look for our DataList. We shall arrive in steps that convert the artwork to component in just a while. Now we shall create a List Item rectangle. Repeat the same process of creating a rectangle, place it inside the canvas rectangle as shown below. The properties of the item rectangle is also shown. Fill Color is a gradient from #CCCCCC to #ADADAD. Stroke Color is #A8A8A8.</p>
<p><img class="alignnone size-full wp-image-1142" style="vertical-align: top;" title="List Item UI" src="http://www.hsharma.com/wp-content/uploads/2010/04/006.jpg" alt="List Item UI" /> <img class="alignnone size-full wp-image-1143" style="vertical-align: top;" title="List Item Rectangle Properties" src="http://www.hsharma.com/wp-content/uploads/2010/04/007.jpg" alt="List Item Rectangle Properties" width="254" height="283" /></p>
<p>To give it more effect and life, let us draw another rectangle just inside the one above and give it an inner outline effect. The output and properties of this rectangle is displayed below. Stroke Color is #EFEFEF.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1145" style="vertical-align: top;" title="Enhanced Item Rectangle" src="http://www.hsharma.com/wp-content/uploads/2010/04/008.jpg" alt="Enhanced Item Rectangle" width="351" height="100" /> <img class="alignnone size-full wp-image-1146" style="vertical-align: top;" title="Enhanced Item Rectangle Properties" src="http://www.hsharma.com/wp-content/uploads/2010/04/009.jpg" alt="Enhanced Item Rectangle Properties" width="239" height="289" /></p>
<p>Assuming we have a List Item background graphic, we shall draw a couple of Text Boxes that will represent Labels of the ListItem component. Use the Text Tool to insert a text field on the rectangle. Later, we also apply a subtle Drop Shadow filter using the Filters panel.</p>
<table border="0" cellspacing="0" cellpadding="5" align="center">
<tbody>
<tr>
<td align="center"><img title="Text Tool" src="http://www.hsharma.com/wp-content/uploads/2010/04/010.jpg" alt="Text Tool" width="285" height="126" /></td>
<td align="center"><img class="alignnone size-full wp-image-1149" title="List Item UI with a  Title" src="http://www.hsharma.com/wp-content/uploads/2010/04/011.jpg" alt="List Item UI with a Title" width="351" height="88" /></td>
</tr>
<tr>
<td align="center"><img class="alignnone size-full wp-image-1150" title="List Item Title Text Properties" src="http://www.hsharma.com/wp-content/uploads/2010/04/012.jpg" alt="List Item Title Text Properties" width="271" height="449" /></td>
<td align="center"><img class="alignnone size-full wp-image-1151" style="margin-top: 5px; margin-bottom: 5px;" title="List Item Title   Drop Shadow" src="http://www.hsharma.com/wp-content/uploads/2010/04/013.jpg" alt="List Item Title Drop Shadow" width="291" height="183" /><img class="alignnone size-full wp-image-1152" title="Drop Shadow Properties" src="http://www.hsharma.com/wp-content/uploads/2010/04/014.jpg" alt="Drop Shadow Properties" width="271" height="262" /></td>
</tr>
</tbody>
</table>
<p>We shall add another Text Field on the List Item graphic that will represent the description or metadata of the list item. Make the description text field a little smaller and give it an opacity of 75% to make it look a little dark compared to the title.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1160" title="Add Description Text Field" src="http://www.hsharma.com/wp-content/uploads/2010/04/015.jpg" alt="Add Description Text Field" width="351" height="97" /></p>
<p>Let&#8217;s now draw a rectangle that should act as a place holder for thumbnail of the list item. Fill Color is #FFFFFF with an opacity of 30%.</p>
<p style="text-align: center;"><a href="http://www.hsharma.com/wp-content/uploads/2010/04/016.jpg" rel='nofollow'><img class="alignnone size-full wp-image-1161" title="Final UI of List Item" src="http://www.hsharma.com/wp-content/uploads/2010/04/016.jpg" alt="Final UI of List Item" width="351" height="93" /></a></p>
<p>We can finally freeze the UI of the List Item as it is completely done. It is now time to create a vertical scrollbar for our DataList.</p>
<h3>Creating Vertical Scrollbar</h3>
<p>It amazes to know how easy it is to create a scrollbar in Adobe Flash Catalyst. It is just a matter of drawing 2 rectangles. Draw a rectangle with a width of 7 px and a height of 330 px. Give it a corner radius of 4 px. Fill it with a color #999999. Also give it a slight inner shadow. The properties panel below shows the DropShadow parameters.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1163" title="Drop Shadow Properties" src="http://www.hsharma.com/wp-content/uploads/2010/04/017.jpg" alt="Drop Shadow Properties" width="283" height="263" /></p>
<p>This is how the UI should look like now.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1164" title="UI" src="http://www.hsharma.com/wp-content/uploads/2010/04/018.jpg" alt="UI" width="351" height="351" /></p>
<p>We are done creating the &#8220;Track&#8221; for the scrollbar. Let us now create the &#8220;Thumb&#8221; component of the scrollbar. This should be fairly simple as it is just a 7&#215;66 pixels rectangle with 4 corner radius and fill color #333333. Place it just on top of the previous &#8220;Track&#8221; rectangle.</p>
<p>This is how it should look finally.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1166" title="Final UI" src="http://www.hsharma.com/wp-content/uploads/2010/04/019.jpg" alt="Final UI" width="351" height="127" /></p>
<p>Now is when we have the complete design of how our List component has to look like. Let&#8217;s go ahead and convert the non-intelligent design to a working flex component.</p>
<p>Just for your reference, the CODE for the above skin we created is shown below. It is however not a good idea to make modifications to this.</p>
<pre class="brush: html; wrap-lines: false">&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:d="http://ns.adobe.com/fxg/2008/dt" xmlns:fc="http://ns.adobe.com/flashcatalyst/2009" backgroundColor="#FFFFFF" height="600" preloaderChromeColor="#FFFFFF" width="800"&gt;
	&lt;fx:Style source="Main.css"/&gt;
	&lt;fx:DesignLayer d:userLabel="Layer 1"&gt;
		&lt;s:Rect height="350" radiusX="0" width="350" x="49.5" y="49.5"&gt;
			&lt;s:stroke&gt;
				&lt;s:SolidColorStroke caps="none" color="#CCCCCC" joints="miter" miterLimit="4" weight="1"/&gt;
			&lt;/s:stroke&gt;
			&lt;s:fill&gt;
				&lt;s:SolidColor color="#DDDDDD"/&gt;
			&lt;/s:fill&gt;
		&lt;/s:Rect&gt;
		&lt;s:Rect height="65" radiusX="0" width="330" x="59.5" y="59.5"&gt;
			&lt;s:stroke&gt;
				&lt;s:SolidColorStroke caps="none" color="#A8A8A8" joints="miter" miterLimit="4" weight="1"/&gt;
			&lt;/s:stroke&gt;
			&lt;s:fill&gt;
				&lt;s:LinearGradient rotation="90"&gt;
					&lt;s:GradientEntry alpha="1.0" color="#CCCCCC" ratio="0"/&gt;
					&lt;s:GradientEntry alpha="1.0" color="#ADADAD" ratio="1"/&gt;
				&lt;/s:LinearGradient&gt;
			&lt;/s:fill&gt;
		&lt;/s:Rect&gt;
		&lt;s:Rect alpha="0.4" height="63" radiusX="0" width="318" x="60.5" y="60.5"&gt;
			&lt;s:stroke&gt;
				&lt;s:SolidColorStroke caps="none" color="#EFEFEF" joints="miter" miterLimit="4" weight="1"/&gt;
			&lt;/s:stroke&gt;
		&lt;/s:Rect&gt;
		&lt;s:RichText color="#FFFFFF" fontFamily="Myriad Web Pro Bold" fontSize="14" tabStops="S0 S50 S100 S150 S200" text="Item Title" width="238" x="133" y="71"&gt;
			&lt;s:filters&gt;
				&lt;s:DropShadowFilter alpha="0.25" angle="45.0" blurX="1" blurY="1" color="0x000000" distance="1" hideObject="false" inner="false" knockout="false" quality="2" strength="1"/&gt;
			&lt;/s:filters&gt;
		&lt;/s:RichText&gt;
		&lt;s:RichText alpha="0.75" color="#FFFFFF" fontFamily="Myriad Web Pro" fontSize="12" height="28" tabStops="S0 S50 S100 S150 S200" text="Item Description or Metadata" width="238" x="133" y="91"/&gt;
		&lt;s:Rect alpha="0.3" height="57" width="57" x="63.5" y="63.5"&gt;
			&lt;s:stroke&gt;
				&lt;s:SolidColorStroke caps="none" color="#FFFFFF" joints="miter" miterLimit="4" weight="1"/&gt;
			&lt;/s:stroke&gt;
			&lt;s:fill&gt;
				&lt;s:SolidColor color="#FFFFFF"/&gt;
			&lt;/s:fill&gt;
		&lt;/s:Rect&gt;
		&lt;s:Rect height="330" radiusX="4" width="7" x="386" y="59"&gt;
			&lt;s:fill&gt;
				&lt;s:SolidColor color="#999999"/&gt;
			&lt;/s:fill&gt;
			&lt;s:filters&gt;
				&lt;s:DropShadowFilter alpha="0.4" angle="45.0" blurX="2" blurY="2" color="0x000000" distance="1" hideObject="false" inner="true" knockout="false" quality="2" strength="1"/&gt;
			&lt;/s:filters&gt;
		&lt;/s:Rect&gt;
		&lt;s:Rect height="66" radiusX="4" width="7" x="386" y="59"&gt;
			&lt;s:fill&gt;
				&lt;s:SolidColor color="#333333"/&gt;
			&lt;/s:fill&gt;
		&lt;/s:Rect&gt;
	&lt;/fx:DesignLayer&gt;
&lt;/s:Application&gt;</pre>
<h3 style="text-align: left;">Adding Intelligence</h3>
<p style="text-align: left;">In order to convert the artwork to components, we need to start from the inside of the component and move out hierarchically. If and once we convert the whole artwork in to a DataList component, it is hard to convert the scrollbar to a Vertical Scrollbar component. Hence, we shall start by creating the scrollbar component.</p>
<p style="text-align: left;">Each component has a group of elements that need to be present. Some elements are always marked *required* and are compulsory. Some are optional. For instance, the Vertical Scrollbar component has the Track and Thumb compulsory. The up and down arrow buttons are optional. I shall demonstrate converting only the required elements since we haven&#8217;t drawn the up and down arrows.</p>
<p style="text-align: left;">For this, start by selecting the required components for the Vertical Scrollbar, Track and Thumb. You should see a panel on the screen that will allow you to convert the artwork into components. You can find the panel in the menu &#8211; Window &gt; HUD (F7). Choose the dropdown that says &#8220;Convert Artwork to Component&#8221; and select &#8220;Vertical Scrollbar&#8221; as shown below: -</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1171" title="Convert Scrollbar" src="http://www.hsharma.com/wp-content/uploads/2010/04/020.jpg" alt="Convert Scrollbar" width="386" height="357" /></p>
<p>Now both Track and Thumb artwork seem like a single object and is converted into Vertical Scrollbar component. The HUD panel shows that you can now edit the parts of the component. Go ahead and click the &#8220;Edit Parts&#8221; button.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1172" title="Scrollbar Edit Parts" src="http://www.hsharma.com/wp-content/uploads/2010/04/021.jpg" alt="Scrollbar Edit Parts" width="356" height="157" /></p>
<p>We need to specify Flash Catalyst the different parts of our component. In this case, the mandatory Track and the Thumb. Now go ahead and select the artwork for Track, i.e., the longer rectangle. Choose the dropdown in the HUD panel and select &#8220;Choose Part&#8221; under &#8220;Convert to Vertical Scrollbar Part&#8221; section and select &#8220;Track&#8221;.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1174" title="Convert Track" src="http://www.hsharma.com/wp-content/uploads/2010/04/022.jpg" alt="Convert Track" width="356" height="376" /></p>
<p>Follow similar steps by selecting the Thumb artwork, i.e., shorter rectangle and convert it to Thumb under the HUD.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1175" title="Convert Thumb" src="http://www.hsharma.com/wp-content/uploads/2010/04/023.jpg" alt="Convert Thumb" width="354" height="238" /></p>
<p>It is time to convert the whole artwork we did to a DataList component. Click on the &#8220;DataListSkin&#8221; on breadcrumbs that is on top left as shown below to move to the root of the artwork so we can select the rest of the artwork.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1178" title="Breadcrumbs" src="http://www.hsharma.com/wp-content/uploads/2010/04/23b.jpg" alt="Breadcrumbs" width="252" height="30" /></p>
<p>Now select all the artwork (HUD should show &#8220;7 Items&#8221;). Select &#8220;Choose Component&#8221; under &#8220;Convert Artwork to Component&#8221; on the HUD and choose &#8220;DataList&#8221; component.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1179" title="Convert to DataList" src="http://www.hsharma.com/wp-content/uploads/2010/04/024.jpg" alt="Convert to DataList" width="627" height="361" /></p>
<p>Just as we did with the scrollbar, we need to now specify the parts of the List component. The artwork should appear as a single element on the screen and HUD should show a button &#8220;Edit Parts&#8221;. Go ahead and click it.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1181" title="Edit DataList Parts" src="http://www.hsharma.com/wp-content/uploads/2010/04/025.jpg" alt="Edit DataList Parts" width="250" height="178" /></p>
<p>If you have observed in the above screen shot, the dark gray rectangle that represents the background of our item is stretched a little horizontally, to touch the scrollbar. This happened to maintain the same spacing around the item and the background box. We need to fix that. Select the rectangle that is stretched.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1182" title="ListItem Background Selection" src="http://www.hsharma.com/wp-content/uploads/2010/04/026.jpg" alt="ListItem Background Selection" width="368" height="108" /></p>
<p>Use the properties panel to reduce the width to -10 of what it is. According to our dimensions, I choose 321px for width. One very important thing to note is, there are multiple &#8220;States&#8221; inside the DataList component and we made this fix in one of the states. We need to make this change affect all other states. Do not make this change manually in all states. Instead, as soon as you reduce the size in the current state, a button appears in the HUD panel that says &#8220;Make Same in All Other States&#8221;. Click the button.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1183" title="Make Same in All Other States" src="http://www.hsharma.com/wp-content/uploads/2010/04/027.jpg" alt="Make Same in All Other States" width="416" height="269" /></p>
<p>Now that we have fixed the artwork width, let us specify what should comprise the item. The only required element inside a DataList component is called the &#8220;Repeated Item&#8221;. As per our design, the repeated item is the 2 rectangles for the background, title text of the item, description text and the thumbnail rectangle. Select these 5 elements and in the HUD, choose &#8220;Choose Part&#8221; under the &#8220;Convert Artwork to Component&#8221;. Select &#8220;Repeated Item&#8221;.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1208" title="Artwork for Repeated Item Selected" src="http://www.hsharma.com/wp-content/uploads/2010/04/028.jpg" alt="Artwork for Repeated Item Selected" width="360" height="205" /></p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1184" title="Choose Repeated Item" src="http://www.hsharma.com/wp-content/uploads/2010/04/029.jpg" alt="Choose Repeated Item" width="394" height="211" /></p>
<p>Ah! You should now be seeing the item repeated 5 times below.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1185" title="Repeated Item" src="http://www.hsharma.com/wp-content/uploads/2010/04/030.jpg" alt="Repeated Item" width="362" height="363" /></p>
<p>Adobe Flash Catalyst by default repeats the Repeated Item 5 times. This can be modified later by adding/editing/deleting the items. Below the screen, you should find a panel &#8220;Design-Time Data&#8221;.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1187" title="DesignTime Data" src="http://www.hsharma.com/wp-content/uploads/2010/04/031.jpg" alt="DesignTime Data" width="578" height="629" /></p>
<p>By clicking on the &#8220;Add Row&#8221; and delete buttons below in the panel, you can add or delete rows for design time reference and also edit the contents of each text field that your repeated item contains inline under the Design-Time Data panel. We may now do a Ctrl+Enter (Windows) or Cmd+Enter (Mac) to test our List component in the browser. The component should show the number of rows you added in the Design-Time Data panel and the scrollbar should work as expected. A major part of our component creation is finished.</p>
<p>However, we can notice that the mouse-over of an item and the selected item doesn&#8217;t look as per our liking as Adobe Flash Catalyst by default adds what it calls &#8220;Highlight Rectangle&#8221; above the list items to give it a mouse-over effect and selected item effect. This could work out for some designs. But we shall explore how to customize the UI for these states as well.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1190" title="Mouse Over Default UI" src="http://www.hsharma.com/wp-content/uploads/2010/04/033.jpg" alt="Mouse Over Default UI" width="370" height="183" /></p>
<p>As explained before in this article, we have different states for each component. It is obvious to have similar states for our DataList component as well. The states are &#8220;Normal&#8221;, &#8220;Over&#8221; and &#8220;Selected&#8221; states.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1191" title="DataList Component States" src="http://www.hsharma.com/wp-content/uploads/2010/04/034.jpg" alt="DataList Component States" width="578" height="328" /></p>
<p>We can customize the UI of our elements in the component by navigating to the particular state. Go ahead and click the &#8220;Over&#8221; state to customize it.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1192" title="Over State" src="http://www.hsharma.com/wp-content/uploads/2010/04/035.jpg" alt="Over State" width="548" height="73" /></p>
<p>Click on the artwork to select a &#8220;Highlight Rectangle&#8221; and delete it since we are modifying the rectangles that we created.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1193" title="Highlight Rectangle" src="http://www.hsharma.com/wp-content/uploads/2010/04/036.jpg" alt="Highlight Rectangle" width="359" height="150" /></p>
<p>Select the back rectangle of the item and fill it with a darker gray and a darker outline. Fill gradient should be #999999 to #666666 and Stroke color shall be #666666.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1194" style="vertical-align: top;" title="Over State Artwork" src="http://www.hsharma.com/wp-content/uploads/2010/04/037.jpg" alt="Over State Artwork" width="359" height="96" /> <img class="alignnone size-full wp-image-1195" style="vertical-align: top;" title="Over Artwork Properties" src="http://www.hsharma.com/wp-content/uploads/2010/04/038.jpg" alt="Over Artwork Properties" width="261" height="286" /></p>
<p>Save your .fxp file and test the content. You should see the darker item graphic for the mouse-over state.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1196" title="Mouse Over UI" src="http://www.hsharma.com/wp-content/uploads/2010/04/039.jpg" alt="Mouse Over UI" width="351" height="351" /></p>
<p>Go ahead and repeat similar steps to customize the &#8220;Selected&#8221; state of your list item and fill it with a gradient from #000000 to #333333 and give it a stroke color of #000000. Darken the description text field in the &#8220;Selected&#8221; state to color #999999.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1197" title="Selected State Customization" src="http://www.hsharma.com/wp-content/uploads/2010/04/040.jpg" alt="Selected State Customization" width="396" height="280" /></p>
<p>This is what we get after the customization.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1202" title="Final Output" src="http://www.hsharma.com/wp-content/uploads/2010/04/041.jpg" alt="Final Output" width="351" height="351" /></p>
<p>Test and run the content that you created. This is pretty much it. We can now import this custom skinned component to Flash Builder and bind the data we require. Hope you enjoyed creating this custom skin.</p>
<p>Happy Skinning! <img src='http://www.hsharma.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.hsharma.com/tutorials/flash-catalyst-skin-a-custom-datalist/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
	</channel>
</rss>

