<?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>in a rush &#187; AIR</title>
	<atom:link href="http://robrusher.com/category/flashplatform/air/feed/" rel="self" type="application/rss+xml" />
	<link>http://robrusher.com</link>
	<description>experience is everything</description>
	<lastBuildDate>Tue, 17 Apr 2012 14:59:01 +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>No one is moving from Flex to HTML5</title>
		<link>http://robrusher.com/2012/04/11/no-one-is-moving-from-flex-to-html5/</link>
		<comments>http://robrusher.com/2012/04/11/no-one-is-moving-from-flex-to-html5/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 17:35:55 +0000</pubDate>
		<dc:creator>Rush</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[Apache Flex]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[future of Flex]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://robrusher.com/?p=356</guid>
		<description><![CDATA[<h1>UPDATE:</h1>
<p>You can&#8217;t make this stuff up. Someone sent me a couple of great graphics supporting my assertion. So please respond with anything that supports the contrary.</p>
<p><strong>Update:</strong></p>
<p>After getting a little splashback from some of my friends and colleagues, &#8230;</p>]]></description>
			<content:encoded><![CDATA[<h1>UPDATE:</h1>
<p>You can&#8217;t make this stuff up. Someone sent me a couple of great graphics supporting my assertion. So please respond with anything that supports the contrary.</p>
<p><strong>Update:</strong></p>
<p>After getting a little splashback from some of my friends and colleagues, I thought that I&#8217;d add a little supporting evidence to my assertions.</p>
<p><strong>&#8220;Moving&#8221; to HTML5 at this point is senseless gambling.</strong></p>
<p>I’m not just blowing smoke up your pipe here either. Open your browsers to <a title="HTML5 Browser Support Test" href="http://html5test.com" target="_blank">HTML5test.com</a> and see for yourself. Come on&#8230; go ahead and do it!</p>
<p>The HTML5 support score on latest Windows 7 browsers that I have: IE 138; FF 330; Chrome 400. And then on the Mac OSX 10.6 that I have; Safari 319; FF 340; Chrome 400. That makes Chrome our top student with a whopping 80%. And I&#8217;m what many would call an &#8220;Advanced User.&#8221; Expect less from the general public.</p>
<p>Last I checked, <strong>80% was a low &#8220;B-&#8221;</strong>. And with over <strong>50% of</strong> the browser usage coming from <strong>browsers</strong> that <strong>have failing scores</strong>, you can see why I would not recommend HTML5 except in specific edge cases. <em>And you thought IE6 was bad!</em> (Browser stats from <a title="w3schools browser usage statistics" href="http://www.w3schools.com/browsers/browsers_stats.asp" target="_blank">w3schools.com</a>)</p>
<p>As a mobile or web developer, <strong>adding HTML5 to your list of skills is imperative</strong>. But with the severe lack of consistent support, moving an enterprise development project to <strong>HTML5 now is purely experimental</strong> or an exercise in ego.</p>
<p>If you think I&#8217;m wrong, please provide supporting evidence and I&#8217;ll gladly educate myself.</p>
<hr />
<p>&nbsp;</p>
<h1>Original Post:</h1>
<p><img class="alignright size-full wp-image-386" title="chair-150x150" src="http://robrusher.com/wp-content/chair-150x150.jpg" alt="" width="150" height="150" /></p>
<p>The fear, uncertainty and doubt (FUD) is being slung around by profiteers like folding chairs at a <a title="World Westling Entertainment" href="http://www.wwe.com/" target="_blank">WWE</a> event. The haters are still being haters. Nothing new there. But now I see JavaScript companies&#8217; desperate pleas for <a title="Flex development " href="http://www.on3solutions.com/software-development/flex-developers/" target="_blank">Flex developers</a> to start using their <a title="HTML5 Development" href="http://www.on3solutions.com/software-development/html5-developers/" target="_blank">HTML5</a> software.<br />
The context is all wrong here.  Very, very few Flex developers have shifted, moved, changed over, or whatever you want to call it&#8230; to <a title="HTML5 Development" href="http://www.on3solutions.com/software-development/html5-developers/" target="_blank">HTML5</a> (or anything else JS-based.)</p>
<p>&nbsp;</p>
<h2>There is not a move to HTML5</h2>
<p>I will go as far as to say that there is not a move to <a title="HTML5 Development" href="http://www.on3solutions.com/software-development/html5-developers/" target="_blank">HTML5</a>. The simple fact is that, <strong>developers are being developers</strong>. No matter the background, we are always trying to broadening our skill sets. This includes <a title="HTML5 Development" href="http://www.on3solutions.com/software-development/html5-developers/" target="_blank">HTML5</a> since it started showing up a few years ago. For anyone to imply, or state outright, that there is some mass exodus from <a title="Flex development " href="http://www.on3solutions.com/software-development/flex-developers/" target="_blank">Flex</a> is completely false!</p>
<p>The reality is still the same, Flash Player is still the most consistent cross-browser, cross-OS, and cross-device platform for software development.</p>
<p>It doesn&#8217;t matter if you are building business software or games, with one technology you are able to build for the desktop, Internet Explorer, Chrome, Firefox, Safari, <a title="Android development" href="http://www.on3solutions.com/software-development/android-developer/" target="_blank">Android</a>, <a title="iPad developer" href="http://www.on3solutions.com/software-development/ipad-developer/" target="_blank">iPad</a>, <a title="iPhone development" href="http://www.on3solutions.com/software-development/iphone-development/" target="_blank">iPhone</a>, Blackberry and Internet TVs.</p>
<p><a href="http://robrusher.com/wp-content/headache.jpg"><img class="alignleft size-full wp-image-422" title="headache" src="http://robrusher.com/wp-content/headache.jpg" alt="" width="250" height="201" /></a>What most haters fail to realize is how nice it is to go through your bug list and not find ANY bugs that are browser/platform specific. <strong>The only bugs I have, are actual bugs that I can fix.</strong> Not browser support related issues that you have no control over. For the first time in years I had to deal with browser specific issue when our <a title="On3 User Experience Design Agency" href="http://www.on3solutions.com/" target="_blank">On3</a> client embedded the application in a <a title="JavaServer Faces" href="http://www.oracle.com/technetwork/java/javaee/javaserverfaces-139869.html" target="_blank">JSF</a>, <a title="JavaServer Pages Standard Tag Library" href="http://www.oracle.com/technetwork/java/jstl-137486.html" target="_blank">JSTL</a>, <a title="Oracle Application Development Framework" href="http://www.oracle.com/technetwork/developer-tools/adf/overview/index.html" target="_blank">ADF</a> container. It reminded me of how good I have it. I don&#8217;t have to deal with this headache on a daily basis. In fact, it was one of the complete joys that drove me from building <a title="DHTML is what makes AJAX and HTML5 work" href="http://en.wikipedia.org/wiki/Dynamic_HTML" target="_blank">DHMTL</a> development to Flex development.</p>
<p>So, the next time someone says, &#8220;Flex is dead&#8221; or &#8220;Everyone is moving to <em>&lt;insert tech here&gt;,</em>&#8221; take it with a grain of salt. In all likely hood, they have a hidden agenda.</p>
<p>&nbsp;</p>
<p>Thank you Moai for this great graphic on the <a title="HTML5 Hype vs. Reality" href="http://getmoai.com/images/banners/mobilegaming-html5-vs-alternatives-011112-moai.jpg">HTML5 Hype vs. Reality</a>.</p>
<p><a href="http://robrusher.com/wp-content/mobilegaming-html5-vs-alternatives-011112-moai.jpg"><img class="alignnone size-full wp-image-433" title="mobilegaming-html5-vs-alternatives-011112-moai" src="http://robrusher.com/wp-content/mobilegaming-html5-vs-alternatives-011112-moai.jpg" alt="" width="720" height="3699" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://robrusher.com/2012/04/11/no-one-is-moving-from-flex-to-html5/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>License your Flex and AIR applications</title>
		<link>http://robrusher.com/2010/03/24/license-your-flex-and-air-applications/</link>
		<comments>http://robrusher.com/2010/03/24/license-your-flex-and-air-applications/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 03:31:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Best Practise]]></category>
		<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[PureMVC]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Cliff Hall]]></category>
		<category><![CDATA[Licensing]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[Zarqon]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=215</guid>
		<description><![CDATA[<p>If you need an easy and affordable way to secure your application  against license sharing and &#8216;keygen cracks&#8217;, <a title="Zarqon License Application" href="http://zarqon.net" target="_blank">Zarqon</a> just may be the  answer you&#8217;ve been looking for.</p>
<p>A good friend of mine, Cliff Hall, is most known for the &#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>If you need an easy and affordable way to secure your application  against license sharing and &#8216;keygen cracks&#8217;, <a title="Zarqon License Application" href="http://zarqon.net" target="_blank">Zarqon</a> just may be the  answer you&#8217;ve been looking for.</p>
<p>A good friend of mine, Cliff Hall, is most known for the PureMVC framework which was inspired by his his lack of love for the Cairngorm framework. Well, Cliff apparently was irritated by the inability to create licensed products with Flex and AIR too, so he did something about it. <a title="Zarqon License Application" href="http://zarqon.net/" target="_blank">Zarqon</a>. He has created very useful tool for creating a licensed Flex and/or AIR applications. How you implement your app is totally up to  you, Zarqon just helps you easily issue and validate licenses.</p>
<p>Are you a software skeptic, me too! No worries, there a free 30 day trial license  that will allow you to fully evaluate the product and make a decision  about whether it&#8217;s right for you.</p>
<p>It is now in &#8220;beta&#8221;, but if you begin implementation of a Zarqon-licensed product within  the trial period that you plan to launch, let him know and you just may get a free license. Even if you do have to buy a license, it won&#8217;t set you back but $25.</p>
<p>I&#8217;m going to start my testing immediately and I&#8217;ll let you know my  thoughts later.</p>
<p>You can read all about it and sign up for the Beta at                                         <a title="New window will open" href="http://www.linkedin.com/redirect?url=http%3A%2F%2Fzarqon%2Enet&amp;urlhash=BOir" target="_blank">http://zarqon.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://robrusher.com/2010/03/24/license-your-flex-and-air-applications/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to install Adobe AIR on Linux</title>
		<link>http://robrusher.com/2010/03/19/how-to-install-adobe-air-on-linux/</link>
		<comments>http://robrusher.com/2010/03/19/how-to-install-adobe-air-on-linux/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 17:38:10 +0000</pubDate>
		<dc:creator>Rush</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=154</guid>
		<description><![CDATA[<p>Download Adobe AIR from the Adobe downloads.</p>
<p>Open a terminal window.</p>
<p>cd to download directory</p>
<p>chmod the AdobeAIRInstaller.bin to 755</p>
<p>su -m</p>
<p>enter password</p>
<p>./AdobeAIRInstaller.bin&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Download Adobe AIR from the Adobe downloads.</p>
<p>Open a terminal window.</p>
<p>cd to download directory</p>
<p>chmod the AdobeAIRInstaller.bin to 755</p>
<p>su -m</p>
<p>enter password</p>
<p>./AdobeAIRInstaller.bin</p>
]]></content:encoded>
			<wfw:commentRss>http://robrusher.com/2010/03/19/how-to-install-adobe-air-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security Soapbox &#8211; Decompile Flash/Flex</title>
		<link>http://robrusher.com/2009/06/25/security-soapbox-decompile-flashflex/</link>
		<comments>http://robrusher.com/2009/06/25/security-soapbox-decompile-flashflex/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 07:02:00 +0000</pubDate>
		<dc:creator>Rush</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[decompiler flash]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=139</guid>
		<description><![CDATA[<p>Having built/architected/developed/consulted many Adobe Flex applications and being one of the first <a href="http://www.on3solutions.com/about-us/instructors" target="_blank">certified Flex instructors</a> in the world, I&#8217;ve seen a lot of Flex applications. Some good, some bad.</p>
<p>But no matter how many applications or who I&#8217;m talking to, &#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Having built/architected/developed/consulted many Adobe Flex applications and being one of the first <a href="http://www.on3solutions.com/about-us/instructors" target="_blank">certified Flex instructors</a> in the world, I&#8217;ve seen a lot of Flex applications. Some good, some bad.</p>
<p>But no matter how many applications or who I&#8217;m talking to, <strong>I always stress the importance of securing proprietary information</strong>. By securing, I mean don&#8217;t put it in your application. Unless your are encrypting your application and decrypting at runtime, you are subject to a decompiler exposing your secrets.</p>
<p>There are Flash decompilers that will take any SWF and give you the source:<br />
<a title="Decompile Flash" href="http://www.flash-decompiler.com" target="_blank">Trillix Flash Decompiler</a> is one of the best commercial tools I&#8217;ve found.<br />
I&#8217;ve even seen guys <a title="Hack a Flash-based application" href="http://www.nitrolm.com/blog/2009/06/23/how-to-hack-an-air-app-swf/" target="_blank">decompile, make changes and then recompile</a> a Flex app. This is scary! Say goodbye to licensing software in Flash.</p>
<p>But HP just released a tool that has caught my eye as well. (Note: I have not tested this tool) It claims to decompile and test for security weaknesses. It&#8217;s called <a title="SWFScan decompile and scan Flash" href="http://www.communities.hp.com/securitysoftware/blogs/spilabs/archive/2009/03/20/exposing-flash-application-vulnerabilities-with-swfscan.aspx" target="_blank">SWFScan</a> and it&#8217;s a free Windows based tool from HP.</p>
<p>If security in a Flex or Flash based application is a concern for you, <strong>you must</strong> look at these tools. <strong>If security is not your concern, look anyway.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://robrusher.com/2009/06/25/security-soapbox-decompile-flashflex/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CFUnited has lots of Flex Training Sessions</title>
		<link>http://robrusher.com/2009/05/09/cfunited-has-lots-of-flex-training-sessions/</link>
		<comments>http://robrusher.com/2009/05/09/cfunited-has-lots-of-flex-training-sessions/#comments</comments>
		<pubDate>Sun, 10 May 2009 01:52:43 +0000</pubDate>
		<dc:creator>Rush</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[CFUnited]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[Flex Conference]]></category>
		<category><![CDATA[On3]]></category>
		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=80</guid>
		<description><![CDATA[<p>One of my <a title="CFUnited" href="http://www.cfunited.com" target="_blank">CFUnited</a> sessions:<br />
AIR: Building Desktop Applications with Flex 3 &#8211; <a href="http://cfunited.com/2009/topics/235" target="_blank">http://cfunited.com/2009/topics/235</a></p>
<h4>Here is a little Q&#38;A about CFUnited and me.</h4>
<p><strong>1. Have you spoken at CFUnited in the past?  What would you tell someone who hasn&#8217;t been </strong>&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>One of my <a title="CFUnited" href="http://www.cfunited.com" target="_blank">CFUnited</a> sessions:<br />
AIR: Building Desktop Applications with Flex 3 &#8211; <a href="http://cfunited.com/2009/topics/235" target="_blank">http://cfunited.com/2009/topics/235</a></p>
<h4>Here is a little Q&amp;A about CFUnited and me.</h4>
<p><strong>1. Have you spoken at CFUnited in the past?  What would you tell someone who hasn&#8217;t been to CFUnited before?</strong></p>
<p><em>Yes, I have spoken at CFUnited in the past. And I&#8217;d have to equate it to seeing your favorite band in a small venue. Same great talent, but not nearly as crowded allowing you to easily network with so many very talented people.</em></p>
<p><strong>2. Why should people attend your session(s)?</strong></p>
<p><em>If you have been wondering about, thinking about or just plain curious about Adobe AIR, my session will clear the air&#8230; uh, no pun intended.</em></p>
<p><strong>3. Do you have any projects in the works that you will be revealing at CFUnited?</strong></p>
<p><em>I have been doing quite a bit in the mobile space, actually more of an add-on to some of our AIR development projects. So look forward  to ways to take your application to iPhone, Symbian and Android.</em></p>
<p><strong>4. Besides your topic, what other sessions are you looking forward to?</strong></p>
<p><em>I know I&#8217;ll get in trouble for this, but its not the sessions to which I really look forward. Its the one on one conversations that I&#8217;ll have with people from all over that help me solve problems and come up with new ideas. That is what I&#8217;m looking forward to. Oh and the sessions help me identify who I&#8217;d like to meet.</em></p>
<p><strong>5. Where can people find you at CFUnited?  (At the bar, networking, working, in your room, etc.)</strong></p>
<p><em>Networking.</em></p>
<p><strong>6. What&#8217;s the latest news with you? Has anything changed since last CFUnited?</strong></p>
<p><em>Since <a title="On3 .:. Adobe Certified Flex Training and Resources" href="http://www.on3solutions.com/training" target="_blank">On3</a> is all about helping organizations grow their own Flex developers, we have opened a new training center in Denver, CO.</em></p>
<p><strong>7. When you are not working what do you like to do in your free time?</strong></p>
<p><em>Mountain Bike in the Spring thru Fall, Ski during the Winter</em></p>
]]></content:encoded>
			<wfw:commentRss>http://robrusher.com/2009/05/09/cfunited-has-lots-of-flex-training-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unemployed? Learn Flex!</title>
		<link>http://robrusher.com/2009/04/10/unemployed-learn-flex/</link>
		<comments>http://robrusher.com/2009/04/10/unemployed-learn-flex/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 22:19:45 +0000</pubDate>
		<dc:creator>Rush</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[Free License]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=76</guid>
		<description><![CDATA[<p>Adobe Flex Builder 3 software is currently available for free for software developers who are affected by the current economic condition and are currently unemployed.</p>
<p><a title="Link to register for free Adobe Flex Builder license" href="https://freeriatools.adobe.com/learnflex/" target="_blank">https://freeriatools.adobe.com/learnflex/</a></p>
<p>Of course there are three restrictions. You must attest that you are:</p>
<ol>
<li>Unemployed</li>
<li>Using </li>&#8230;</ol>]]></description>
			<content:encoded><![CDATA[<p>Adobe Flex Builder 3 software is currently available for free for software developers who are affected by the current economic condition and are currently unemployed.</p>
<p><a title="Link to register for free Adobe Flex Builder license" href="https://freeriatools.adobe.com/learnflex/" target="_blank">https://freeriatools.adobe.com/learnflex/</a></p>
<p>Of course there are three restrictions. You must attest that you are:</p>
<ol>
<li>Unemployed</li>
<li>Using it for personal use</li>
<li>Not using it for commercial or production use</li>
</ol>
<p>UPDATE: The program was suspended, the last I looked, due to the high volume of applicants. But keep checking. You never know.</p>
]]></content:encoded>
			<wfw:commentRss>http://robrusher.com/2009/04/10/unemployed-learn-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use AMF with JavaScript in Adobe AIR</title>
		<link>http://robrusher.com/2009/03/31/use-amf-with-javascript-in-adobe-air/</link>
		<comments>http://robrusher.com/2009/03/31/use-amf-with-javascript-in-adobe-air/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 19:13:19 +0000</pubDate>
		<dc:creator>Rush</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[AMF]]></category>
		<category><![CDATA[flash remoting]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=67</guid>
		<description><![CDATA[<p>I&#8217;ve been working with Adobe Flex since its beta and have been a long time believer in using <a href="http://en.wikipedia.org/wiki/Action_Message_Format" target="_blank">Action Message Format</a> (AMF) as the communication protocol. I&#8217;ve also been working with Adobe AIR since its beta, but had only used &#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working with Adobe Flex since its beta and have been a long time believer in using <a href="http://en.wikipedia.org/wiki/Action_Message_Format" target="_blank">Action Message Format</a> (AMF) as the communication protocol. I&#8217;ve also been working with Adobe AIR since its beta, but had only used AMF with Flex-based AIR applications. Until now&#8230;</p>
<p>I was working on a <a href="http://www.adobe.com/devnet/air/ajax/" target="_blank">JavaScript-based AIR application</a> (some refer to this as an AJAX-based application) recently where they wanted to use AMF, but didn&#8217;t want to hide a SWF in it to facilitate the AMF communication. Since there are other Flash Remoting gateways available, like <a href="http://sourceforge.net/projects/openamf/" target="_blank">openAMF</a> and <a href="www.amfphp.org" target="_blank">AMFPHP</a>, it would be great if I could just use a JavaScript library to do the communication with those gateways.</p>
<p>If you look at examples in Flash that do this type of connection, you&#8217;ll notice that they use a NetConnection class. Guess what?! That class is also available in the JavaScript API for AIR. Yes, its that simple!</p>
<p>So with a simple refactoring of the same code from Flash, I was able to get my JavaScript-based AIR application to communicate with a Flash Remoting gateway. This example assumes you have installed a Flash Remoting gateway somewhere, that you replace [my_flash_remoting_gateway] with the gateway root and you&#8217;ve created a class with a method that you can invoke.</p>
<pre name="code" class="javascript">&lt;html&gt;
&lt;head&gt;
&lt;title&gt;JavaScript-based Flash Remoting&lt;/title&gt;
&lt;link href="sample.css" rel="stylesheet" type="text/css"/&gt;
&lt;script type="text/javascript" src="lib/air/AIRAliases.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="lib/air/AIRSourceViewer.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
function doAMF()
{
var netConnection = new air.NetConnection();
netConnection.connect("http://[my_flash_remoting_gateway]");
var responder = new air.Responder(onComplete, onFail);
netConnection.call("HelloWorld", responder);
}
function onComplete(results)
{
alert( results.length );
}

function onFail(results)
{
alert(results)
}

&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;h3&gt;Get data over AMFPHP&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Has access to AIR APIs:
&lt;input type="button" onclick="doAMF()" value="Make AMF call"/&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/body&gt;

&lt;/html&gt;</pre>
<p>Here is an example class in PHP:</p>
<pre name="code" class="php">&lt;?php
class HelloWorld
{
function HelloWorld()
{
$this-&gt;methodTable = array
(
"say" =&gt; array
(
"access" =&gt; "remote",
"description" =&gt; "Pings back a message"
)
);
}
}
?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://robrusher.com/2009/03/31/use-amf-with-javascript-in-adobe-air/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to share your Flex code</title>
		<link>http://robrusher.com/2008/04/28/how-to-share-your-flex-code/</link>
		<comments>http://robrusher.com/2008/04/28/how-to-share-your-flex-code/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 04:16:05 +0000</pubDate>
		<dc:creator>Rush</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[<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 &#8230;</p>]]></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>
<pre name="code" class="javascript">&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
viewSourceURL="http://www.robrusher.com"&gt;
...
&lt;/mx:Application&gt;</pre>
<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://robrusher.com/2008/04/28/how-to-share-your-flex-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adobe AIR Training</title>
		<link>http://robrusher.com/2007/11/28/adobe-air-training/</link>
		<comments>http://robrusher.com/2007/11/28/adobe-air-training/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 04:25:56 +0000</pubDate>
		<dc:creator>Rush</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Training]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=30</guid>
		<description><![CDATA[<p>Just wanted to let everyone know, the Adobe certified AIR course that I have been building is almost ready. It will be offered as a beta class until the full product release. AIR 1.0 will be released on&#8230; <img src='http://robrusher.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>This class &#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Just wanted to let everyone know, the Adobe certified AIR course that I have been building is almost ready. It will be offered as a beta class until the full product release. AIR 1.0 will be released on&#8230; <img src='http://robrusher.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>This class is for those who already know Flex and ActionScript, basically you should have experience with classes and creating event listeners.</p>
<p>I&#8217;ve taught it at Adobe MAX in Chicago and will teach it at Adobe MAX in Barcelona. The reviews have been very positive (the last one ended with an ovation).</p>
<p>You should see the class appear on Adobe training partner sites later this year.</p>
]]></content:encoded>
			<wfw:commentRss>http://robrusher.com/2007/11/28/adobe-air-training/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR Training is coming</title>
		<link>http://robrusher.com/2007/11/02/air-training-is-coming/</link>
		<comments>http://robrusher.com/2007/11/02/air-training-is-coming/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 04:25:25 +0000</pubDate>
		<dc:creator>Rush</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Training]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=29</guid>
		<description><![CDATA[<p>My blog has been quiet lately due to a number of reasons, but the #1 reason is that I&#8221;m working on the <strong><em>AIR: Building Desktop Applications with Flex</em> </strong>course for Adobe. Having been an instructor for many years and a &#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>My blog has been quiet lately due to a number of reasons, but the #1 reason is that I&#8221;m working on the <strong><em>AIR: Building Desktop Applications with Flex</em> </strong>course for Adobe. Having been an instructor for many years and a developer for even longer, this is a great opportunity for me to give back to the community. And for those of you who have seen me in action, know that I do a lot of giving.</p>
<table border="0" cellspacing="1" cellpadding="1" width="100%">
<tbody>
<tr>
<td><img src="../../admin/cffm/custom/adobe/MAX07_B125x125_speaker.gif" alt="" /></td>
<td>You can attend the <strong>first ever AIR class</strong> at <a href="http://adobemax2007.com/na/"><strong>Adobe MAX in Chicago</strong></a> and the second at <a href="http://adobemax2007.com/europe/"><strong>MAX Europe in Barcelona</strong></a>. These are a pre- and post-conference course for which you can register.<br />
I&#8221;m really excited about the course and I&#8221;m sure you will be too!</td>
</tr>
<tr>
<td colspan="2">Speaking of giving, in addition to being at the MAX conferences, I&#8221;ll also be at <a href="http://www.ajaxworldexpo.com/">AJAXWorld Expo</a> in Santa Clara in September.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://robrusher.com/2007/11/02/air-training-is-coming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

