<?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>Nick Kuh - Freelance iPhone, iPad, iOS Developer, Trainer and Consultant - Brighton, UK &#187; Adobe Flash, Flex and Air</title>
	<atom:link href="http://www.nickkuh.com/category/flash-flex-air/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nickkuh.com</link>
	<description>Nick Kuh is a Freelance iPhone, iPad, iOS Developer, Trainer and Consultant based in Brighton, UK</description>
	<lastBuildDate>Thu, 10 Nov 2011 20:40:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Pitching the Microphone with Flash Player 10.1 Beta</title>
		<link>http://www.nickkuh.com/flash-flex-air/pitching-the-microphone-with-flash-player-10-1-beta/2010/03/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/pitching-the-microphone-with-flash-player-10-1-beta/2010/03/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 12:09:35 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[Adobe Flash, Flex and Air]]></category>
		<category><![CDATA[flash player 10.1]]></category>
		<category><![CDATA[microphone]]></category>
		<category><![CDATA[voice recording]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/?p=373</guid>
		<description><![CDATA[I&#8217;ve been lucky enough to get some Research &#38; Development work in over the last few weeks. The latest batch of work has included some experimental stuff with the the new Microphone features introduced in Flash Player 10.1 which is currently in beta. You can download the required Flash Player here. In the example below [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fpitching-the-microphone-with-flash-player-10-1-beta%2F2010%2F03%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fpitching-the-microphone-with-flash-player-10-1-beta%2F2010%2F03%2F&amp;source=nickkuh&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;ve been lucky enough to get some Research &amp; Development work in over the last few weeks. The latest batch of work has included some experimental stuff with the the new Microphone features introduced in Flash Player 10.1 which is currently in beta. You can <a href="http://labs.adobe.com/downloads/flashplayer10.html">download the required Flash Player here</a>.</p>
<p>In the example below the app will automatically record your voice until you stop talking and will playback the sound bytes as Barry White or a Chipmunk (adjust using the slider).</p>
<p>Prior to Flash 10.1 you could manipulate the sound bytearray from an mp3 at runtime but you couldn&#8217;t access the native incoming microphone data. I can see this modification to the Flash Player leading to some really cool future games and apps.</p>
<p>In my example there&#8217;s currently no encoding to mp3. I just save the incoming sound byte arrays in memory. I think there may be as3 mp3 encoders already written if this was a project requirement.</p>
<p><script type="text/javascript">// <![CDATA[
 		var flashvars = { 			"debug":"false" 		}; 		var params = { 			menu: "false", 			scale: "noScale", 			allowFullscreen: "true", 			allowScriptAccess: "always", 			bgcolor: "#000000" 		}; 		var attributes = { 			id:"app" 		}; 		swfobject.embedSWF("/demos/microphonefun/MicrophoneFun.swf", "altContent", "550", "600", "10.1.0", "expressInstall.swf", flashvars, params, attributes);
// ]]&gt;</script></p>
<div id="altContent">
<h1>Microphone Fun</h1>
<p>Alternative content</p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></div>
<p>I&#8217;m also really intrigued by Didier Brun&#8217;s R&amp;D work on <strong>voice recognition</strong> in Flash Player 10.1:</p>
<p><a href="http://www.bytearray.org/?p=1151">http://www.bytearray.org/?p=1151</a></p>
<p><a href="http://vimeo.com/9780416">http://vimeo.com/9780416</a></p>
<p>Looks like he&#8217;s really getting somewhere from those example videos. I guess one approach might be to render the sound data samples to bitmaps and run the sort of blend, colour threshold comparisons that you achieve with <a href="http://blog.soulwire.co.uk/flash/actionscript-3/webcam-motion-detection-tracking">Flash WebCam motion detection</a>.</p>
<p>Thanks to<a href="http://blog.andre-michelle.com/2009/pitch-mp3/"> Andre Michelle&#8217;s shared work on pitching</a> MP3s and <a href="http://blog.onebyonedesign.com/?p=416">Devon Wolfgang&#8217;s microphone code example</a> I was able to get the above up and running.</p>
<p>Here&#8217;s the <a href="/demos/microphonefun/MicrophoneFun.zip">source</a> <img src='http://www.nickkuh.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fpitching-the-microphone-with-flash-player-10-1-beta%2F2010%2F03%2F&amp;title=Pitching+the+Microphone+with+Flash+Player+10.1+Beta" title="Bookmark this post : Pitching the Microphone with Flash Player 10.1 Beta on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fpitching-the-microphone-with-flash-player-10-1-beta%2F2010%2F03%2F&amp;title=Pitching+the+Microphone+with+Flash+Player+10.1+Beta&amp;bodytext=I%27ve+been+lucky+enough+to+get+some+Research+%26amp%3B+Development+work+in+over+the+last+few+weeks.+The+latest+batch+of+work+has+included+some+experimental+stuff+with+the+the+new+Microphone+features+introduced+in+Flash+Player+10.1+which+is+currently+in+beta.+You+can+download+the+required+Flash+Player+here.%0D%0A%0D%0AIn+the+example" title="Digg this post : Pitching the Microphone with Flash Player 10.1 Beta"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fpitching-the-microphone-with-flash-player-10-1-beta%2F2010%2F03%2F&amp;t=Pitching+the+Microphone+with+Flash+Player+10.1+Beta" title="Recommend this post : Pitching the Microphone with Flash Player 10.1 Beta on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fpitching-the-microphone-with-flash-player-10-1-beta%2F2010%2F03%2F&amp;title=Pitching+the+Microphone+with+Flash+Player+10.1+Beta" title="Share this post : Pitching the Microphone with Flash Player 10.1 Beta on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fpitching-the-microphone-with-flash-player-10-1-beta%2F2010%2F03%2F&amp;title=Pitching+the+Microphone+with+Flash+Player+10.1+Beta" title="Share this post : Pitching the Microphone with Flash Player 10.1 Beta with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fpitching-the-microphone-with-flash-player-10-1-beta%2F2010%2F03%2F" title="Tweet this post : Pitching the Microphone with Flash Player 10.1 Beta on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/pitching-the-microphone-with-flash-player-10-1-beta/2010/03/feed" title="Follow this post : Pitching the Microphone with Flash Player 10.1 Beta comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/pitching-the-microphone-with-flash-player-10-1-beta/2010/03/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Algebra Meltdown: Flash 10 Maths Game</title>
		<link>http://www.nickkuh.com/flash-flex-air/algebra-meltdown-flash-10-maths-game/2010/02/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/algebra-meltdown-flash-10-maths-game/2010/02/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 09:56:45 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[Adobe Flash, Flex and Air]]></category>
		<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/?p=353</guid>
		<description><![CDATA[How good's your Maths? Check out Algebra Meltdown: possibly "Manga High's best game yet?"]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Falgebra-meltdown-flash-10-maths-game%2F2010%2F02%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Falgebra-meltdown-flash-10-maths-game%2F2010%2F02%2F&amp;source=nickkuh&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>This game has been a while in the making but I was very happy to see it finally go live on Tuesday! I developed <a href="http://www.mangahigh.com/en_gb/games/algebrameltdown">Algebra Meltdown</a> for <a href="http://www.mangahigh.com">MangaHigh.com</a> using some of the latest Flash 10 features. Here&#8217;s a video of it in action:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/ClkDgIjmN30&amp;hl=en_GB&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/ClkDgIjmN30&amp;hl=en_GB&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Enjoy!</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Falgebra-meltdown-flash-10-maths-game%2F2010%2F02%2F&amp;title=Algebra+Meltdown%3A+Flash+10+Maths+Game" title="Bookmark this post : Algebra Meltdown: Flash 10 Maths Game on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Falgebra-meltdown-flash-10-maths-game%2F2010%2F02%2F&amp;title=Algebra+Meltdown%3A+Flash+10+Maths+Game&amp;bodytext=This+game+has+been+a+while+in+the+making+but+I+was+very+happy+to+see+it+finally+go+live+on+Tuesday%21+I+developed+Algebra+Meltdown+for+MangaHigh.com+using+some+of+the+latest+Flash+10+features.+Here%27s+a+video+of+it+in+action%3A%0D%0A%0D%0A%0D%0A%0D%0AEnjoy%21" title="Digg this post : Algebra Meltdown: Flash 10 Maths Game"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Falgebra-meltdown-flash-10-maths-game%2F2010%2F02%2F&amp;t=Algebra+Meltdown%3A+Flash+10+Maths+Game" title="Recommend this post : Algebra Meltdown: Flash 10 Maths Game on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Falgebra-meltdown-flash-10-maths-game%2F2010%2F02%2F&amp;title=Algebra+Meltdown%3A+Flash+10+Maths+Game" title="Share this post : Algebra Meltdown: Flash 10 Maths Game on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Falgebra-meltdown-flash-10-maths-game%2F2010%2F02%2F&amp;title=Algebra+Meltdown%3A+Flash+10+Maths+Game" title="Share this post : Algebra Meltdown: Flash 10 Maths Game with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Falgebra-meltdown-flash-10-maths-game%2F2010%2F02%2F" title="Tweet this post : Algebra Meltdown: Flash 10 Maths Game on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/algebra-meltdown-flash-10-maths-game/2010/02/feed" title="Follow this post : Algebra Meltdown: Flash 10 Maths Game comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/algebra-meltdown-flash-10-maths-game/2010/02/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Promo Video for Prodigi App on YouTube</title>
		<link>http://www.nickkuh.com/flash-flex-air/new-promo-video-for-prodigi-app-on-youtube/2009/11/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/new-promo-video-for-prodigi-app-on-youtube/2009/11/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 11:24:07 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[Adobe Flash, Flex and Air]]></category>
		<category><![CDATA[Flex 4: Gumbo]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/?p=337</guid>
		<description><![CDATA[Prodigi is a Flex 4 application I developed for Mangahigh.com, &#8211; a powerful games-based math elearning system that features more than 12,000 questions with hints and worked solutions. Prodigi is adaptive, and increases question difficulty based on student performance. Take a look at the promotional video MH recently released on YouTube.com: Behind the scenes Prodigi [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnew-promo-video-for-prodigi-app-on-youtube%2F2009%2F11%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnew-promo-video-for-prodigi-app-on-youtube%2F2009%2F11%2F&amp;source=nickkuh&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><span>Prodigi is a Flex 4 application I developed for <a href="http://www.mangahigh.com">Mangahigh.com</a>, &#8211; a powerful games-based math elearning system that features more than 12,000 questions with hints and worked solutions. Prodigi is adaptive, and increases question difficulty based on student performance. Take a look at the promotional video MH recently released on <a href="http://www.youtube.com">YouTube.com</a>:</span></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/wYJ5nNsXeVc&amp;hl=en_GB&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/wYJ5nNsXeVc&amp;hl=en_GB&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Behind the scenes Prodigi also deals with the question authoring and auditing workflow and has enabled Manga High&#8217;s teachers to rapidly develop an extensive database of challenging Maths GCSE questions that students all over the UK (and soon the US) can use for revision and GCSE learning.</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnew-promo-video-for-prodigi-app-on-youtube%2F2009%2F11%2F&amp;title=New+Promo+Video+for+Prodigi+App+on+YouTube" title="Bookmark this post : New Promo Video for Prodigi App on YouTube on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnew-promo-video-for-prodigi-app-on-youtube%2F2009%2F11%2F&amp;title=New+Promo+Video+for+Prodigi+App+on+YouTube&amp;bodytext=Prodigi+is+a+Flex+4+application+I+developed+for+Mangahigh.com%2C+-+a+powerful+games-based+math+elearning+system+that+features+more+than+12%2C000+questions+with+hints+and+worked+solutions.+Prodigi+is+adaptive%2C+and+increases+question+difficulty+based+on+student+performance.+Take+a+look+at+the+promotional+video+MH+recently+re" title="Digg this post : New Promo Video for Prodigi App on YouTube"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnew-promo-video-for-prodigi-app-on-youtube%2F2009%2F11%2F&amp;t=New+Promo+Video+for+Prodigi+App+on+YouTube" title="Recommend this post : New Promo Video for Prodigi App on YouTube on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnew-promo-video-for-prodigi-app-on-youtube%2F2009%2F11%2F&amp;title=New+Promo+Video+for+Prodigi+App+on+YouTube" title="Share this post : New Promo Video for Prodigi App on YouTube on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnew-promo-video-for-prodigi-app-on-youtube%2F2009%2F11%2F&amp;title=New+Promo+Video+for+Prodigi+App+on+YouTube" title="Share this post : New Promo Video for Prodigi App on YouTube with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fnew-promo-video-for-prodigi-app-on-youtube%2F2009%2F11%2F" title="Tweet this post : New Promo Video for Prodigi App on YouTube on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/new-promo-video-for-prodigi-app-on-youtube/2009/11/feed" title="Follow this post : New Promo Video for Prodigi App on YouTube comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/new-promo-video-for-prodigi-app-on-youtube/2009/11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building native iPhone Apps with Flash: just what we didn&#8217;t need</title>
		<link>http://www.nickkuh.com/flash-flex-air/building-native-iphone-apps-with-flash-just-what-we-didnt-need/2009/10/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/building-native-iphone-apps-with-flash-just-what-we-didnt-need/2009/10/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 21:39:32 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[Adobe Flash, Flex and Air]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/?p=315</guid>
		<description><![CDATA[There&#8217;s a lot of buzz in the Flash community today following Adobe&#8217;s big announcement at Max Keynote regarding their new up and coming Flash CS5 publish to iPhone feature. In future versions of Flash, Flash Builder and ActionScript 3  you will be able to write Flash Applications that you can deploy to the iPhone as [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbuilding-native-iphone-apps-with-flash-just-what-we-didnt-need%2F2009%2F10%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbuilding-native-iphone-apps-with-flash-just-what-we-didnt-need%2F2009%2F10%2F&amp;source=nickkuh&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>There&#8217;s a lot of buzz in the Flash community today following Adobe&#8217;s <a href="http://www.techcrunch.com/2009/10/05/adobe-shows-off-flash-apps-for-iphone-yes-you-read-that-right/">big announcement at Max Keynote</a> regarding their new up and coming Flash CS5 <a href="http://www.adobe.com/devnet/logged_in/abansod_iphone.html">publish to iPhone feature</a>.</p>
<p>In future versions of Flash, Flash Builder and ActionScript 3  you will be able to write Flash Applications that you can deploy to the iPhone as native iPhone Apps via a new Flash to iPhone compiler that the Adobe engineers have written.</p>
<p>Flash Developers will still need to apply/register and pay to become <a href="http://developer.apple.com/iphone/program/">Apple iPhone Developers</a> like all the other 1000s of iPhone Devs. They will also need to go through the same slow submission process.</p>
<p>What&#8217;s important to clarify is that NO, we still don&#8217;t have Flash Player on the iPhone. So websites containing Flash content will still not display in Safari on iPhone. This is really the missing feature that the iPhone would benefit from. This is the feature that <a href="http://www.apple.com">Apple</a> ultimately hold the key to as they build and own Safari, the default native web browser on iPhone. One alternative Adobe may have considered would have been to develop their own web browser iPhone App (including Flash Player) as earlier this year <a href="http://www.reghardware.co.uk/2009/01/14/apple_third_party_iphone_browsers/">Apple has approved a bunch of web browser apps that compete with Safari</a> and are available now in the App Store.</p>
<p>So, Apple won&#8217;t play ball with Adobe and won&#8217;t permit the Flash Player Plugin on iPhone. The main reason for this is that Flash Player is a memory hog and Flash Player in Safari would probably just lead to endless Safari crashes.</p>
<p>Contrary to this, however, in other <a href="http://www.adobe.com/devnet/logged_in/jchurch_flashplayer10.1.html">Adobe news today </a>Flash Player 10.1 was released. 10.1 is a major Flash Player upgrade and the biggest changes appear to be all the <a href="http://www.mobilecrunch.com/2009/10/05/adobe-flash-10-1-to-support-just-about-every-mobile-os-except-the-iphones/">support added for Mobile Platforms</a> (apart from the iPhone). Kevin Lynch, Adobe CTO, highlighted the major performance improvements introduced in the latest release of the Flash Player. He displayed test result figures that showed a number of popular Flash and Flex Applications running 100%+ more efficiently in Flash Player 10.1. This, without any changes to the Flash Applications themselves. Perhaps Adobe took note of <a href="http://blog.joa-ebert.com/2009/09/28/after-the-sandbox/">Joa Ebert&#8217;s Leaving the Sandbox</a> presentation at <a href="http://www.flashonthebeach.com">Flash on the Beach</a> this year when he criticized the Adobe compiler and it&#8217;s optimization flaws.</p>
<p>With Adobe making big optimization changes to the Flash Player (and the compiler?) these are welcomed enhancements from a Flash Developer&#8217;s perspective. AS3 was such an improvement from an OOP coder&#8217;s standpoint but garbage collection was (and still is) pretty lousy. It&#8217;s very easy to create bloated SWFs &#8211; much easier than it ever was with AS2 or AS1. I guess that following all the new Flash Player features Adobe have introduced over the last 3 or 4 years the optimization fell behind on the priority list. My guess is that with Apple not permitting Flash Player on the iPhone this has helped to encourage Adobe to add these new optimizations to FP 10.1 and merge mobile and desktop versions of the Flash Player in this latest version of the player. I reckon Flash Player in Safari is not too far off with these improvements. Fingers crossed&#8230;</p>
<p>So, I&#8217;m a Flash / Flex Developer and have written <a href="http://www.nickkuh.com/my-stuff/iphone-application-get-lippy/2009/06/">native Objective-C applications for the iPhone</a>. I&#8217;ve also <a href="http://www.nickkuh.com/flash-flex-air/my-3-minutes-on-stage-at-flash-on-the-beach-09/2009/09/">presented my experiences of iPhone Development from a Flash Developer&#8217;s perspective</a> at the <a href="http://www.flashonthebeach.com/sessions/index.php?pageid=2999">Flash on the Beach &#8217;09 Elevator Pitch</a>. Will I now move to developing iPhone Apps using Flash? Well, probably not as I like the UI components that are included in the iPhone SDK as do the<a href="http://www.guardian.co.uk/media/pda/2008/oct/07/apple.mobilephones"> majority of the millions of exisiting Phone owers</a>. Yep, that&#8217;s right &#8211; you develop iPhone Apps in Flash and you ain&#8217;t gonna get access to all the existing iPhone SDK components built by Apple. It&#8217;s the same problem as you may have experienced if you try to develop an iPhone App using existing technologies that compile to iPhone friendly binaries such as <a href="http://unity3d.com">Unity 3D</a>.</p>
<p>Personally, I just wish Flash Developers would get a bit more adventurous and try other programming languages rather then nagging Adobe to play middle man. Please Adobe, compile my dodgy ActionScript into Objective-C!</p>
<p>Objective-C is really not that hard folks, go on and take the plunge!</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbuilding-native-iphone-apps-with-flash-just-what-we-didnt-need%2F2009%2F10%2F&amp;title=Building+native+iPhone+Apps+with+Flash%3A+just+what+we+didn%26%238217%3Bt+need" title="Bookmark this post : Building native iPhone Apps with Flash: just what we didn&#8217;t need on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbuilding-native-iphone-apps-with-flash-just-what-we-didnt-need%2F2009%2F10%2F&amp;title=Building+native+iPhone+Apps+with+Flash%3A+just+what+we+didn%26%238217%3Bt+need&amp;bodytext=There%27s+a+lot+of+buzz+in+the+Flash+community+today+following+Adobe%27s+big+announcement+at+Max+Keynote+regarding+their+new+up+and+coming+Flash+CS5+publish+to+iPhone+feature.%0D%0A%0D%0AIn+future+versions+of+Flash%2C+Flash+Builder+and+ActionScript+3%C2%A0+you+will+be+able+to+write+Flash+Applications+that+you+can+deploy+to+the+iPhone+as" title="Digg this post : Building native iPhone Apps with Flash: just what we didn&#8217;t need"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbuilding-native-iphone-apps-with-flash-just-what-we-didnt-need%2F2009%2F10%2F&amp;t=Building+native+iPhone+Apps+with+Flash%3A+just+what+we+didn%26%238217%3Bt+need" title="Recommend this post : Building native iPhone Apps with Flash: just what we didn&#8217;t need on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbuilding-native-iphone-apps-with-flash-just-what-we-didnt-need%2F2009%2F10%2F&amp;title=Building+native+iPhone+Apps+with+Flash%3A+just+what+we+didn%26%238217%3Bt+need" title="Share this post : Building native iPhone Apps with Flash: just what we didn&#8217;t need on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbuilding-native-iphone-apps-with-flash-just-what-we-didnt-need%2F2009%2F10%2F&amp;title=Building+native+iPhone+Apps+with+Flash%3A+just+what+we+didn%26%238217%3Bt+need" title="Share this post : Building native iPhone Apps with Flash: just what we didn&#8217;t need with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fbuilding-native-iphone-apps-with-flash-just-what-we-didnt-need%2F2009%2F10%2F" title="Tweet this post : Building native iPhone Apps with Flash: just what we didn&#8217;t need on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/building-native-iphone-apps-with-flash-just-what-we-didnt-need/2009/10/feed" title="Follow this post : Building native iPhone Apps with Flash: just what we didn&#8217;t need comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/building-native-iphone-apps-with-flash-just-what-we-didnt-need/2009/10/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Prodigi &#8211; Manga High: Flex 4 Application</title>
		<link>http://www.nickkuh.com/flash-flex-air/flex-4-application-prodigi-manga-high/2009/10/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/flex-4-application-prodigi-manga-high/2009/10/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 08:51:15 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[Adobe Flash, Flex and Air]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex 4: Gumbo]]></category>
		<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/new/?p=266</guid>
		<description><![CDATA[Prodigi, a key part of the new MangaHigh.com website,  enables teachers to author GCSE Maths questions for every lesson of the National Curriculum. Then activities are dynamically generated for students in playback mode.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex-4-application-prodigi-manga-high%2F2009%2F10%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex-4-application-prodigi-manga-high%2F2009%2F10%2F&amp;source=nickkuh&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Prodigi, a key part of the new <a href="http://www.mangahigh.com">MangaHigh.com</a> website,  enables teachers to author GCSE Maths questions for every lesson of the National Curriculum. Then activities are dynamically generated for students in playback mode. Take a look at the promo video:</p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/wYJ5nNsXeVc&#038;hl=en_GB&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/wYJ5nNsXeVc&#038;hl=en_GB&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p>A lot of my work during 2009 has been the development of this Flex RIA Content Authoring System. Prodigi serves 3 purposes:</p>
<ol>
<li>It dynamically generates interactive online Maths lessons for every topic and subtopic of the UK Maths GCSE National Curriculum. The student experience tracks student attainment and progress levels and adjusts it&#8217;s questions accordingly. It aims to help, challenge and improve student&#8217;s knowledge of GCSE Maths.</li>
<li>Prodigi sources it&#8217;s Maths questions from a database of hundreds of thousands of questions that have been submitted by Maths teachers. I had to develop an Author Mode for Prodigi to enable Teachers to create these questions. Author mode includes features such as multiple question templates and layouts, a complex equation editor, save and submission functions.</li>
<li>The third mode of Prodigi is Auditor Mode enabling the top Math&#8217;s Teachers/Professors at MangaHigh to quickly assess queued Maths questions, accept, reject, comment on them etc.</li>
</ol>
<p><span id="more-266"></span>Prodigi is an example of an RIA that uses Flex for it&#8217;s strengths but doesn&#8217;t fall down by Flex overuse. The Flex app is a part of a larger PHP Application that is powered by the <a href="http://framework.zend.com">Zend Framework</a>. The Flex part communicates with the PHP Application via Zend AMF (Flash&#8217;s <a href="http://en.wikipedia.org/wiki/Action_Message_Format">Action Message Format</a>).</p>
<p>I was commissioned by Manga High to:</p>
<ul>
<li> Design/conceive the technical infrastructure of Prodigi</li>
<li>Specify the <a href="http://en.wikipedia.org/wiki/Data_Transfer_Object">Data Transfer Objects</a> (DTOs) and client/remote server communication protocols</li>
<li>Build the Flex 4 client-side of the RIA: Playback/Author/Auditor modes; Modular Question Templates/Layouts; the application architecture.</li>
</ul>
<p>This project has been a big success with the client and <a href="http://mangahigh.com ">MangaHigh.com </a> launched 23rd September 2009. There&#8217;s been a lot of press coverage about the new site, highlights include Maths Guru Marcus du Sautoy interviewed on<a href="http://news.bbc.co.uk/today/hi/today/newsid_8272000/8272161.stm"> BBC&#8217;s The Today programme</a>, a slot on <a href="http://www.channel4.com/news/articles/uk/online+games+help+teach+maths/3356197">Channel 4 news</a>, a <a href="http://www.guardian.co.uk/technology/gamesblog/2009/sep/23/maths-digital-age-victor-keegan">Guardian newspaper article</a> to name but a few.</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex-4-application-prodigi-manga-high%2F2009%2F10%2F&amp;title=Prodigi+%26%238211%3B+Manga+High%3A+Flex+4+Application" title="Bookmark this post : Prodigi &#8211; Manga High: Flex 4 Application on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex-4-application-prodigi-manga-high%2F2009%2F10%2F&amp;title=Prodigi+%26%238211%3B+Manga+High%3A+Flex+4+Application&amp;bodytext=Prodigi%2C+a+key+part+of+the+new+MangaHigh.com+website%2C++enables+teachers+to+author+GCSE+Maths+questions+for+every+lesson+of+the+National+Curriculum.+Then+activities+are+dynamically+generated+for+students+in+playback+mode.+Take+a+look+at+the+promo+video%3A%0D%0A%0D%0A%0D%0A%0D%0AA+lot+of+my+work+during+2009+has+been+the+development+of+thi" title="Digg this post : Prodigi &#8211; Manga High: Flex 4 Application"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex-4-application-prodigi-manga-high%2F2009%2F10%2F&amp;t=Prodigi+%26%238211%3B+Manga+High%3A+Flex+4+Application" title="Recommend this post : Prodigi &#8211; Manga High: Flex 4 Application on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex-4-application-prodigi-manga-high%2F2009%2F10%2F&amp;title=Prodigi+%26%238211%3B+Manga+High%3A+Flex+4+Application" title="Share this post : Prodigi &#8211; Manga High: Flex 4 Application on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex-4-application-prodigi-manga-high%2F2009%2F10%2F&amp;title=Prodigi+%26%238211%3B+Manga+High%3A+Flex+4+Application" title="Share this post : Prodigi &#8211; Manga High: Flex 4 Application with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fflex-4-application-prodigi-manga-high%2F2009%2F10%2F" title="Tweet this post : Prodigi &#8211; Manga High: Flex 4 Application on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/flex-4-application-prodigi-manga-high/2009/10/feed" title="Follow this post : Prodigi &#8211; Manga High: Flex 4 Application comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/flex-4-application-prodigi-manga-high/2009/10/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My 3 minutes on stage at Flash on the Beach 09</title>
		<link>http://www.nickkuh.com/flash-flex-air/my-3-minutes-on-stage-at-flash-on-the-beach-09/2009/09/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/my-3-minutes-on-stage-at-flash-on-the-beach-09/2009/09/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 19:12:02 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[Adobe Flash, Flex and Air]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/?p=188</guid>
		<description><![CDATA[Thanks to Yezzer and Matt I managed to get hold of a video of my 3 minute &#8220;Elevator Pitch&#8221; at Flash on the Beach last week. Here it is! The point I was trying to get across in my 3 minutes was that the differences between OOP programming languages such as ActionScript 3 and Objective-C [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fmy-3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F09%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fmy-3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F09%2F&amp;source=nickkuh&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="450" height="273" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/rBuP6Mb7aTI&amp;hl=en&amp;fs=1&amp;" /><embed type="application/x-shockwave-flash" width="450" height="273" src="http://www.youtube.com/v/rBuP6Mb7aTI&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Thanks to <a href="http://www.iestyn.net">Yezzer</a> and <a href="http://zenbullets.com/blog/">Matt</a> I managed to get hold of a video of my <a href="http://www.flashonthebeach.com/sessions/index.php?pageid=2999">3 minute &#8220;Elevator Pitch&#8221;</a> at Flash on the Beach last week. Here it is!</p>
<p>The point I was trying to get across in my 3 minutes was that the differences between OOP programming languages such as ActionScript 3 and Objective-C really just boil down to syntax variants and not too much else really (memory handling aside which is a nightmare on the iPhone!). Flash runs in the browser (or desktop or mobile etc etc), Objective-C runs on the iPhone. Both languages contain classes, methods, static methods, constants, components etc etc.</p>
<p>The iPhone SDK has an MVC framework built in. MVC is a programmatic design pattern, it&#8217;s not unique to the iPhone and it&#8217;s not unique to <a href="http://puremvc.org">PureMVC</a>, <a href="http://opensource.adobe.com/wiki/display/cairngorm/">Cairngorm</a> or the other ActionScript Frameworks that Flash/Flex Developers often now use to build Apps.</p>
<p>ActionScript has matured so much since I started out as a Flash Dev 10 years ago. With it&#8217;s similarities to Java and other languages that have traditionally been considered more *hardcore* good OOP AS3 ActionScripters should no longer see themselves as just developers of Flash content &#8211; we now have skills that enable us to jump into other OOP languages quickly and easily (well not always!).</p>
<p>From a personal perspective I welcome Flex Builder and kiss goodbye to the timeline!</p>
<p>I guess the subject matter of my presentation &#8211; ActionScript to Objective-C (and everything in between!) was never going to appeal to all the 1000+ attendees of <a href="http://www.flashonthebeach.com">Flash on the Beach</a> but it sounds like <a href="http://blog.marchibbins.com/2009/09/24/day-two/">my point was taken by a few</a> at least <img src='http://www.nickkuh.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fmy-3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F09%2F&amp;title=My+3+minutes+on+stage+at+Flash+on+the+Beach+09" title="Bookmark this post : My 3 minutes on stage at Flash on the Beach 09 on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fmy-3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F09%2F&amp;title=My+3+minutes+on+stage+at+Flash+on+the+Beach+09&amp;bodytext=%0D%0A%0D%0AThanks+to+Yezzer+and+Matt+I+managed+to+get+hold+of+a+video+of+my+3+minute+%22Elevator+Pitch%22+at+Flash+on+the+Beach+last+week.+Here+it+is%21%0D%0A%0D%0AThe+point+I+was+trying+to+get+across+in+my+3+minutes+was+that+the+differences+between+OOP+programming+languages+such+as+ActionScript+3+and+Objective-C+really+just+boil+down+to+s" title="Digg this post : My 3 minutes on stage at Flash on the Beach 09"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fmy-3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F09%2F&amp;t=My+3+minutes+on+stage+at+Flash+on+the+Beach+09" title="Recommend this post : My 3 minutes on stage at Flash on the Beach 09 on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fmy-3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F09%2F&amp;title=My+3+minutes+on+stage+at+Flash+on+the+Beach+09" title="Share this post : My 3 minutes on stage at Flash on the Beach 09 on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fmy-3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F09%2F&amp;title=My+3+minutes+on+stage+at+Flash+on+the+Beach+09" title="Share this post : My 3 minutes on stage at Flash on the Beach 09 with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fmy-3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F09%2F" title="Tweet this post : My 3 minutes on stage at Flash on the Beach 09 on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/my-3-minutes-on-stage-at-flash-on-the-beach-09/2009/09/feed" title="Follow this post : My 3 minutes on stage at Flash on the Beach 09 comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/my-3-minutes-on-stage-at-flash-on-the-beach-09/2009/09/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Everything You Always Wanted to Know About Flex But Were Afraid to Ask</title>
		<link>http://www.nickkuh.com/flash-flex-air/everything-you-always-wanted-to-know-about-flex-but-were-afraid-to-ask/2009/09/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/everything-you-always-wanted-to-know-about-flex-but-were-afraid-to-ask/2009/09/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 15:36:12 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[Adobe Flash, Flex and Air]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/?p=185</guid>
		<description><![CDATA[On Tuesday night I&#8217;m going to be talking about Flex at the next Flash Brighton event at the Werks in Hove. It&#8217;s an informal event and most of us usually end up in the pub for a few beers afterwards. So, if you&#8217;re interested in Adobe Flex SDK and want to know what all the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Feverything-you-always-wanted-to-know-about-flex-but-were-afraid-to-ask%2F2009%2F09%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Feverything-you-always-wanted-to-know-about-flex-but-were-afraid-to-ask%2F2009%2F09%2F&amp;source=nickkuh&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>On Tuesday night I&#8217;m going to be <a href="http://www.flashbrighton.org/wordpress/?p=324">talking about Flex</a> at the next <a href="http://www.flashbrighton.org">Flash Brighton</a> event at the Werks in Hove. It&#8217;s an informal event and most of us usually end up in the pub for a few beers afterwards. So, if you&#8217;re interested in Adobe Flex SDK and want to know what all the fuss is about then why not come along and see if I can convince you to have a go! <a href="http://upcoming.yahoo.com/event/4547207/">Sign up at upcoming here</a>.</p>
<p>In the presentation I&#8217;m going to look at my favorite 10 Flex features, try a little Flex Builder coding, link up to a few cool Flex RIAs and give away a demo Flex app I&#8217;ve build that brings together some of the features I&#8217;ll cover.</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Feverything-you-always-wanted-to-know-about-flex-but-were-afraid-to-ask%2F2009%2F09%2F&amp;title=Everything+You+Always+Wanted+to+Know+About+Flex+But+Were+Afraid+to+Ask" title="Bookmark this post : Everything You Always Wanted to Know About Flex But Were Afraid to Ask on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Feverything-you-always-wanted-to-know-about-flex-but-were-afraid-to-ask%2F2009%2F09%2F&amp;title=Everything+You+Always+Wanted+to+Know+About+Flex+But+Were+Afraid+to+Ask&amp;bodytext=On+Tuesday+night+I%27m+going+to+be+talking+about+Flex+at+the+next+Flash+Brighton+event+at+the+Werks+in+Hove.+It%27s+an+informal+event+and+most+of+us+usually+end+up+in+the+pub+for+a+few+beers+afterwards.+So%2C+if+you%27re+interested+in+Adobe+Flex+SDK+and+want+to+know+what+all+the+fuss+is+about+then+why+not+come+along+and+see+if" title="Digg this post : Everything You Always Wanted to Know About Flex But Were Afraid to Ask"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Feverything-you-always-wanted-to-know-about-flex-but-were-afraid-to-ask%2F2009%2F09%2F&amp;t=Everything+You+Always+Wanted+to+Know+About+Flex+But+Were+Afraid+to+Ask" title="Recommend this post : Everything You Always Wanted to Know About Flex But Were Afraid to Ask on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Feverything-you-always-wanted-to-know-about-flex-but-were-afraid-to-ask%2F2009%2F09%2F&amp;title=Everything+You+Always+Wanted+to+Know+About+Flex+But+Were+Afraid+to+Ask" title="Share this post : Everything You Always Wanted to Know About Flex But Were Afraid to Ask on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Feverything-you-always-wanted-to-know-about-flex-but-were-afraid-to-ask%2F2009%2F09%2F&amp;title=Everything+You+Always+Wanted+to+Know+About+Flex+But+Were+Afraid+to+Ask" title="Share this post : Everything You Always Wanted to Know About Flex But Were Afraid to Ask with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Feverything-you-always-wanted-to-know-about-flex-but-were-afraid-to-ask%2F2009%2F09%2F" title="Tweet this post : Everything You Always Wanted to Know About Flex But Were Afraid to Ask on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/everything-you-always-wanted-to-know-about-flex-but-were-afraid-to-ask/2009/09/feed" title="Follow this post : Everything You Always Wanted to Know About Flex But Were Afraid to Ask comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/everything-you-always-wanted-to-know-about-flex-but-were-afraid-to-ask/2009/09/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transparency for Flex 4/Spark Applications</title>
		<link>http://www.nickkuh.com/flash-flex-air/transparency-for-flex-4spark-applications/2009/08/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/transparency-for-flex-4spark-applications/2009/08/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 10:18:59 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[Adobe Flash, Flex and Air]]></category>
		<category><![CDATA[Flex 4]]></category>
		<category><![CDATA[Flex Skins]]></category>
		<category><![CDATA[Gumbo]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/?p=182</guid>
		<description><![CDATA[This might save you some time if you&#8217;re building apps with Flex 4 Beta (Gumbo). In Spark Applications there is no backgroundAlpha property within you main MXML application file. To create a transparent Flex 4 background you&#8217;ll need to do the following: 1) Create a custom application skin MXML file. 2) Set the skinClass of [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Ftransparency-for-flex-4spark-applications%2F2009%2F08%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Ftransparency-for-flex-4spark-applications%2F2009%2F08%2F&amp;source=nickkuh&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>This might save you some time if you&#8217;re building apps with Flex 4 Beta (Gumbo). In Spark Applications there is no  backgroundAlpha property within you main MXML application file. To create a transparent Flex 4 background you&#8217;ll need to do the following:</p>
<p>1) Create a custom application skin MXML file.</p>
<p>2) Set the skinClass of your application MXML to the custom skin file: you can do this in the MXML for your app &#8211; eg. skinClass=&#8221;com.mycompany.myproject.skins.MyAppSkin&#8221;.</p>
<p>Search for the default ApplicationSkin.mxml in the Flex 4 SDK. Duplicate this file, rename it and place it within your project source. In the new skin code I just added alpha=&#8221;0&#8243; to the backgroundRect declaration.</p>
<p>That&#8217;s it <img src='http://www.nickkuh.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Ftransparency-for-flex-4spark-applications%2F2009%2F08%2F&amp;title=Transparency+for+Flex+4%2FSpark+Applications" title="Bookmark this post : Transparency for Flex 4/Spark Applications on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Ftransparency-for-flex-4spark-applications%2F2009%2F08%2F&amp;title=Transparency+for+Flex+4%2FSpark+Applications&amp;bodytext=This+might+save+you+some+time+if+you%27re+building+apps+with+Flex+4+Beta+%28Gumbo%29.+In+Spark+Applications+there+is+no++backgroundAlpha+property+within+you+main+MXML+application+file.+To+create+a+transparent+Flex+4+background+you%27ll+need+to+do+the+following%3A%0D%0A%0D%0A1%29+Create+a+custom+application+skin+MXML+file.%0D%0A%0D%0A2%29+Set+the+sk" title="Digg this post : Transparency for Flex 4/Spark Applications"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Ftransparency-for-flex-4spark-applications%2F2009%2F08%2F&amp;t=Transparency+for+Flex+4%2FSpark+Applications" title="Recommend this post : Transparency for Flex 4/Spark Applications on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Ftransparency-for-flex-4spark-applications%2F2009%2F08%2F&amp;title=Transparency+for+Flex+4%2FSpark+Applications" title="Share this post : Transparency for Flex 4/Spark Applications on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Ftransparency-for-flex-4spark-applications%2F2009%2F08%2F&amp;title=Transparency+for+Flex+4%2FSpark+Applications" title="Share this post : Transparency for Flex 4/Spark Applications with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Ftransparency-for-flex-4spark-applications%2F2009%2F08%2F" title="Tweet this post : Transparency for Flex 4/Spark Applications on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/transparency-for-flex-4spark-applications/2009/08/feed" title="Follow this post : Transparency for Flex 4/Spark Applications comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/transparency-for-flex-4spark-applications/2009/08/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>3 minutes on stage at Flash on the Beach &#8217;09</title>
		<link>http://www.nickkuh.com/flash-flex-air/3-minutes-on-stage-at-flash-on-the-beach-09/2009/08/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/3-minutes-on-stage-at-flash-on-the-beach-09/2009/08/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 15:58:24 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[Adobe Flash, Flex and Air]]></category>
		<category><![CDATA[Elevator Pitch]]></category>
		<category><![CDATA[Flash on the Beach]]></category>
		<category><![CDATA[FOTB]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/?p=174</guid>
		<description><![CDATA[At Flash on the Beach this year I&#8217;ve been selected as one of 20 speakers who will get the chance to present to a full house at the Brighton Dome. But there&#8217;s a catch &#8211; we&#8217;ve each got the limelight for just 3 minutes! There&#8217;s a real mixture of talent for this session and it [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2F3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F08%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2F3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F08%2F&amp;source=nickkuh&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>At Flash on the Beach this year I&#8217;ve been selected as one of <a title="20 Speakers" href="http://www.flashonthebeach.com/sessions/index.php?pageid=2999">20 speakers</a> who will get the chance to present to a full house at the Brighton Dome. But there&#8217;s a catch &#8211; we&#8217;ve each got the limelight for just 3 minutes!</p>
<p>There&#8217;s a real mixture of talent for this session and it looks pretty evenly split between designers and developers.</p>
<p>I think for many of the presenters this will be their chance to showcase their most visually engaging work, as 3 minutes is such a short time frame to get anything in-depth across.</p>
<p>The title of my talk, however, is <em>ActionScript to Objective-C (and everything in between) -</em> perhaps not the sexiest title and certainly not that easy to spice up with animated visuals!</p>
<p>I guess my thought behind this proposed presentation was to <em>stick to what you do best</em>. I&#8217;m a very experienced OOP ActionScripter and I write good extendable code (even if I do say so myself!). As my OOP skills have developed over the years so has my ability to pick up new programming languages quickly. This is really the message I hope to get across at FOTB &#8211; good OOP concepts in ActionScript can be applied to many programming languages and if you&#8217;re good at OOP then the core development principles of the iPhone SDK, Objective-C and other OOP based languages will not take long to master.</p>
<p>Come and check out the Elevator Pitch on Tuesday September 22nd at <a href="http://www.flashonthebeach.com">Flash on the Beach 2009</a> <img src='http://www.nickkuh.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2F3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F08%2F&amp;title=3+minutes+on+stage+at+Flash+on+the+Beach+%26%238217%3B09" title="Bookmark this post : 3 minutes on stage at Flash on the Beach &#8217;09 on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2F3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F08%2F&amp;title=3+minutes+on+stage+at+Flash+on+the+Beach+%26%238217%3B09&amp;bodytext=At+Flash+on+the+Beach+this+year+I%27ve+been+selected+as+one+of+20+speakers+who+will+get+the+chance+to+present+to+a+full+house+at+the+Brighton+Dome.+But+there%27s+a+catch+-+we%27ve+each+got+the+limelight+for+just+3+minutes%21%0D%0A%0D%0AThere%27s+a+real+mixture+of+talent+for+this+session+and+it+looks+pretty+evenly+split+between+designers" title="Digg this post : 3 minutes on stage at Flash on the Beach &#8217;09"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2F3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F08%2F&amp;t=3+minutes+on+stage+at+Flash+on+the+Beach+%26%238217%3B09" title="Recommend this post : 3 minutes on stage at Flash on the Beach &#8217;09 on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2F3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F08%2F&amp;title=3+minutes+on+stage+at+Flash+on+the+Beach+%26%238217%3B09" title="Share this post : 3 minutes on stage at Flash on the Beach &#8217;09 on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2F3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F08%2F&amp;title=3+minutes+on+stage+at+Flash+on+the+Beach+%26%238217%3B09" title="Share this post : 3 minutes on stage at Flash on the Beach &#8217;09 with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2F3-minutes-on-stage-at-flash-on-the-beach-09%2F2009%2F08%2F" title="Tweet this post : 3 minutes on stage at Flash on the Beach &#8217;09 on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/3-minutes-on-stage-at-flash-on-the-beach-09/2009/08/feed" title="Follow this post : 3 minutes on stage at Flash on the Beach &#8217;09 comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/3-minutes-on-stage-at-flash-on-the-beach-09/2009/08/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to implement background images on Spark control buttons with scale 9</title>
		<link>http://www.nickkuh.com/flash-flex-air/how-to-implement-background-images-on-spark-control-buttons-with-scale-9/2009/06/</link>
		<comments>http://www.nickkuh.com/flash-flex-air/how-to-implement-background-images-on-spark-control-buttons-with-scale-9/2009/06/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 16:04:48 +0000</pubDate>
		<dc:creator>Nick Kuh</dc:creator>
				<category><![CDATA[Adobe Flash, Flex and Air]]></category>
		<category><![CDATA[Adobe Catalyst]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Gumbo]]></category>

		<guid isPermaLink="false">http://www.nickkuh.com/?p=165</guid>
		<description><![CDATA[Hopefully this quick post will be a bit of a time saver for Flex Developers developing Flex 4 SDK projects with Flash Builder or other tools&#8230; Over the last year or 2 I&#8217;ve really got comfortable with reskinning Flex 3 applications. For me the quickest, simlest way has usually been to cut up the designer&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fhow-to-implement-background-images-on-spark-control-buttons-with-scale-9%2F2009%2F06%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fhow-to-implement-background-images-on-spark-control-buttons-with-scale-9%2F2009%2F06%2F&amp;source=nickkuh&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Hopefully this quick post will be a bit of a time saver for Flex Developers developing Flex 4 SDK projects with Flash Builder or other tools&#8230;</p>
<p>Over the last year or 2 I&#8217;ve really got comfortable with reskinning Flex 3 applications. For me the quickest, simlest way has usually been to cut up the designer&#8217;s photoshop file and implement Scale 9 and syntax in my Flex css files &#8211; an example of a recent Flex 3 button skin looked like this:</p>
<blockquote><p>.answerButton<br />
{<br />
fontSize    : 44px;<br />
fontWeight    : bold;<br />
paddingLeft    : 15px;<br />
paddingRight: 15px;</p>
<p>upSkin        : Embed(source=&#8221;assets/images/new/buttons/answerButtonUp.png&#8221;,scaleGridTop=&#8221;20&#8243;, scaleGridLeft=&#8221;19&#8243;, scaleGridRight=&#8221;145&#8243;,  scaleGridBottom=&#8221;99&#8243;);<br />
overSkin    : Embed(source=&#8221;assets/images/new/buttons/answerButtonOver.png&#8221;,scaleGridTop=&#8221;20&#8243;, scaleGridLeft=&#8221;19&#8243;, scaleGridRight=&#8221;145&#8243;,  scaleGridBottom=&#8221;99&#8243;);<br />
downSkin    : Embed(source=&#8221;assets/images/new/buttons/answerButtonOver.png&#8221;,scaleGridTop=&#8221;20&#8243;, scaleGridLeft=&#8221;19&#8243;, scaleGridRight=&#8221;145&#8243;,  scaleGridBottom=&#8221;99&#8243;);<br />
disabledSkin: Embed(source=&#8221;assets/images/new/buttons/answerButtonUp.png&#8221;,scaleGridTop=&#8221;20&#8243;, scaleGridLeft=&#8221;19&#8243;, scaleGridRight=&#8221;145&#8243;,  scaleGridBottom=&#8221;99&#8243;);<br />
selectedDisabledSkin: Embed(source=&#8221;assets/images/new/buttons/answerButtonUp.png&#8221;,scaleGridTop=&#8221;20&#8243;, scaleGridLeft=&#8221;19&#8243;, scaleGridRight=&#8221;145&#8243;,  scaleGridBottom=&#8221;99&#8243;);</p>
<p>}</p></blockquote>
<p>Luckily for me the Flex 4 SDK is backwards compatible for the most part so you can still skin an mx.controls.Button component with the CSS above.</p>
<p>However&#8230; one of the reasons I&#8217;ve been migrating my Flex 3 project to Flex 4 is to make use of some of the skinning improvements it offers with it&#8217;s new Spark components built on top of the Flex 3 halo components.</p>
<p>The code above does not work on a spark.components.Button. I assumed it would&#8230; Here&#8217;s how I got the example below to work:</p>
<p><a href="http://www.nickkuh.com/demos/gumbo/scale_nine/">http://www.nickkuh.com/demos/gumbo/scale_nine/</a></p>
<p>Step 1) Create a new Flex Project in Flash Builder</p>
<p>Step 2) You can still customize the label colours and states but you&#8217;ll need to implement the new namespaces in CSS introduced in Flex 4 to avoid warnings and errors &#8211; see the gumbo_scale_nine.css file.</p>
<p>Step 3) You&#8217;ll also notice within the gumbo_scale_nine.css file that I&#8217;m pointing a custom style (&#8216;answerButton&#8217;) to an MXML skin file in the location com.nickkuh.skins.AnswerButtonSkin.mxml. This is the file that I&#8217;ve used to custom skin the spark button component. I copied the ButtonSkin.mxml file that comes with Flex 4, stipped out a load of fills and strokes I didn&#8217;t require and add these important lines:</p>
<blockquote><p>&lt;s:BitmapImage left=&#8221;0&#8243; right=&#8221;0&#8243; top=&#8221;0&#8243; bottom=&#8221;0&#8243; source=&#8221;@Embed(source=&#8217;assets/answerButtonUp.png&#8217;,scaleGridTop=&#8217;20&#8242;, scaleGridLeft=&#8217;19&#8242;, scaleGridRight=&#8217;145&#8242;,  scaleGridBottom=&#8217;99&#8242;)&#8221; resizeMode=&#8221;scale&#8221; includeIn=&#8221;up&#8221; /&gt;</p>
<p>&lt;s:BitmapImage left=&#8221;0&#8243; right=&#8221;0&#8243; top=&#8221;0&#8243; bottom=&#8221;0&#8243; source=&#8221;@Embed(source=&#8217;assets/answerButtonOver.png&#8217;,scaleGridTop=&#8217;20&#8242;, scaleGridLeft=&#8217;19&#8242;, scaleGridRight=&#8217;145&#8242;,  scaleGridBottom=&#8217;99&#8242;)&#8221; resizeMode=&#8221;scale&#8221; excludeFrom=&#8221;up&#8221; /&gt;</p></blockquote>
<p>By default the resizeMode parameter will just tile and repeat your graphic which wasn&#8217;t the desired functionality.</p>
<p>So that&#8217;s it. Although it took more step to reskin than a Flex 3 component I can certainly see the benefits of the separate FXG skin file. Next step is to change that SimpleText labelElement into a RichEditableText component and enable multilines and imline images into my Spark buttons. Wish me luck!</p>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fhow-to-implement-background-images-on-spark-control-buttons-with-scale-9%2F2009%2F06%2F&amp;title=How+to+implement+background+images+on+Spark+control+buttons+with+scale+9" title="Bookmark this post : How to implement background images on Spark control buttons with scale 9 on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fhow-to-implement-background-images-on-spark-control-buttons-with-scale-9%2F2009%2F06%2F&amp;title=How+to+implement+background+images+on+Spark+control+buttons+with+scale+9&amp;bodytext=Hopefully+this+quick+post+will+be+a+bit+of+a+time+saver+for+Flex+Developers+developing+Flex+4+SDK+projects+with+Flash+Builder+or+other+tools...%0D%0A%0D%0AOver+the+last+year+or+2+I%27ve+really+got+comfortable+with+reskinning+Flex+3+applications.+For+me+the+quickest%2C+simlest+way+has+usually+been+to+cut+up+the+designer%27s+photoshop" title="Digg this post : How to implement background images on Spark control buttons with scale 9"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fhow-to-implement-background-images-on-spark-control-buttons-with-scale-9%2F2009%2F06%2F&amp;t=How+to+implement+background+images+on+Spark+control+buttons+with+scale+9" title="Recommend this post : How to implement background images on Spark control buttons with scale 9 on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fhow-to-implement-background-images-on-spark-control-buttons-with-scale-9%2F2009%2F06%2F&amp;title=How+to+implement+background+images+on+Spark+control+buttons+with+scale+9" title="Share this post : How to implement background images on Spark control buttons with scale 9 on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fhow-to-implement-background-images-on-spark-control-buttons-with-scale-9%2F2009%2F06%2F&amp;title=How+to+implement+background+images+on+Spark+control+buttons+with+scale+9" title="Share this post : How to implement background images on Spark control buttons with scale 9 with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.nickkuh.com%2Fflash-flex-air%2Fhow-to-implement-background-images-on-spark-control-buttons-with-scale-9%2F2009%2F06%2F" title="Tweet this post : How to implement background images on Spark control buttons with scale 9 on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://www.nickkuh.com/flash-flex-air/how-to-implement-background-images-on-spark-control-buttons-with-scale-9/2009/06/feed" title="Follow this post : How to implement background images on Spark control buttons with scale 9 comments"><span class="head">Subscribe to the comments on this post</span></a></li>
</ul>
<div class="clean"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nickkuh.com/flash-flex-air/how-to-implement-background-images-on-spark-control-buttons-with-scale-9/2009/06/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

