<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: AIR Tip 5 &#8211; Passing Arguments to an Application on Install</title>
	<atom:link href="http://archive.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/feed/" rel="self" type="application/rss+xml" />
	<link>http://archive.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/</link>
	<description>web development goodness</description>
	<lastBuildDate>Tue, 26 Jul 2011 07:10:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: greno</title>
		<link>http://archive.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/comment-page-1/#comment-4036</link>
		<dc:creator>greno</dc:creator>
		<pubDate>Sat, 12 Mar 2011 03:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/#comment-4036</guid>
		<description>After a lot of tinkering it looks like you cannot make any argument be an IP, URL or a FilePath.  

So what good are arguments then?

Next, after changing the arguments to something trivial like test,test2 I was able to get the installer code to begin but then ran into another problem.  

I have AIR 2.5 already installed and this app installer refused to continue with this error:
==========================
Application Install Window
==========================
Sorry, an error has occurred.

This application requires an update to Adobe AIR that is not 
available for your system.

Please view the system requirements for Adobe AIR and
update your system accordingly.

Close Button
==========================


Time to give up on this exercise...</description>
		<content:encoded><![CDATA[<p>After a lot of tinkering it looks like you cannot make any argument be an IP, URL or a FilePath.  </p>
<p>So what good are arguments then?</p>
<p>Next, after changing the arguments to something trivial like test,test2 I was able to get the installer code to begin but then ran into another problem.  </p>
<p>I have AIR 2.5 already installed and this app installer refused to continue with this error:<br />
==========================<br />
Application Install Window<br />
==========================<br />
Sorry, an error has occurred.</p>
<p>This application requires an update to Adobe AIR that is not<br />
available for your system.</p>
<p>Please view the system requirements for Adobe AIR and<br />
update your system accordingly.</p>
<p>Close Button<br />
==========================</p>
<p>Time to give up on this exercise&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: greno</title>
		<link>http://archive.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/comment-page-1/#comment-4035</link>
		<dc:creator>greno</dc:creator>
		<pubDate>Sat, 12 Mar 2011 00:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/#comment-4035</guid>
		<description>Just tried downloading this AIR application and it says: Invalid argument IP XX.XX.XX.XX

How do you download this app?</description>
		<content:encoded><![CDATA[<p>Just tried downloading this AIR application and it says: Invalid argument IP XX.XX.XX.XX</p>
<p>How do you download this app?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Electrician Minnesota</title>
		<link>http://archive.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/comment-page-1/#comment-4014</link>
		<dc:creator>Electrician Minnesota</dc:creator>
		<pubDate>Thu, 27 Jan 2011 22:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/#comment-4014</guid>
		<description>This really is my fourth visit your website. I discovered so many fascinating issues in your blog especially its dialogue. I assume I&#039;m not the only one enjoying it! Keep up the good operate.</description>
		<content:encoded><![CDATA[<p>This really is my fourth visit your website. I discovered so many fascinating issues in your blog especially its dialogue. I assume I&#8217;m not the only one enjoying it! Keep up the good operate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: luca</title>
		<link>http://archive.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/comment-page-1/#comment-3845</link>
		<dc:creator>luca</dc:creator>
		<pubDate>Tue, 15 Jun 2010 08:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/#comment-3845</guid>
		<description>After having modified the AIRBadge.as file, how do I build the .SWF file?

Unfortunally all the articles that I found, do not explain this last passage.</description>
		<content:encoded><![CDATA[<p>After having modified the AIRBadge.as file, how do I build the .SWF file?</p>
<p>Unfortunally all the articles that I found, do not explain this last passage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Bucholtz</title>
		<link>http://archive.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/comment-page-1/#comment-3720</link>
		<dc:creator>Dan Bucholtz</dc:creator>
		<pubDate>Mon, 18 Jan 2010 19:35:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/#comment-3720</guid>
		<description>Hi - I&#039;m confused as to how this works.

I&#039;ve followed your tutorial yet the BrowserInvokeEvent does not seem to be invoked.

This is the application compiled into the .air app.  On the preInitialize event, I do the following code:

private function initResources():void{
				NativeApplication.nativeApplication.addEventListener(BrowserInvokeEvent.BROWSER_INVOKE, onInvokeEvent);
				Swiz.loadBeans( [Beans] );
			}


As you can see, I subscribe to the event and prepare my swiz framework beans.  That&#039;s all.

Having said that, the listener is never called.  I have the following code in place to debug and see what data I&#039;d be receiving from the flashvars.

private function onInvokeEvent(invocation:BrowserInvokeEvent):void {
				Alert.show(&quot;BrowserInvokeEvent handler&quot;); 
				var arguments:Array = invocation.arguments;
				for each ( var object in arguments ){
					Alert.show(&quot;argument is &quot; + object + &quot; or &quot; + object.data );
				}
			}


Am I missing a step such as recompiling the Badge.swf with the new contents of AIRBadge.as ?

Thanks in advance, I&#039;m very stumped by this.  Any guidance will be appreciated.

Dan</description>
		<content:encoded><![CDATA[<p>Hi &#8211; I&#8217;m confused as to how this works.</p>
<p>I&#8217;ve followed your tutorial yet the BrowserInvokeEvent does not seem to be invoked.</p>
<p>This is the application compiled into the .air app.  On the preInitialize event, I do the following code:</p>
<p>private function initResources():void{<br />
				NativeApplication.nativeApplication.addEventListener(BrowserInvokeEvent.BROWSER_INVOKE, onInvokeEvent);<br />
				Swiz.loadBeans( [Beans] );<br />
			}</p>
<p>As you can see, I subscribe to the event and prepare my swiz framework beans.  That&#8217;s all.</p>
<p>Having said that, the listener is never called.  I have the following code in place to debug and see what data I&#8217;d be receiving from the flashvars.</p>
<p>private function onInvokeEvent(invocation:BrowserInvokeEvent):void {<br />
				Alert.show(&#8220;BrowserInvokeEvent handler&#8221;);<br />
				var arguments:Array = invocation.arguments;<br />
				for each ( var object in arguments ){<br />
					Alert.show(&#8220;argument is &#8221; + object + &#8221; or &#8221; + object.data );<br />
				}<br />
			}</p>
<p>Am I missing a step such as recompiling the Badge.swf with the new contents of AIRBadge.as ?</p>
<p>Thanks in advance, I&#8217;m very stumped by this.  Any guidance will be appreciated.</p>
<p>Dan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Blackburn</title>
		<link>http://archive.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/comment-page-1/#comment-3674</link>
		<dc:creator>Jonathan Blackburn</dc:creator>
		<pubDate>Tue, 15 Dec 2009 16:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/#comment-3674</guid>
		<description>Hi David,

I&#039;d like to follow up on Ricardinho&#039;s question. Passing custom params on a browser install is all well and good, but the &quot;Save&quot; button on the install screen doesn&#039;t pass anything in - it&#039;s a direct download.

I have an app that is dependent on custom parameters that in-turn form queries to load custom data that is then stored on a user&#039;s system. I need to be able to remove the &quot;Save&quot; button from the install screen. How can I accomplish this?

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>I&#8217;d like to follow up on Ricardinho&#8217;s question. Passing custom params on a browser install is all well and good, but the &#8220;Save&#8221; button on the install screen doesn&#8217;t pass anything in &#8211; it&#8217;s a direct download.</p>
<p>I have an app that is dependent on custom parameters that in-turn form queries to load custom data that is then stored on a user&#8217;s system. I need to be able to remove the &#8220;Save&#8221; button from the install screen. How can I accomplish this?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elie</title>
		<link>http://archive.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/comment-page-1/#comment-3465</link>
		<dc:creator>Elie</dc:creator>
		<pubDate>Tue, 13 Oct 2009 15:06:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/#comment-3465</guid>
		<description>Hi David, it&#039;s a great tutorial :)

I have a question concerning dynamically passing parameter.

I have a list where the user can select from it. i need to pass the user selection to air application via the seamless badge.

Is it posible to do it?

Thanks a lot
-Elie</description>
		<content:encoded><![CDATA[<p>Hi David, it&#8217;s a great tutorial <img src='http://archive.davidtucker.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I have a question concerning dynamically passing parameter.</p>
<p>I have a list where the user can select from it. i need to pass the user selection to air application via the seamless badge.</p>
<p>Is it posible to do it?</p>
<p>Thanks a lot<br />
-Elie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryan</title>
		<link>http://archive.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/comment-page-1/#comment-3324</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Tue, 14 Jul 2009 16:12:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/#comment-3324</guid>
		<description>yup i second what mr. &quot;Hi&quot; said...

Specificly is there a way to use this feature to store sensetive service data into the EncryptedLocalStore during installation?

Has anybody tried that yet?</description>
		<content:encoded><![CDATA[<p>yup i second what mr. &#8220;Hi&#8221; said&#8230;</p>
<p>Specificly is there a way to use this feature to store sensetive service data into the EncryptedLocalStore during installation?</p>
<p>Has anybody tried that yet?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hi</title>
		<link>http://archive.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/comment-page-1/#comment-3077</link>
		<dc:creator>Hi</dc:creator>
		<pubDate>Tue, 09 Jun 2009 16:58:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/#comment-3077</guid>
		<description>IS it possible for having an input box at install time which will take one time input parameters and store them in the application.
The type of application will be normal AIR application without the Browser invoke event.</description>
		<content:encoded><![CDATA[<p>IS it possible for having an input box at install time which will take one time input parameters and store them in the application.<br />
The type of application will be normal AIR application without the Browser invoke event.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardinho</title>
		<link>http://archive.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/comment-page-1/#comment-2949</link>
		<dc:creator>Ricardinho</dc:creator>
		<pubDate>Fri, 17 Apr 2009 09:58:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-install/#comment-2949</guid>
		<description>&quot;Does this feature work if i click “save” instead of “install” ???&quot;

If it doesn&#039;t is there a way to simply remove the option to &quot;save&quot; the document and only allow for it to be directly installed?</description>
		<content:encoded><![CDATA[<p>&#8220;Does this feature work if i click “save” instead of “install” ???&#8221;</p>
<p>If it doesn&#8217;t is there a way to simply remove the option to &#8220;save&#8221; the document and only allow for it to be directly installed?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

