<?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>Colin Loretz &#187; nim09</title>
	<atom:link href="http://colinloretz.com/tag/nim09/feed/" rel="self" type="application/rss+xml" />
	<link>http://colinloretz.com</link>
	<description>Community builder and hacker</description>
	<lastBuildDate>Mon, 14 Nov 2011 20:39:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Adobe Flex: Creating Widgets for the Desktop &amp; Web</title>
		<link>http://colinloretz.com/2009/03/adobe-flex-creating-widgets-for-the-desktop-web/</link>
		<comments>http://colinloretz.com/2009/03/adobe-flex-creating-widgets-for-the-desktop-web/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 02:31:07 +0000</pubDate>
		<dc:creator>Colin Loretz</dc:creator>
				<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[nim09]]></category>
		<category><![CDATA[Reno]]></category>

		<guid isPermaLink="false">http://colinloretz.com/?p=198</guid>
		<description><![CDATA[I presented the following presentation at the first-ever Nevada Interactive Media Summit last week. My presentation consisted mostly of demonstrations in Adobe Flex Builder but if you plug the code below into Flex, you should be able to follow along. A video of the presentation should be available soon. Adobe Flex: Creating Widgets for the [...]]]></description>
			<content:encoded><![CDATA[<p>I presented the following presentation at the first-ever <a href="http://nevadainteractivemedia.org">Nevada Interactive Media Summit</a> last week. My presentation consisted mostly of demonstrations in Adobe Flex Builder but if you plug the code below into Flex, you should be able to follow along. A video of the presentation should be available soon.</p>
<div id="__ss_1139347" style="width: 425px; text-align: left;"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" title="Adobe Flex: Creating Widgets for the Desktop and Web" href="http://www.slideshare.net/ColinLoretz/adobe-flex-creating-widgets-for-the-desktop-and-web?type=presentation">Adobe Flex: Creating Widgets for the Desktop and Web</a><object width="425" height="355" data="http://static.slideshare.net/swf/ssplayer2.swf?doc=flexnim-090312211208-phpapp02&amp;stripped_title=adobe-flex-creating-widgets-for-the-desktop-and-web" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=flexnim-090312211208-phpapp02&amp;stripped_title=adobe-flex-creating-widgets-for-the-desktop-and-web" /><param name="allowfullscreen" value="true" /></object></p>
<div style="font-size: 11px; font-family: tahoma,arial; height: 26px; padding-top: 2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/ColinLoretz">ColinLoretz</a>.</div>
</div>
<p><strong>Demo #1: RSS Reader</strong></p>
<p><strong></p>
<pre><span style="font-weight: normal;">&lt;?xml version="1.0" encoding="utf-8"?&gt;</span>

<span style="font-weight: normal;">&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:HTTPService id="myRSSFeed" url="{rssURL.text}" /&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:Label x="10" y="12" text="RSS URL:" fontWeight="bold" /&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:TextInput id="rssURL" width="357" x="68" y="10" /&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:Button x="371" y="40" label="GO !!" click="myRSSFeed.send()"/&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:DataGrid id="myDataGrid" dataProvider="{myRSSFeed.lastResult.rss.channel.item}"</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">width="417.5" height="144"</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">click="{myTextArea.htmlText =</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">myRSSFeed.lastResult.rss.channel.item[myDataGrid.selectedIndex].description}"</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">x="7.5" y="70"&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:columns&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:DataGridColumn headerText="Date" dataField="pubDate" textAlign="left"/&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:DataGridColumn headerText="Title" dataField="title" textAlign="center"/&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;/mx:columns&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;/mx:DataGrid&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:TextArea id="myTextArea" width="415" height="162" x="10" y="222"/&gt;</span>

<span><span style="font-weight: normal;"> </span></span>

<span style="font-weight: normal;">&lt;/mx:Application&gt;</span>
<div></div>
</pre>
<p></strong></p>
<p><strong>Demo #2: Twitter Search Application</strong></p>
<p><strong></strong></p>
<p><strong></p>
<pre><span style="font-weight: normal;">&lt;?xml version="1.0" encoding="utf-8"?&gt;</span>

<span style="font-weight: normal;">&lt;mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" title = "Twitter @ NIM" layout="absolute"&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:Script&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;![CDATA[</span><span><span style="font-weight: normal;"> </span></span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">private function doSearch(e:MouseEvent):void</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">{</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">twitterService.url = "http://search.twitter.com/search.atom?q=" + twitterKeyword.text;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">twitterService.send();</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">}</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">]]&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;/mx:Script&gt;</span>

<span><span style="font-weight: normal;"> </span></span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:HTTPService id="twitterService" /&gt;</span>

<span><span style="font-weight: normal;"> </span></span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:Label x="10" y="20" text="Twitter Search Term"/&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:TextInput id = "twitterKeyword" x="10" y="38" width="295"/&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:Button click = "doSearch(event)" x="379" y="38" label="Search" width="81"/&gt;</span>

<span><span style="font-weight: normal;"> </span></span><span style="font-weight: normal;">&lt;mx:List dataProvider = "{twitterService.lastResult.feed.entry}" labelField="title" x="10" y="68" width="450" height="282"&gt;&lt;/mx:List&gt;</span>

<span style="font-weight: normal;">
</span>

<span style="font-weight: normal;">&lt;/mx:WindowedApplication&gt;</span></pre>
<p></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://colinloretz.com/2009/03/adobe-flex-creating-widgets-for-the-desktop-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

