<?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"
	>

<channel>
	<title>in a rush</title>
	<atom:link href="http://www.robrusher.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.robrusher.com</link>
	<description>experience is everything</description>
	<pubDate>Fri, 16 May 2008 15:47:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Virgin Flight or Party?</title>
		<link>http://www.robrusher.com/archives/38</link>
		<comments>http://www.robrusher.com/archives/38#comments</comments>
		<pubDate>Fri, 16 May 2008 15:47:14 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[airborne social network]]></category>

		<category><![CDATA[Virgin Airways]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=38</guid>
		<description><![CDATA[In my business there is sometimes a bit of travel and it is always a struggle to get better travel conditions. Then is often a crap shoot whether you will stuck between two BIG smelly guys or the kids.
Virgin Airways seems to be trying to DV8 from the norm.  Power at every seat. Ethernet and [...]]]></description>
			<content:encoded><![CDATA[<p>In my business there is sometimes a bit of travel and it is always a struggle to get better travel conditions. Then is often a crap shoot whether you will stuck between two BIG smelly guys or the kids.</p>
<p><a href="http://www.virginamerica.com" target="_blank">Virgin Airways</a> seems to be trying to <a href="http://www.virginamerica.com/va/vaDifference.do" target="_blank">DV8 from the norm</a>.  Power at every seat. Ethernet and USB at every seat with wireless broadband connection coming soon. Which is all very cool, but what takes the cake is their in-flight entertainment system. On top of the music, video and games (yes games) on the 9 inch touch screen, they have this very cool airborne social network where you can communicate with anyone on the plane via IM, chat room, sms, email, etc&#8230;</p>
<p>They also have this <a href="http://www.virginamerica.com/va/search.do?method=promoLanding" target="_blank">SuperFly Wednesday</a> promo where everyone gets free drinks. I so can&#8217;t wait for them to start service to my home town. Finally an airline with an open mind and plans for innovating.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robrusher.com/archives/38/feed</wfw:commentRss>
		</item>
		<item>
		<title>Flash Player 10 for Flex</title>
		<link>http://www.robrusher.com/archives/37</link>
		<comments>http://www.robrusher.com/archives/37#comments</comments>
		<pubDate>Fri, 16 May 2008 13:51:58 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[compiler]]></category>

		<category><![CDATA[Flash Player 10]]></category>

		<category><![CDATA[Lee Brimelow]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=37</guid>
		<description><![CDATA[I was digging around the other day in Adobe&#8217;s Open Source area when I found the Flash Player 10 Beta with instructions on how to compile Flex applications to the new player. Check it!
There is also a tutorial by Lee Brimelow, Adobe Platform Evangelist, that covers how to get started using Flash Player 10 (code [...]]]></description>
			<content:encoded><![CDATA[<p>I was digging around the other day in Adobe&#8217;s Open Source area when I found the <a title="Flash Player 10 on Adobe Labs" href="http://labs.adobe.com/technologies/flashplayer10/" target="_blank">Flash Player 10 Beta</a> with instructions on how to compile Flex applications to the new player. <a href="http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10+Beta+with+Flex+SDK+3.0.x" target="_blank">Check it!</a></p>
<p>There is also a <a href="http://www.gotoandlearn.com/player.php?id=73" target="_blank">tutorial</a> by <a href="http://theflashblog.com/" target="_blank">Lee Brimelow</a>, Adobe Platform Evangelist, that covers how to get started using Flash Player 10 (code name Astro).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robrusher.com/archives/37/feed</wfw:commentRss>
		</item>
		<item>
		<title>Finally! A Google Maps API for Flex</title>
		<link>http://www.robrusher.com/archives/36</link>
		<comments>http://www.robrusher.com/archives/36#comments</comments>
		<pubDate>Thu, 15 May 2008 15:01:30 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<category><![CDATA[ActionScript]]></category>

		<category><![CDATA[API]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[Maps]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=36</guid>
		<description><![CDATA[I once built a Flex application that did a cool mapping of an object in transit. (Due to NDA reasons, I can&#8217;t say much more than that.) So of course, I use the Yahoo! Maps API for ActionScript because&#8230; well it was the only API available for Flex development and I only had a couple [...]]]></description>
			<content:encoded><![CDATA[<p>I once built a Flex application that did a cool mapping of an object in transit. <em>(Due to NDA reasons, I can&#8217;t say much more than that.)</em> So of course, I use the Yahoo! Maps API for ActionScript because&#8230; well it was the only API available for Flex development and I only had a couple days to put it together.</p>
<p>The client loved the application with one exception. They wanted it to use Google Maps. Ugh! I managed to getting working but it was not fun. I also sent a request to Google to create an API.</p>
<p>Google has listened, because yesterday they released a Flex API. Where was it a year ago when I needed it. <a title="ActionScript API for Google Maps" href="http://code.google.com/apis/maps/documentation/flash/" target="_blank">Google Code ActionScript API</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.robrusher.com/archives/36/feed</wfw:commentRss>
		</item>
		<item>
		<title>Moved to a WordPress blog</title>
		<link>http://www.robrusher.com/archives/1</link>
		<comments>http://www.robrusher.com/archives/1#comments</comments>
		<pubDate>Tue, 29 Apr 2008 04:31:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://h150607wp.setupmyblog.com/?p=1</guid>
		<description><![CDATA[I got tired of maintaining my CF based site so I moved to a WordPress blog. It&#8217;s so much easier to plug new stuff in and there are a bunch of people building stuff for WP, I figured that I might as well do it.
I am in the process of moving all of my old [...]]]></description>
			<content:encoded><![CDATA[<p>I got tired of maintaining my CF based site so I moved to a WordPress blog. It&#8217;s so much easier to plug new stuff in and there are a bunch of people building stuff for WP, I figured that I might as well do it.</p>
<p>I am in the process of moving all of my old posts to my new blog. So if you are looking for them, they are coming.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robrusher.com/archives/1/feed</wfw:commentRss>
		</item>
		<item>
		<title>Set Cursor Focus in Flex</title>
		<link>http://www.robrusher.com/archives/34</link>
		<comments>http://www.robrusher.com/archives/34#comments</comments>
		<pubDate>Tue, 29 Apr 2008 04:30:54 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[cursor]]></category>

		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=34</guid>
		<description><![CDATA[I have a pet peeve, although I&#8217;ll admit it&#8217;s one of many. The pet peeve is this. When starting a Flex application that requires authentication, I have to use tabbing or, heaven forbid, my mouse to set focus to the &#8220;user name&#8221; field on the login screen. Why!! We have been doing this for years [...]]]></description>
			<content:encoded><![CDATA[<p>I have a pet peeve, although I&#8217;ll admit it&#8217;s one of many. The pet peeve is this. When starting a Flex application that requires authentication, I have to use tabbing or, heaven forbid, my mouse to set focus to the &#8220;user name&#8221; field on the login screen. <em>Why!! We have been doing this for years in DHTML-based applications.</em> <strong>Why stop now?!</strong></p>
<p>Using Flex does throw a couple of a curve balls at you, so I thought I&#8217;d go ahead and share the solution with you.</p>
<p>Let&#8217;s start with the basis. The <a href="http://livedocs.adobe.com/flex/3/langref/mx/core/UIComponent.html" target="_blank">UIComponent</a> class has a property called <code><a href="http://livedocs.adobe.com/flex/3/langref/mx/core/UIComponent.html#focusManager" target="_blank">focusManager</a></code> which gets the <a href="http://livedocs.adobe.com/flex/3/langref/mx/managers/IFocusManager.html" target="_blank">FocusManager</a> that controls focus for  the component and its peers. And since all UI controls inherit from <a href="http://livedocs.adobe.com/flex/3/langref/mx/core/UIComponent.html">UIComponent</a>, they all automatically have this property as well. This give you access to a couple of key methods and properties necessary to set the cursor focus to a specific control.<br />
First, you need the <code><a href="http://livedocs.adobe.com/flex/3/langref/mx/managers/IFocusManager.html#setFocus()" target="_blank">setFocus( )</a></code> method. The argument to <code>setFocus()</code> is the <code>id </code>of the control you want the cursor to show on. Using just this method does set focus to the control and it highlights the control as well, but it doesn&#8217;t show the cursor. You also need to set the <code><a href="http://livedocs.adobe.com/flex/2/langref/mx/managers/IFocusManager.html#showFocus()" target="_blank">showFocus()</a></code>.     Sets <code>showFocusIndicator</code> to <code>true</code> and draws the visual focus indicator on the focused object, if any.</p>
<p>So the code might look like this:</p>
<div class="code">private function onCreationComplete():void<br />
{<br />
focusManager.setFocus( username );<br />
focusManager.showFocus();<br />
}</div>
<p>If you run this application as is, you&#8217;ll notice that something is still missing&#8230; the cursor!</p>
<p>The second part of the solution is to set focus to the flash object in the HTML wrapper. This means that you have to edit the <strong><em>index.template.html</em></strong> file in the <em>html-template</em> directory of your project. It also means that you have to conjure up some of the old JavaScript and DOM stuff we used to do before Flex.<br />
All you have to do is get the flash object reference from the DOM and invoke <code>focus()</code> on it. Place this code at the bottom of the script that loads the flash object.</p>
<p>So the code might look like this:</p>
<div class="code">document.getElementById(&#8221;${application}&#8221;).focus();</div>
<p>Because this file is a &#8220;template&#8221; we can use the variable, <code>${application}</code>, for the application name.</p>
<p>The HTML page should now set focus on the Flex application and then Flex application will set focus on the <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/TextInput.html">TextInput</a> control.</p>
<p>Now for the big <strong>&#8220;but&#8221;</strong>. <strong><span style="color: #ff0000;">This doesn&#8221;t work in Windows Firefox or Mac Safari. arrrgh!</span></strong><br />
But once you click on the SWF, it does set the focus. <em>PS: these are know bugs in the browser</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.robrusher.com/archives/34/feed</wfw:commentRss>
		</item>
		<item>
		<title>FlexReport Release</title>
		<link>http://www.robrusher.com/archives/33</link>
		<comments>http://www.robrusher.com/archives/33#comments</comments>
		<pubDate>Tue, 29 Apr 2008 04:28:19 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[component]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=33</guid>
		<description><![CDATA[It doesn&#8221;t matter where I go, I always run into people having printing issues with Flex. Most have found the FlexPrintJob class and samples on how to use it, but for those who print multiple pages the results are sometime less than stellar.
I just found a new open source project called FlexReport. It is said [...]]]></description>
			<content:encoded><![CDATA[<p>It doesn&#8221;t matter where I go, I always run into people having printing issues with Flex. Most have found the <a href="http://livedocs.adobe.com/flex/2/langref/mx/printing/FlexPrintJob.html">FlexPrintJob</a> class and samples on how to use it, but for those who print multiple pages the results are sometime less than stellar.</p>
<p>I just found a new open source project called <a href="http://www.kemelyon.com/bts/" target="_blank">FlexReport</a>. It is said to address report layouts, multi-page reports and print preview.</p>
<p>You can find his <a href="http://www.kemelyon.com/flexreport/">sample application</a> and <a href="http://www.kemelyon.com/flexreport/srcview/index.html">source</a> on the blog post.</p>
<p>Apparently, this guy has had the same problems as others.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robrusher.com/archives/33/feed</wfw:commentRss>
		</item>
		<item>
		<title>Denver Flex Users Group</title>
		<link>http://www.robrusher.com/archives/32</link>
		<comments>http://www.robrusher.com/archives/32#comments</comments>
		<pubDate>Tue, 29 Apr 2008 04:27:30 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[AIR]]></category>

		<category><![CDATA[Denver]]></category>

		<category><![CDATA[User Group]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=32</guid>
		<description><![CDATA[Our new site is RIA5280.org and is growing fast!
The Denver Adobe Flex UG has been meeting for a year and a half now with great success. We have had great topics, great speakers and great involvement from the community.
We&#8221;ve taken the next step in expanding our community by revamping the website. We are using a [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Our new site is <a href="http://ria5280.org/">RIA5280.org</a></strong> and is growing fast!</p>
<p>The <a href="http://www.adobe.com/cfusion/usergroups/search_results.cfm?country_id=D6D8274E-1954-4FEA-87FD8F85B651B29A&amp;state_id=A306C71D-A537-4A89-BF1C857ADFA5EDFC">Denver Adobe Flex UG</a> has been meeting for a year and a half now with great success. We have had great topics, great speakers and great involvement from the community.</p>
<p>We&#8221;ve taken the next step in expanding our community by revamping the website. We are using a free service from <a href="http://www.collectivex.com/">CollectiveX</a> for group sites. It has almost all of the features we would like to have as a group and it&#8217;&#8217;s free. They also have a la carte services for low fees.</p>
<p>Our next meeting is <a href="http://ria5280.org/calendar/event/2008/1/8/29108">Jan 8th, 2008</a> where we&#8221;ll have Jeff Barr from Amazon out to speak with us and show off some of the cool things Amazon is doing.</p>
<p>We also have a special <a href="http://labs.adobe.com/technologies/air/">Adobe AIR</a> presentation on <a href="http://ria5280.org/calendar/event/2008/1/21/29110">Jan 21, 2008</a>. Adobe is preparing to launch their newest product that allows web developers to build desktop applications. This meeting should not be missed!</p>
<p>I look forward to seeing you all there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robrusher.com/archives/32/feed</wfw:commentRss>
		</item>
		<item>
		<title>Also released BlazeDS</title>
		<link>http://www.robrusher.com/archives/31</link>
		<comments>http://www.robrusher.com/archives/31#comments</comments>
		<pubDate>Tue, 29 Apr 2008 04:26:37 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
		
		<category><![CDATA[Data Services]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[BlazeDS]]></category>

		<category><![CDATA[LCDS]]></category>

		<category><![CDATA[messaging]]></category>

		<category><![CDATA[remoting]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=31</guid>
		<description><![CDATA[In short, it&#8217;&#8217;s the free version of LiveCycle Data Services that includes the Remoting and Messaging technology previously available only as part of LiveCycle Data Services. It will now be available for free as a new Open Source product called BlazeDS (under LGPL v3 license).
Get BlazeDS
]]></description>
			<content:encoded><![CDATA[<p>In short, it&#8217;&#8217;s the free version of LiveCycle Data Services that includes the Remoting and Messaging technology previously available only as part of LiveCycle Data Services. It will now be available for free as a new Open Source product called BlazeDS (under LGPL v3 license).<br />
<a href="http://labs.adobe.com/technologies/blazeds/">Get BlazeDS</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.robrusher.com/archives/31/feed</wfw:commentRss>
		</item>
		<item>
		<title>Flex 2 Runtime CSS</title>
		<link>http://www.robrusher.com/archives/28</link>
		<comments>http://www.robrusher.com/archives/28#comments</comments>
		<pubDate>Tue, 29 Apr 2008 04:21:03 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[skins]]></category>

		<category><![CDATA[styles]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=28</guid>
		<description><![CDATA[So they&#8221;ve added this new feature called Runtime CSS to Flex 2 and integrated it with Flex Builder 2.0.1. You may over think this a bit, as I did, but it is really quite simple. In this entry, I go over the details.
I also have a gotcha that may have you scratching your head for [...]]]></description>
			<content:encoded><![CDATA[<p>So they&#8221;ve added this new feature called Runtime CSS to Flex 2 and integrated it with Flex Builder 2.0.1. You may over think this a bit, as I did, but it is really quite simple. In this entry, I go over the details.<br />
I also have a gotcha that may have you scratching your head for a hour or so.&#8217;, &#8216;Flex 2&#8242;&#8217;s Runtime CSS is really just a built-in way to compile your .css files into .swf files and then you use a <strong>StyleManager </strong>class to load the style SWF.</p>
<p>Let&#8217;&#8217;s start with the built-in way to compile a CSS file into a SWF:<br />
In Flex Builder 2.0.1, you will find a &#8220;<em>Compile CSS to SWF</em>&#8221; option in the context menu of a file in the Navigator view. It will only be enabled when the file is a CSS. Just set this option on each CSS file that you would like compiled with the application. You will notice that the compiled SWF will be automatically placed in the output folder for your project.</p>
<blockquote><p><em><br />
Gotcha:    There must be an output folder defined for the project. If for some reason the project&#8217;&#8217;s output folder is the root of the application, say instead of bin, this feature will be disabled.</em></p></blockquote>
<p>Okay, so now you have your CSS set to compile with the rest of your application automatically. Of course, you could do it manually from the command-line using the <strong>mxmlc</strong>, but why make things difficult.<br />
Now you just need to load the style SWF in your application. This is done with the <strong>StyleManager </strong>class. I simply call &#8220;<em>StyleManager.loadStyleDeclarations( &#8221;blueStyles.swf&#8221; )</em>&#8221; on some event to load the style SWF.</p>
<p>In my case, I start with something like this:</p>
<div class="code">&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221;<br />
xmlns:business=&#8221;com.app.business.*&#8221;<br />
xmlns:control=&#8221;com.app.control.*&#8221;<br />
xmlns:view=&#8221;com.app.view.*&#8221;<br />
layout=&#8221;absolute&#8221; minWidth=&#8221;990&#8243; minHeight=&#8221;550&#8243;<br />
preinitialize=&#8221;loadStyle()&#8221;<br />
creationComplete=&#8221;onCreationComplete()&#8221;&gt;</div>
<p>Then I can have a method that does nothing but load style SWF files.</p>
<div class="code">private function loadStyle() : void<br />
{<br />
var eventDispatcher:IEventDispatcher = StyleManager.loadStyleDeclarations( currentTheme + &#8220;.swf&#8221; );<br />
eventDispatcher.addEventListener( StyleEvent.COMPLETE, styleLoadedHandler );<br />
}</div>
<p>And in the case above, I have it set to change the CSS when the user selects the theme color they want from a ComboBox. I got most of my ideas on how to implement this from the new <a href="http://examples.adobe.com/flex2/inproduct/sdk/flexstore/flexstore.html">Flex Store</a>. You should take a look again if it has been awhile.</p>
<blockquote><p><em><br />
Note:   Another little thing that I&#8221;ve gotten stuck on are skins. I&#8221;ve found that I had to keep my CSS at the root of my project so that I could get to skins that use a ClassReference.<br />
<strong>ClassReference(&#8221;assets.skins.ButtonBarButtonSkin&#8221;);</strong></em></p></blockquote>
<p>In the end, the only files at the root of my project are the main application and the CSS files.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robrusher.com/archives/28/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to share your Flex code</title>
		<link>http://www.robrusher.com/archives/25</link>
		<comments>http://www.robrusher.com/archives/25#comments</comments>
		<pubDate>Tue, 29 Apr 2008 04:16:05 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
		
		<category><![CDATA[AIR]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Adobe]]></category>

		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=25</guid>
		<description><![CDATA[Sharing your source code is easy in Adobe Flex 2. After a quick glance at the Application class in the Flex API, you&#8221;ll find that the viewSourceURL property will allow you to open a new browser window at which your source would be stored. You could point it to a specific file or zip as [...]]]></description>
			<content:encoded><![CDATA[<p>Sharing your source code is easy in Adobe Flex 2. After a quick glance at the Application class in the <a href="http://livedocs.macromedia.com/flex/2/langref/" target="_blank">Flex API</a>, you&#8221;ll find that the <em><strong>viewSourceURL </strong></em>property will allow you to open a new browser window at which your source would be stored. You could point it to a specific file or zip as well as a directory. Either way, you are able to share your code with very little effort.</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="sc3"><span class="re1">&lt;mx:Application</span> xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span></div>
</li>
<li class="li1">
<div class="de1">viewSourceURL=<span class="st0">&quot;http://www.robrusher.com&quot;</span><span class="re2">&gt;</span></span></div>
</li>
<li class="li1">
<div class="de1">&#8230;</div>
</li>
<li class="li1">
<div class="de1"><span class="sc3"><span class="re1">&lt;/mx:Application</span><span class="re2">&gt;</span></span></div>
</li>
</ol>
</div>
<p>Nice!</p>
<p>UPDATE: For Flex Builder 3 they added a simple selection option that will include the source for you. Select from the menu bar Project &gt; Export Release Build&#8230; And then in the dialog, check the box for including source and select the objects you&#8217;d like to include.</p>
<p>Thanks Jason for reminding me to update this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robrusher.com/archives/25/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
