<?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>NTG Web Site</title>
	<atom:link href="http://www.newyyz.com/ntgsite/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.newyyz.com/ntgsite</link>
	<description>Application Development - HTML5, Android, PlayBook, Ipad, Video and Rich Internet Application Training</description>
	<lastBuildDate>Mon, 20 Feb 2012 15:37:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Fast Line Rendering in WPF</title>
		<link>http://www.newyyz.com/ntgsite/2012/02/fast-line-rendering-in-wpf/</link>
		<comments>http://www.newyyz.com/ntgsite/2012/02/fast-line-rendering-in-wpf/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 14:22:39 +0000</pubDate>
		<dc:creator>seanh</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://www.newyyz.com/ntgsite/?p=3099</guid>
		<description><![CDATA[Fast Rendering in WPF using GDI using a Background Thread  The Problem Rendering tens of thousands of lines was taking several seconds to render in WPF. I was trying to draw a graph with a dozen series or so in real-time (the data comes in at 10Hz, but we&#8217;d settle for 1 or 2 frames [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Fast Rendering in WPF using GDI using a Background Thread</strong></p>
<p><span style="font-family: Times New Roman; font-size: small;"> </span><strong>The Problem</strong></p>
<p>Rendering tens of thousands of lines was taking several seconds to render in WPF.</p>
<p>I was trying to draw a graph with a dozen series or so in real-time (the data comes in at 10Hz, but we&#8217;d settle for 1 or 2 frames per second as a worst case). Each series had over 1,000 data points which I represented as a line graph, and implemented with a Path object that had a StreamGeometry. This should have been the fastest way to draw a path, and profiling <em>my code</em> it was pretty fast. However, the actual rendering <em>on the render thread </em>took a many seconds and this made the UI unresponsive (it needs the render thread too, of course).</p>
<p><strong>What I did</strong></p>
<p>I looked at Petzold&#8217;s<span style="text-decoration: underline;"> <a href="http://msdn.microsoft.com/en-us/magazine/dd483292.aspx">article</a></span> and it made drawing the paths very fast. The hang up was still in the render thread. That solution helps if you have a lot of objects. I actually have about 12 paths, but they are composed of 10s of 1000&#8242;s of lines. My best theory is that the GPU is turning all those lines into pairs of triangles and that&#8217;s surprising slower than doing <span style="text-decoration: underline;"><a href="http://en.wikipedia.org/wiki/Bresenham's_line_algorithm">Bresenham&#8217;s</a></span> algorithm in software. See Jeremiah Morril&#8217;s <span style="text-decoration: underline;"><a href="http://jeremiahmorrill.com/2011/02/14/a-critical-deep-dive-into-the-wpf-rendering-system/">deep dive into wpf rendering</a></span>.</p>
<p>It&#8217;s shocking (to me) that software rendering would be so much faster than hardware rendering. I haven&#8217;t verified this, but I believe the GPU is rendering each line as two triangles as if it were a rectangle. And apparently this is much slower than drawing a simple line.</p>
<p>Using <a href="http://en.wikipedia.org/wiki/GDI">GDI+</a> to draw the lines on a bitmap gave me performance improvement of two orders of magnitude. (I guess GPU development has been driving the game world whereas fast rendering of polygons for 3D is where the money is at.)</p>
<p>I&#8217;m hoping to get some time to try out Direct2D to see how it performs at drawing lines. Alas, that wouldn&#8217;t work for my project because Direct2D isn&#8217;t supported in older versions of windows. I don&#8217;t know if it would help since it uses the two-triangle method of drawing lines.</p>
<p>A huge bonus using the GDI library is that I can chose which thread to do the line rendering. Using a background thread keeps the rest of the UI responsive. Once the bitmap is rendered, it&#8217;s copied to the screen in an Image control (the render thread then renders this image, which is a super fast bitmap copy). Since I only allow one background thread, additional requests to draw are ignored until my renderer has finished: A simple way to adjust the frame-rate for the CPU.</p>
<p><strong>Acknowledgements and References</strong></p>
<p>Thanks for <span style="text-decoration: underline;"><a href="http://khason.net/blog/how-to-high-performance-graphics-in-wpf/">Tamir Khason</a></span> for pointing me in the right direction for creating an interop bitmap. Thanks to Dwayne Need for getting me going with a<span style="text-decoration: underline;"> <a href="http://blogs.msdn.com/b/dwayneneed/archive/2007/04/26/multithreaded-ui-hostvisual.aspx">HostVisual to draw into.</a></span></p>
<p>And see this <span style="text-decoration: underline;"><a href="http://www.kynosarges.de/WpfPerformance.html">blog</a></span> for an excellent analysis of the speed of different techniques. For me drawing direct <em>aliased</em> lines was the key. So GDI+ was the way to go. I considered Direct2D, but if it uses the GPU, it may turn out to have the same problem WPF did. I&#8217;m hoping to try that eventually, but Direct2D doesn&#8217;t work in XP, and we have to stay compatible.</p>
<p><strong>The Code</strong></p>
<p>See my test program <span style="text-decoration: underline;"><a title="here" href="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/other/FastLineRenderer.zip">here</a></span></p>
<p><strong>Here are some of the key bits in the code: </strong></p>
<p>GraphCanvas.xaml is the user control for drawing the lines. All it has is an image control to host the bitmap. Just this:<br />
<a href="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/02/SH.FLR_.Xaml_.png"><img class="alignnone size-full wp-image-3281" title="Graphics Canvas Xaml" src="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/02/SH.FLR_.Xaml_.png" alt="Xaml Code for  graphics canvas" width="374" height="72" /></a></p>
<p>The code behind GraphControl.cs has a BackgroundWorker called RenderWorker that draws the paths with a couple of GDI calls.</p>
<p><a href="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/02/SH.FLR_.DoWork.png"><img class="alignnone size-full wp-image-3282" title="Do Work Method" src="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/02/SH.FLR_.DoWork.png" alt="" width="735" height="302" /></a></p>
<p>When that&#8217;s done, you just copy the bitmap into the image control.</p>
<p><a href="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/02/SH.FLR_.Completed1.png"><img class="alignnone size-full wp-image-3287" title="Completed Method" src="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/02/SH.FLR_.Completed1.png" alt="" width="653" height="320" /></a></p>
<p><span style="mso-spacerun: yes;"> </span></p>
<p>RenderData is my own structure, like Path it has figures and points to draw between. Normally I’d use a Path but it’s a dependency object and doesn&#8217;t move easily between threads.</p>
<p>Initialize() creates the bitmaps in a few lines of code. This is what Tamir and Dwayne Need&#8217;s blogs helped me with. See the code for the details.</p>
<p><a href="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/02/SH.FLR_.Init_.png"><img class="alignnone size-full wp-image-3286" title="Initialize method" src="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/02/SH.FLR_.Init_.png" alt="" width="735" height="269" /></a></p>
<p>The background rendering technique is a really powerful technique whenever you have to draw something that takes any length of time. The rest is all about getting fast lines.</p>
<p>I hope you find that useful. Please leave me a reply if you do.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.newyyz.com%2Fntgsite%2F2012%2F02%2Ffast-line-rendering-in-wpf%2F&amp;title=Fast%20Line%20Rendering%20in%20WPF"><img src="http://www.newyyz.com/ntgsite/wp/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.newyyz.com/ntgsite/2012/02/fast-line-rendering-in-wpf/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>NTG becomes an Appcelerator Partner</title>
		<link>http://www.newyyz.com/ntgsite/2012/02/ntg-becomes-an-appcelerator-partner/</link>
		<comments>http://www.newyyz.com/ntgsite/2012/02/ntg-becomes-an-appcelerator-partner/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 19:37:16 +0000</pubDate>
		<dc:creator>Glenn</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.newyyz.com/ntgsite/?p=3222</guid>
		<description><![CDATA[NTG is pleased to announce a partnership with Appcelerator! While the market for mobile applications is larger than ever before, developing and supporting multiple platforms can be complicated and expensive.  Appcelerator is a new software company that is enabling businesses to employ Web developers to build intuitive, content-rich native applications for multiple devices using a common cross-platform code [...]]]></description>
			<content:encoded><![CDATA[<div id="cboxOverlay" style="display: none;"></div>
<div id="colorbox" style="padding-right: 0px; padding-bottom: 38px; display: none;"></div>
<div id="cboxOverlay" style="display: none;"></div>
<div id="colorbox" style="padding-right: 0px; padding-bottom: 38px; display: none;"></div>
<p>NTG is pleased to announce a partnership with Appcelerator!</p>
<p>While the market for mobile applications is larger than ever before, developing and supporting multiple platforms can be complicated and expensive.  Appcelerator is a new software company that is enabling businesses to employ Web developers to build intuitive, content-rich native applications for multiple devices using a common cross-platform code base. By using Appcelerator products, Web developers are able to:</p>
<ul>
<li><strong>Cut development time in half</strong> by building apps once and deploying on multiple platforms.</li>
<li><strong>Drive down development costs.</strong></li>
<li><strong>Avoid vendor lock-in </strong>by using an open platform that maximizes choices.</li>
</ul>
<p>NTG looks forward to reselling the Appcelerator platform and providing Appcelerator-related development and enablement services.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.newyyz.com%2Fntgsite%2F2012%2F02%2Fntg-becomes-an-appcelerator-partner%2F&amp;title=NTG%20becomes%20an%20Appcelerator%20Partner"><img src="http://www.newyyz.com/ntgsite/wp/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.newyyz.com/ntgsite/2012/02/ntg-becomes-an-appcelerator-partner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Disable Design View in Flash Builder</title>
		<link>http://www.newyyz.com/ntgsite/2012/01/how-to-disable-design-view-in-flash-builder/</link>
		<comments>http://www.newyyz.com/ntgsite/2012/01/how-to-disable-design-view-in-flash-builder/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 23:44:54 +0000</pubDate>
		<dc:creator>chadu</dc:creator>
				<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[design mode]]></category>
		<category><![CDATA[design view]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[flash builder]]></category>
		<category><![CDATA[memory]]></category>

		<guid isPermaLink="false">http://www.newyyz.com/ntgsite/?p=3092</guid>
		<description><![CDATA[By Chad Upton &#8211; senior consultant Disable Flash Builder&#8217;s &#8220;Design Mode&#8221; if you want to save some memory or avoid some errors that some plugins cause when using design view. It&#8217;s pretty straight forward, go to the Window menu and click &#8220;Enable Design Mode&#8221; to remove the checkmark:]]></description>
			<content:encoded><![CDATA[<p>By Chad Upton &#8211; senior consultant</p>
<p>Disable Flash Builder&#8217;s &#8220;Design Mode&#8221; if you want to save some memory or avoid some errors that some plugins cause when using design view. It&#8217;s pretty straight forward, go to the Window menu and click &#8220;Enable Design Mode&#8221; to remove the checkmark:</p>
<p><img class="aligncenter size-full wp-image-3210" title="Disable Flash Builder Design Mode" src="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/01/Disable-Design-Mode.png" alt="" width="417" height="405" /></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.newyyz.com%2Fntgsite%2F2012%2F01%2Fhow-to-disable-design-view-in-flash-builder%2F&amp;title=How%20to%20Disable%20Design%20View%20in%20Flash%20Builder"><img src="http://www.newyyz.com/ntgsite/wp/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.newyyz.com/ntgsite/2012/01/how-to-disable-design-view-in-flash-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Mobile: Skinning the ActionBar</title>
		<link>http://www.newyyz.com/ntgsite/2012/01/flex-mobile-skinning-the-actionbar/</link>
		<comments>http://www.newyyz.com/ntgsite/2012/01/flex-mobile-skinning-the-actionbar/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 21:10:07 +0000</pubDate>
		<dc:creator>alaint</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://www.newyyz.com/ntgsite/?p=3157</guid>
		<description><![CDATA[By Alain Thibodeau – Consultant In a Flex mobile application, the ActionBar is the main bar at the top which contains several content areas. These areas consists of the titleDisplay, actionGroup, titleGroup and navigationGroup skin parts. With a custom skin you can move these skin parts where you need them and add background images. I [...]]]></description>
			<content:encoded><![CDATA[<p><em>By Alain Thibodeau – Consultant</em></p>
<p>In a Flex mobile application, the ActionBar is the main bar at the top which contains several content areas. These areas consists of the titleDisplay, actionGroup, titleGroup and navigationGroup skin parts. With a custom skin you can move these skin parts where you need them and add background images.</p>
<p>I first hit Photoshop and created my visuals for the ActionBar as shown below. (I know most of you designers out there will give me the &#8220;eye brow&#8221; with my design, but go easy on me please…)</p>
<p><img class="alignnone size-full wp-image-3158" title="ActionBarSkinPS" src="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/01/actionbarps.png" alt="" width="499" height="149" /></p>
<p>I sliced out the logo and a 3 pixel slice of the bar. Looking like this:</p>
<p><img class="alignnone size-full wp-image-3160" title="ActionBarBGSlice" src="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/01/bar.png" alt="" width="3" height="122" />      <img class="alignnone size-full wp-image-3161" title="ActionBarLogoSlice" src="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/01/logo.png" alt="" width="144" height="122" /></p>
<p>I then created a Flex Mobile Project. In the main project file, I referenced a css file which contains this code:</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">@<span style="color: #004993;">namespace</span> s <span style="color: #990000;">&quot;library://ns.adobe.com/flex/spark&quot;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<br />
s<span style="color: #000066; font-weight: bold;">|</span>ActionBar <span style="color: #000000;">&#123;</span><br />
skinClass<span style="color: #000066; font-weight: bold;">:</span>ClassReference<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;skins.CustomActionBarSkin&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
defaultButtonAppearance<span style="color: #000066; font-weight: bold;">:</span> beveled<span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #000000;">&#125;</span><br />
<br />
s<span style="color: #000066; font-weight: bold;">|</span>ActionBar #titleDisplay <span style="color: #000000;">&#123;</span><br />
fontWeight<span style="color: #000066; font-weight: bold;">:</span>normal<span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #004993;">color</span><span style="color: #000066; font-weight: bold;">:</span> #000000<span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #000000;">&#125;</span><br />
<br />
s<span style="color: #000066; font-weight: bold;">|</span>ActionBar #titleGroup <span style="color: #000000;">&#123;</span><br />
fontWeight<span style="color: #000066; font-weight: bold;">:</span>normal<span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #004993;">color</span><span style="color: #000066; font-weight: bold;">:</span> #FFFFFF<span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #000000;">&#125;</span></div></td></tr></tbody></table></div>
<p>The most important part of the css file is the declaration of the skin class for our custom skin. The other styles are for the text in the titleGroup  and titleDisplay groups.</p>
<p>Here is the custom action bar mxml skin.  It could have been written in ActionScript, however, I did not notice any performance issues with mxml.</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000066; font-weight: bold;">&lt;?</span>xml <span style="color: #004993;">version</span>=<span style="color: #990000;">&quot;1.0&quot;</span> encoding=<span style="color: #990000;">&quot;utf-8&quot;</span><span style="color: #000066; font-weight: bold;">?&gt;</span><br />
<span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>Skin xmlns<span style="color: #000066; font-weight: bold;">:</span>fx=<span style="color: #990000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; xmlns<span style="color: #000066; font-weight: bold;">:</span>s=<span style="color: #990000;">&quot;library://ns.adobe.com/flex/spark&quot;</span><span style="color: #000066; font-weight: bold;">&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>fx<span style="color: #000066; font-weight: bold;">:</span>Metadata<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#91;</span>HostComponent<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;spark.components.ActionBar&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#93;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;/</span>fx<span style="color: #000066; font-weight: bold;">:</span>Metadata<span style="color: #000066; font-weight: bold;">&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>states<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>State <span style="color: #004993;">name</span>=<span style="color: #990000;">&quot;titleContentWithActionAndNavigation&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>State <span style="color: #004993;">name</span>=<span style="color: #990000;">&quot;titleContentWithNavigation&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>State <span style="color: #004993;">name</span>=<span style="color: #990000;">&quot;titleContentWithAction&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>State <span style="color: #004993;">name</span>=<span style="color: #990000;">&quot;titleContent&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>State <span style="color: #004993;">name</span>=<span style="color: #990000;">&quot;titleWithActionAndNavigation&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>State <span style="color: #004993;">name</span>=<span style="color: #990000;">&quot;titleWithNavigation&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>State <span style="color: #004993;">name</span>=<span style="color: #990000;">&quot;titleWithAction&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>State <span style="color: #004993;">name</span>=<span style="color: #990000;">&quot;title&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;/</span>s<span style="color: #000066; font-weight: bold;">:</span>states<span style="color: #000066; font-weight: bold;">&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>Image <span style="color: #004993;">source</span>=<span style="color: #990000;">&quot;@Embed('/assets/images/bar.png')&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #004993;">left</span>=<span style="color: #990000;">&quot;0&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #004993;">right</span>=<span style="color: #990000;">&quot;0&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #004993;">scaleMode</span>=<span style="color: #990000;">&quot;stretch&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>Image <span style="color: #004993;">source</span>=<span style="color: #990000;">&quot;@Embed('/assets/images/logo.png')&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;horizontalCenter=<span style="color: #990000;">&quot;0&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>Group id=<span style="color: #990000;">&quot;navigationGroup&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #004993;">left</span>=<span style="color: #990000;">&quot;12&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #004993;">top</span>=<span style="color: #990000;">&quot;15&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>Group id=<span style="color: #990000;">&quot;titleGroup&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #004993;">left</span>=<span style="color: #990000;">&quot;10&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #004993;">top</span>=<span style="color: #990000;">&quot;68&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>Group id=<span style="color: #990000;">&quot;actionGroup&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #004993;">right</span>=<span style="color: #990000;">&quot;12&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #004993;">top</span>=<span style="color: #990000;">&quot;15&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>Label id=<span style="color: #990000;">&quot;titleDisplay&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;horizontalCenter=<span style="color: #990000;">&quot;0&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #004993;">top</span>=<span style="color: #990000;">&quot;8&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
<span style="color: #000066; font-weight: bold;">&lt;/</span>s<span style="color: #000066; font-weight: bold;">:</span>Skin<span style="color: #000066; font-weight: bold;">&gt;</span></div></td></tr></tbody></table></div>
<p>The modifications to the skin are adding the background images and moving the skin parts where we need them. In this case, my slice of the background is stretched across the width of the application. The logo is then put on top of the bar and centered, aligning itself with the lines and shadows.</p>
<p>What I didn’t add is consideration for different dpis. This could be accomplished by having different images for the different screen resolutions.</p>
<p>Lastly, here is the view that defines what goes in the content areas. We could extend the ActionBar and add more skin parts as needed. In our case we are using the &#8220;titleContent&#8221; SkinPart for some form of subtitle text area.</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000066; font-weight: bold;">&lt;?</span>xml <span style="color: #004993;">version</span>=<span style="color: #990000;">&quot;1.0&quot;</span> encoding=<span style="color: #990000;">&quot;utf-8&quot;</span><span style="color: #000066; font-weight: bold;">?&gt;</span><br />
<span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>View xmlns<span style="color: #000066; font-weight: bold;">:</span>fx=<span style="color: #990000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; xmlns<span style="color: #000066; font-weight: bold;">:</span>s=<span style="color: #990000;">&quot;library://ns.adobe.com/flex/spark&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; title=<span style="color: #990000;">&quot;Action Bar Skin&quot;</span><span style="color: #000066; font-weight: bold;">&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>navigationContent<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>Button label=<span style="color: #990000;">&quot;Back&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;/</span>s<span style="color: #000066; font-weight: bold;">:</span>navigationContent<span style="color: #000066; font-weight: bold;">&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>titleContent<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>Label <span style="color: #004993;">text</span>=<span style="color: #990000;">&quot;Some Text Here&quot;</span><span style="color: #000066; font-weight: bold;">/&gt;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;/</span>s<span style="color: #000066; font-weight: bold;">:</span>titleContent<span style="color: #000066; font-weight: bold;">&gt;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>actionContent<span style="color: #000066; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;</span>s<span style="color: #000066; font-weight: bold;">:</span>Button label=<span style="color: #990000;">&quot;Action&quot;</span> <span style="color: #000066; font-weight: bold;">/&gt;</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">&lt;/</span>s<span style="color: #000066; font-weight: bold;">:</span>actionContent<span style="color: #000066; font-weight: bold;">&gt;</span><br />
<br />
<span style="color: #000066; font-weight: bold;">&lt;/</span>s<span style="color: #000066; font-weight: bold;">:</span>View<span style="color: #000066; font-weight: bold;">&gt;</span></div></td></tr></tbody></table></div>
<p>Here is what the application looks like with the custom ActionBarSkin:</p>
<p><img class="alignnone size-full wp-image-3173" title="ActionBarSkinOutcome" src="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/01/ActionBarSkinOutcome1.png" alt="" width="499" height="282" /></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.newyyz.com%2Fntgsite%2F2012%2F01%2Fflex-mobile-skinning-the-actionbar%2F&amp;title=Flex%20Mobile%3A%20Skinning%20the%20ActionBar"><img src="http://www.newyyz.com/ntgsite/wp/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.newyyz.com/ntgsite/2012/01/flex-mobile-skinning-the-actionbar/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating an HRule in MXML with Spark Components</title>
		<link>http://www.newyyz.com/ntgsite/2012/01/creating-an-hrule-in-mxml-with-spark-components/</link>
		<comments>http://www.newyyz.com/ntgsite/2012/01/creating-an-hrule-in-mxml-with-spark-components/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 23:24:15 +0000</pubDate>
		<dc:creator>chadu</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[4.6]]></category>
		<category><![CDATA[hrule]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[mx]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[solidcolorstroke]]></category>
		<category><![CDATA[spark]]></category>
		<category><![CDATA[vector]]></category>
		<category><![CDATA[vrule]]></category>

		<guid isPermaLink="false">http://www.newyyz.com/ntgsite/?p=3056</guid>
		<description><![CDATA[By Chad Upton &#8211; senior consultant Although there is an MX HRule component, there is not a Spark equivalent. You could still use the mx component, but it&#8217;s better to use a vector graphic for something as simple as a straight line &#8211; particularly if you&#8217;re building a mobile application. For a horizontal rule, you can [...]]]></description>
			<content:encoded><![CDATA[<p>By Chad Upton &#8211; <em>senior consultant</em></p>
<p><img class="size-full wp-image-3073 alignleft" style="border-style: initial; border-color: initial;" title="flex" src="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/01/flex.jpg" alt="" width="90" height="90" /></p>
<p>Although there is an MX HRule component, there is not a Spark equivalent. You could still use the mx component, but it&#8217;s better to use a vector graphic for something as simple as a straight line &#8211; particularly if you&#8217;re building a mobile application.</p>
<p>For a horizontal rule, you can simple set the width of the line, the color, and the weight (stroke/thickness).</p>
<div class="codecolorer-container mxml default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="mxml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Line</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:stroke</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:SolidColorStroke</span> color=<span style="color: #ff0000;">&quot;0x000000&quot;</span> weight=<span style="color: #ff0000;">&quot;2&quot;</span><span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:stroke</span><span style="color: #7400FF;">&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Line</span><span style="color: #7400FF;">&gt;</span></span></div></td></tr></tbody></table></div>
<p>You can also draw a line from point to point:</p>
<div class="codecolorer-container mxml default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="mxml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Line</span> xFrom=<span style="color: #ff0000;">&quot;10&quot;</span> xTo=<span style="color: #ff0000;">&quot;20&quot;</span> yFrom=<span style="color: #ff0000;">&quot;10&quot;</span> yTo=<span style="color: #ff0000;">&quot;20&quot;</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:stroke</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:SolidColorStroke</span> color=<span style="color: #ff0000;">&quot;0xFF0000&quot;</span> weight=<span style="color: #ff0000;">&quot;1&quot;</span><span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:stroke</span><span style="color: #7400FF;">&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Line</span><span style="color: #7400FF;">&gt;</span></span></div></td></tr></tbody></table></div>
<p>Be sure to <a href="https://www.facebook.com/NewTorontoGroup" target="_blank">“like” us on facebook</a> to stay in the loop and checkout our <a href="http://www.newyyz.com/ntgsite/training/find_a_course/">course calendar</a> for flex, html5, javascript, and other platform training programs &#8212; online and in the classroom.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.newyyz.com%2Fntgsite%2F2012%2F01%2Fcreating-an-hrule-in-mxml-with-spark-components%2F&amp;title=Creating%20an%20HRule%20in%20MXML%20with%20Spark%20Components"><img src="http://www.newyyz.com/ntgsite/wp/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.newyyz.com/ntgsite/2012/01/creating-an-hrule-in-mxml-with-spark-components/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex IMXMLObject Interface</title>
		<link>http://www.newyyz.com/ntgsite/2012/01/flex-imxmlobject-interface/</link>
		<comments>http://www.newyyz.com/ntgsite/2012/01/flex-imxmlobject-interface/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 15:27:13 +0000</pubDate>
		<dc:creator>Derek Santos</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flash Player]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[IMXMLObject]]></category>
		<category><![CDATA[ViewHelper]]></category>

		<guid isPermaLink="false">http://www.newyyz.com/ntgsite/?p=3035</guid>
		<description><![CDATA[By Derek Santos &#8211; Consultant This hidden gem in Flex can really help keep your MXML code clean and separated from your view logic. A great way to use it is to encapsulate your view logic into a ViewHelper. IMXMLObject has only one function. 1function initialized&#40;document:Object, id:String&#41;:void; Here is Adobe&#8217;s documentation for this function: &#8220;Called [...]]]></description>
			<content:encoded><![CDATA[<p><i>By Derek Santos &#8211; Consultant</i></p>
<p>This hidden gem in Flex can really help keep your MXML code clean and separated from your view logic.  A great way to use it is to encapsulate your view logic into a ViewHelper. IMXMLObject has only one function.</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339966; font-weight: bold;">function</span> initialized<span style="color: #000000;">&#40;</span>document<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=object%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:object.html"><span style="color: #004993;">Object</span></a><span style="color: #000066; font-weight: bold;">,</span> id<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000066; font-weight: bold;">;</span></div></td></tr></tbody></table></div>
<p>Here is Adobe&#8217;s documentation for this function:</p>
<p><i>&#8220;Called after the implementing object has been created and all component properties specified on the MXML tag have been initialized.&#8221;</i></p>
<p>What this means is that once the parent is created and has intialized its properties, it will pass a reference of the parent to your IMXMLObject implementation.  So, as an example, let&#8217;s create a simple ViewHelper.  First, create a class and implement IMXMLObject.</p>
<p><b>ViewHelper.as</b></p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #9900cc; font-weight: bold;">class</span> ViewHelper implements IMXMLObject <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> view<span style="color: #000066; font-weight: bold;">:</span>MyView<span style="color: #000066; font-weight: bold;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> initialized<span style="color: #000000;">&#40;</span>document<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=object%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:object.html"><span style="color: #004993;">Object</span></a><span style="color: #000066; font-weight: bold;">,</span> id<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html"><span style="color: #004993;">String</span></a><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">this</span><span style="color: #000066; font-weight: bold;">.</span>view = document <span style="color: #0033ff; font-weight: bold;">as</span> MyView<span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; <br />
<span style="color: #000000;">&#125;</span></div></td></tr></tbody></table></div>
<p>Notice that I am keeping a reference of the view by assigning the value of <i>document</i> to an instance variable called <i>view</i>.  Once you do this, you can work with your view and apply any logic you may need.</p>
<p>Once you&#8217;ve created your ViewHelper, you simply need to declare it in your MXML file.  In this case, that would be <i>MyView</i>.</p>
<p><b>MyView.mxml</b></p>
<div class="codecolorer-container mxml default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br /></div></td><td><div class="mxml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Group</span></span><br />
<span style="color: #000000;"> &nbsp; &nbsp;xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span></span><br />
<span style="color: #000000;"> &nbsp; &nbsp;xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span></span><br />
<span style="color: #000000;"> &nbsp; &nbsp;xmlns:local=<span style="color: #ff0000;">&quot;*&quot;</span></span><br />
<span style="color: #000000;"> &nbsp; &nbsp;<span style="color: #7400FF;">&gt;</span></span><br />
<br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Declarations</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;local:ViewHelper</span> id=<span style="color: #ff0000;">&quot;helper&quot;</span> <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/fx:Declarations</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Group</span><span style="color: #7400FF;">&gt;</span></span></div></td></tr></tbody></table></div>
<p>Notice that you do not need to pass a reference to &#8220;this&#8221; anywhere.  This keeps your MXML very clean and makes the ViewHelper a little more portable.  Comments are welcome!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.newyyz.com%2Fntgsite%2F2012%2F01%2Fflex-imxmlobject-interface%2F&amp;title=Flex%20IMXMLObject%20Interface"><img src="http://www.newyyz.com/ntgsite/wp/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.newyyz.com/ntgsite/2012/01/flex-imxmlobject-interface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Mobile: IconItemRenderer Example</title>
		<link>http://www.newyyz.com/ntgsite/2012/01/flex-mobile-iconitemrenderer-example/</link>
		<comments>http://www.newyyz.com/ntgsite/2012/01/flex-mobile-iconitemrenderer-example/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 14:42:45 +0000</pubDate>
		<dc:creator>alaint</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flash Player]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://www.newyyz.com/ntgsite/blog/?p=1895</guid>
		<description><![CDATA[By Alain Thibodeau – Consultant For Flex mobile applications you should use the mobile optimized item renderers. The default base class for mobile renderers is the LabelItemRenderer. Extending this is the IconItemRenderer, which is a handy renderer that includes an icon area, label and message. Here is an example of using IconItemRenderer in the simplest [...]]]></description>
			<content:encoded><![CDATA[<p><em>By Alain Thibodeau – Consultant</em></p>
<p>For Flex mobile applications you should use the mobile optimized item renderers. The default base class for mobile renderers is the <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/LabelItemRenderer.html" target="_blank">LabelItemRenderer</a>. Extending this is the <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/IconItemRenderer.html" target="_blank">IconItemRenderer</a>, which is a handy renderer that includes an icon area, label and message.</p>
<p>Here is an example of using IconItemRenderer in the simplest form:</p>
<p><strong>MyIconItemRenderer.mxml</strong></p>
<div class="codecolorer-container mxml default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br /></div></td><td><div class="mxml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!--?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?--&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:IconItemRenderer</span></span><br />
<span style="color: #000000;">    xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span></span><br />
<span style="color: #000000;">    xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span></span><br />
<span style="color: #000000;">    iconField=<span style="color: #ff0000;">&quot;icon&quot;</span></span><br />
<span style="color: #000000;">    labelField=<span style="color: #ff0000;">&quot;label&quot;</span></span><br />
<span style="color: #000000;">    messageField=<span style="color: #ff0000;">&quot;message&quot;</span></span><br />
<span style="color: #000000;">    iconWidth=<span style="color: #ff0000;">&quot;45&quot;</span></span><br />
<span style="color: #000000;">    iconHeight=<span style="color: #ff0000;">&quot;45&quot;</span></span><br />
<span style="color: #000000;">    <span style="color: #7400FF;">/&gt;</span></span></div></td></tr></tbody></table></div>
<p><strong>HomeView.mxml</strong></p>
<div class="codecolorer-container mxml default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br /></div></td><td><div class="mxml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:View</span> xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span> </span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:List</span> </span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; width=<span style="color: #ff0000;">&quot;100%&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; height=<span style="color: #ff0000;">&quot;100%&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; itemRenderer=<span style="color: #ff0000;">&quot;MyIconItemRenderer&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:dataProvider</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:ArrayList</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> </span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; label=<span style="color: #ff0000;">&quot;Title 1&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icon=<span style="color: #ff0000;">&quot;http://www.adobe.com/homepage/include/style/homepage/adobe_logo_45x45.jpg&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message=<span style="color: #ff0000;">&quot;This is a message&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> </span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; label=<span style="color: #ff0000;">&quot;Title 2&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icon=<span style="color: #ff0000;">&quot;http://www.adobe.com/homepage/include/style/homepage/adobe_logo_45x45.jpg&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message=<span style="color: #ff0000;">&quot;This is a message&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> </span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; label=<span style="color: #ff0000;">&quot;Title 3&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icon=<span style="color: #ff0000;">&quot;http://www.adobe.com/homepage/include/style/homepage/adobe_logo_45x45.jpg&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message=<span style="color: #ff0000;">&quot;This is a message&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> </span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; label=<span style="color: #ff0000;">&quot;Title 4&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icon=<span style="color: #ff0000;">&quot;http://www.adobe.com/homepage/include/style/homepage/adobe_logo_45x45.jpg&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message=<span style="color: #ff0000;">&quot;This is a message&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> </span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; label=<span style="color: #ff0000;">&quot;Title 5&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icon=<span style="color: #ff0000;">&quot;http://www.adobe.com/homepage/include/style/homepage/adobe_logo_45x45.jpg&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message=<span style="color: #ff0000;">&quot;This is a message&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span> </span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; label=<span style="color: #ff0000;">&quot;Title 6&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icon=<span style="color: #ff0000;">&quot;http://www.adobe.com/homepage/include/style/homepage/adobe_logo_45x45.jpg&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message=<span style="color: #ff0000;">&quot;This is a message&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:ArrayList</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:dataProvider</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:List</span><span style="color: #7400FF;">&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:View</span><span style="color: #7400FF;">&gt;</span></span></div></td></tr></tbody></table></div>
<p><strong>Outcome:</strong></p>
<p> <a href="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/01/renderer1.png"><img class="alignnone size-medium wp-image-3018" title="IconItemRenderer" src="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/01/renderer1-300x160.png" alt="" width="300" height="160" /></a><br />
 </p>
<p>Here is an example of IconItemRenderer using messageFunction, labelFunction to display content other than what is directly in our dataprovider. I added a color property to my dataprovider objects.</p>
<p><strong>Updated <strong>HomeView.mxml</strong></strong></p>
<div class="codecolorer-container mxml default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br /></div></td><td><div class="mxml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:View</span></span><br />
<span style="color: #000000;"> &nbsp; &nbsp; &nbsp; &nbsp; xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; title=<span style="color: #ff0000;">&quot;HomeView&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; <span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:List</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; width=<span style="color: #ff0000;">&quot;100%&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; height=<span style="color: #ff0000;">&quot;100%&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; itemRenderer=<span style="color: #ff0000;">&quot;MyIconItemRenderer&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:dataProvider</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:ArrayList</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; label=<span style="color: #ff0000;">&quot;Title 1&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icon=<span style="color: #ff0000;">&quot;http://www.adobe.com/homepage/include/style/homepage/adobe_logo_45x45.jpg&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message=<span style="color: #ff0000;">&quot;This is a message&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; color=<span style="color: #ff0000;">&quot;Red&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; label=<span style="color: #ff0000;">&quot;Title 2&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icon=<span style="color: #ff0000;">&quot;http://www.adobe.com/homepage/include/style/homepage/adobe_logo_45x45.jpg&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message=<span style="color: #ff0000;">&quot;This is a message&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; color=<span style="color: #ff0000;">&quot;Blue&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; label=<span style="color: #ff0000;">&quot;Title 3&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icon=<span style="color: #ff0000;">&quot;http://www.adobe.com/homepage/include/style/homepage/adobe_logo_45x45.jpg&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message=<span style="color: #ff0000;">&quot;This is a message&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; color=<span style="color: #ff0000;">&quot;Green&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; label=<span style="color: #ff0000;">&quot;Title 4&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icon=<span style="color: #ff0000;">&quot;http://www.adobe.com/homepage/include/style/homepage/adobe_logo_45x45.jpg&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message=<span style="color: #ff0000;">&quot;This is a message&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; color=<span style="color: #ff0000;">&quot;Pink&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; label=<span style="color: #ff0000;">&quot;Title 5&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icon=<span style="color: #ff0000;">&quot;http://www.adobe.com/homepage/include/style/homepage/adobe_logo_45x45.jpg&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message=<span style="color: #ff0000;">&quot;This is a message&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; color=<span style="color: #ff0000;">&quot;Brown&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Object</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; label=<span style="color: #ff0000;">&quot;Title 6&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; icon=<span style="color: #ff0000;">&quot;http://www.adobe.com/homepage/include/style/homepage/adobe_logo_45x45.jpg&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message=<span style="color: #ff0000;">&quot;This is a message&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; color=<span style="color: #ff0000;">&quot;Yellow&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:ArrayList</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:dataProvider</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:List</span><span style="color: #7400FF;">&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:view</span><span style="color: #7400FF;">&gt;</span></span></div></td></tr></tbody></table></div>
<p><strong>And here is the modified MyIconItemRenderer.mxml:</strong></p>
<div class="codecolorer-container mxml default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:400px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br /></div></td><td><div class="mxml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:IconItemRenderer</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; iconField=<span style="color: #ff0000;">&quot;icon&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; labelField=<span style="color: #ff0000;">&quot;label&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; labelFunction=<span style="color: #ff0000;">&quot;getLabel&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; messageField=<span style="color: #ff0000;">&quot;message&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; messageFunction=<span style="color: #ff0000;">&quot;getMessage&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; iconWidth=<span style="color: #ff0000;">&quot;45&quot;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; iconHeight=<span style="color: #ff0000;">&quot;45&quot;</span> <span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;fx:Script</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&lt;!<span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; private function getMessage<span style="color: #66cc66;">&#40;</span>item:Object<span style="color: #66cc66;">&#41;</span>:String <span style="color: #66cc66;">&#123;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return item.message + <span style="color: #ff0000;">&quot; - &quot;</span> + new Date<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.toDateString<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></span><br />
<span style="color: #000000;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; private function getLabel<span style="color: #66cc66;">&#40;</span>item:Object<span style="color: #66cc66;">&#41;</span>:String <span style="color: #66cc66;">&#123;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return item.message + <span style="color: #ff0000;">&quot; - &quot;</span> + item.color;</span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></span><br />
<span style="color: #000000;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/fx:Script</span><span style="color: #7400FF;">&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:IconItemRenderer</span><span style="color: #7400FF;">&gt;</span></span></div></td></tr></tbody></table></div>
<p><strong>Outcome:</strong></p>
<p> <a href="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/01/renderer2.png"><img class="alignnone size-medium wp-image-3021" title="IconItemRenderer 2" src="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2012/01/renderer2-300x161.png" alt="" width="300" height="161" /></a></p>
<p>&nbsp;</p>
<p>For online and in-person Flex and AIR training, checkout our <a href="http://www.newyyz.com/NtgSite/training/find_a_course.cfm"><strong>course finder</strong></a>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.newyyz.com%2Fntgsite%2F2012%2F01%2Fflex-mobile-iconitemrenderer-example%2F&amp;title=Flex%20Mobile%3A%20IconItemRenderer%20Example"><img src="http://www.newyyz.com/ntgsite/wp/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.newyyz.com/ntgsite/2012/01/flex-mobile-iconitemrenderer-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Developer Survey</title>
		<link>http://www.newyyz.com/ntgsite/2011/12/javascript-developer-survey/</link>
		<comments>http://www.newyyz.com/ntgsite/2011/12/javascript-developer-survey/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 17:48:26 +0000</pubDate>
		<dc:creator>oliverm</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[WebWorks]]></category>

		<guid isPermaLink="false">http://www2.newyyz.com/ntgsite/?p=2593</guid>
		<description><![CDATA[Looks like this is turning into an annual event. Given JavaScript&#8217;s importance in the Mobile/HTML5 space, it will be interesting to see how developers are using it: http://dailyjs.com/2011/12/01/javascript-developer-survey-2011/ &#160;]]></description>
			<content:encoded><![CDATA[<p>Looks like this is turning into an annual event. Given JavaScript&#8217;s importance in the Mobile/HTML5 space, it will be interesting to see how developers are using it:</p>
<p><a title="http://dailyjs.com/2011/12/01/javascript-developer-survey-2011/" href="http://dailyjs.com/2011/12/01/javascript-developer-survey-2011/" target="_blank">http://dailyjs.com/2011/12/01/javascript-developer-survey-2011/</a></p>
<p>&nbsp;</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.newyyz.com%2Fntgsite%2F2011%2F12%2Fjavascript-developer-survey%2F&amp;title=JavaScript%20Developer%20Survey"><img src="http://www.newyyz.com/ntgsite/wp/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.newyyz.com/ntgsite/2011/12/javascript-developer-survey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NFC vs QR Codes</title>
		<link>http://www.newyyz.com/ntgsite/2011/12/nfc-vs-qr-codes/</link>
		<comments>http://www.newyyz.com/ntgsite/2011/12/nfc-vs-qr-codes/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 17:42:37 +0000</pubDate>
		<dc:creator>chadu</dc:creator>
				<category><![CDATA[General Knowledge]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Chad Upton]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[nfc]]></category>
		<category><![CDATA[qr]]></category>
		<category><![CDATA[qrcode]]></category>

		<guid isPermaLink="false">http://www.newyyz.com/ntgsite/blog/?p=2068</guid>
		<description><![CDATA[By Chad Upton &#8211; senior consultant Smart phones brought the productivity of computers to our pockets, but their tiny size didn&#8217;t make any improvements to the full-size keyboards we leave at our desks. Smart phone users want quicker ways to enter text or website URLs. QR Codes Square bar codes, or QR codes are an [...]]]></description>
			<content:encoded><![CDATA[<p>By Chad Upton &#8211;<em> senior consultant</em></p>
<p>Smart phones brought the productivity of computers to our pockets, but their tiny size didn&#8217;t make any improvements to the full-size keyboards we leave at our desks. Smart phone users want quicker ways to enter text or website URLs.</p>
<p><strong>QR Codes</strong></p>
<p>Square bar codes, or QR codes are an easy way to &#8220;scan&#8221; text into your phone. This makes it easy for you to visit a website or copy useful text, such as phone numbers or contest entry codes into your phone without touching the keyboard.</p>
<p>QR codes have been around since they were invented by a Japanese company in 1994. Originally used to track products in warehouses, QR codes were designed to replace traditional &#8220;vertical line&#8221; bar codes. Traditional bar codes just represent numbers, which can be looked up in a database and translated into something meaningful. QR, or &#8220;Quick Response&#8221; bar codes were designed to contain the meaningful info right in the bar code.</p>
<p><a href="https://www.facebook.com/NewTorontoGroup"><img class="aligncenter size-full wp-image-2073" title="ntg" src="http://www.newyyz.com/ntgsite/wp/wp-content/uploads/2011/11/ntg.png" alt="" width="255" height="255" /></a></p>
<p>They&#8217;ve been a successful marketing tool in Asia and Europe, but they&#8217;ve had limited success in North America. A <a href="http://www.archrival.com/ideas/13/qr-codes-go-to-college" target="_blank">recent survey</a> of college students found that 81% of college students owned smart phones, but only 22% were able to successfully scan the QR code. Many students didn&#8217;t know a third party app was required on most platforms (iOS, Android, BlackBerry). Windows Phone is the only mobile platform that supports QR codes natively, and it has one of the smallest market shares.</p>
<p>Data types supported:</p>
<ul>
<li>URL</li>
<li>Text</li>
<li>Phone Number</li>
<li>SMS Message</li>
</ul>
<p>The support for Phone Numbers and SMS Messges is great, it allows you to scan a QR code and have that info pre-populated for you.</p>
<p><strong>NFC</strong></p>
<p>Near Field Communication (NFC) is a technology that offers similar use cases to QR codes, but through a different medium. While QR codes require a camera to &#8220;scan&#8221; the code, NFC uses a low powered magnetic field to send and receive data. That&#8217;s right, NFC has a peer to peer mode that allows bi-directional communication.</p>
<p>NFC is supported in the latest versions of Android, BlackBerry OS and Symbian. iPhone and Windows Phone support is expected next year. Although it has a lot of superior capabilities to QR codes, it does require specialized hardware in the phone. NFC is still fairly young and a little over a dozen handsets are currently available with the technology, but that number is expected to grow quickly.</p>
<p>Data types supported:</p>
<ul>
<li>URL</li>
<li>Text</li>
<li>Phone Number</li>
<li>SMS Message</li>
<li>Email Message</li>
<li>Business Card/VCard</li>
<li>Signature</li>
<li>Bluetooth or Wifi connection parameters</li>
</ul>
<p>As you can see, NFC supports a few more data types than QR codes. The vcard support is great, bump your phone with someone else&#8217;s to exchange contact info.</p>
<p><strong>Comparison</strong></p>
<p>QR codes and NFC offer some overlap in uses, but each one has fundamental advantages over the other for certain situations. If you&#8217;re running a contest and you want users to enter via text message, QR codes could be scanned from TV, magazines, newspapers, billboards, transit ads, etc. It would be more costly to put an NFC tag in every magazine or newspaper, so QR might be the right choice here.</p>
<p>But, lets say you were attending a large event and wanted to connect to the secure wifi network. You could flip through all the event info to find the SSID and password for the network, but you&#8217;d much prefer tapping your phone as you enter and have it automatically connect in seconds. This is how technology is supposed to work.</p>
<p>Both technologies help you get small amounts of info into your phone without typing it, but each one has pros and cons.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="213"><strong>Technology</strong></td>
<td valign="top" width="213"><strong>Pros</strong></td>
<td valign="top" width="213"><strong>Cons</strong></td>
</tr>
<tr>
<td valign="top" width="213"><strong>QR Codes</strong></td>
<td valign="top" width="213">inexpensive, print/display anywhere, all phones have the hardware, scan pre-composed SMS messages</td>
<td valign="top" width="213">can be difficult or time consuming to scan, not always weatherproof</td>
</tr>
<tr>
<td valign="top" width="213"><strong>NFC</strong></td>
<td valign="top" width="213">good native device support, weatherproof, quick and easy to scan, two way communication possible</td>
<td valign="top" width="213">more costly, cannot be used in as many ways as QR codes, limited phones supported at this time</td>
</tr>
</tbody>
</table>
<p>Be sure to <a href="https://www.facebook.com/NewTorontoGroup" target="_blank">&#8220;like&#8221; us on facebook</a> to stay in the loop.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.newyyz.com%2Fntgsite%2F2011%2F12%2Fnfc-vs-qr-codes%2F&amp;title=NFC%20vs%20QR%20Codes"><img src="http://www.newyyz.com/ntgsite/wp/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.newyyz.com/ntgsite/2011/12/nfc-vs-qr-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NTG developing 2 new Native PlayBook Dev courses</title>
		<link>http://www.newyyz.com/ntgsite/2011/12/ntg-to-deliver-bbx-app-dev-training-at-rim-devcon-europe-in-amsterdam/</link>
		<comments>http://www.newyyz.com/ntgsite/2011/12/ntg-to-deliver-bbx-app-dev-training-at-rim-devcon-europe-in-amsterdam/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 16:43:44 +0000</pubDate>
		<dc:creator>edv</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www2.newyyz.com/ntgsite/?p=2568</guid>
		<description><![CDATA[New Toronto Group, an Elite RIM Partner, is currently developing 2 new training courses for RIM. The first course will be focused on &#8220;Developing Native Games for the PlayBook&#8221; and will be available in March 2012. The second course will be focused on &#8220;Developing Native Applications for the PlayBook&#8221; and will be available in May [...]]]></description>
			<content:encoded><![CDATA[<p>New Toronto Group, an Elite RIM Partner, is currently developing 2 new training courses for RIM.    The first course will be focused on &#8220;Developing Native Games for the PlayBook&#8221; and will be available in March 2012.  The second course will be focused on &#8220;Developing Native Applications for the PlayBook&#8221; and will be available in May 2012. Table of Contents coming soon.</p>
<ul>
</p>
<li>Developing Native Games for the PlayBook (2 days)</li>
<li>Developing Native Applications for the PlayBook (2 days)</li>
<p>
</ul>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.newyyz.com%2Fntgsite%2F2011%2F12%2Fntg-to-deliver-bbx-app-dev-training-at-rim-devcon-europe-in-amsterdam%2F&amp;title=NTG%20developing%202%20new%20Native%20PlayBook%20Dev%20courses"><img src="http://www.newyyz.com/ntgsite/wp/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.newyyz.com/ntgsite/2011/12/ntg-to-deliver-bbx-app-dev-training-at-rim-devcon-europe-in-amsterdam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

