<?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 for nothing yet | jason madsen</title>
	<atom:link href="http://knomedia.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://knomedia.com/blog</link>
	<description>flash platform insights</description>
	<lastBuildDate>Fri, 05 Mar 2010 21:02:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Using the Adobe AIR Install Badge by Bala</title>
		<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/comment-page-1/#comment-181</link>
		<dc:creator>Bala</dc:creator>
		<pubDate>Fri, 05 Mar 2010 21:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=42#comment-181</guid>
		<description>i figured out my problem

for anyone else struggling with this: http://forums.adobe.com/message/110535#110535

You can no longer call installApplication() or launchApplication() outside the context of a user-initiated event such as a button click. This change was made to improve the security of the browser API.</description>
		<content:encoded><![CDATA[<p>i figured out my problem</p>
<p>for anyone else struggling with this: <a href="http://forums.adobe.com/message/110535#110535" rel="nofollow">http://forums.adobe.com/message/110535#110535</a></p>
<p>You can no longer call installApplication() or launchApplication() outside the context of a user-initiated event such as a button click. This change was made to improve the security of the browser API.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using the Adobe AIR Install Badge by Bala</title>
		<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/comment-page-1/#comment-180</link>
		<dc:creator>Bala</dc:creator>
		<pubDate>Tue, 02 Mar 2010 18:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=42#comment-180</guid>
		<description>Hey jason, thanks for the suggestion. i do in deed have that in my descriptor file.

I was able to narrow my problem, I think it is a scope issue, maybe you can help ( I am a .NET developer, not so much AS3)

This code snippet is from the AIRBadge.as provided in the AIR SDK

This code works:
private var _appURL: String;
private var _appName: String;
private var _airVersion: String;
				
private var appID:String = &quot;com.dbala.me.appid&quot;; 
private var pubID:String = &quot;&quot;; // 
		
private var launch_args:Array = [&quot;launchFromBrowser&quot;];

&lt;code&gt;

private function onButtonClicked(e:Event):void {
	_air.installApplication( _appURL, _airVersion );
			
}

&lt;/code&gt;

This code does NOT work:

&lt;code&gt;

private function onButtonClicked(e:Event):void {
	_air.getApplicationVersion(appID, pubID, versionDetectCallback);
			
}

private function versionDetectCallback(version:String):void 
{ 
	if (version == null) 
	{
		//this message displays
		root.statusMessage.htmlText = &quot;blablabla installing&quot;;
			
		//this function DOES NOT execute
		_air.installApplication( _appURL, _airVersion );
		
		//this message displays
		root.statusMessage.htmlText = &quot;blablabla after installing&quot;;

			
	} 
	else 
	{ 
		//this message displays
		root.statusMessage.htmlText = &quot;Launching Application..&quot;;
		
		//this function DOES NOT execute
		_air.launchApplication(appID, pubID, launch_args);	
	} 
}

&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hey jason, thanks for the suggestion. i do in deed have that in my descriptor file.</p>
<p>I was able to narrow my problem, I think it is a scope issue, maybe you can help ( I am a .NET developer, not so much AS3)</p>
<p>This code snippet is from the AIRBadge.as provided in the AIR SDK</p>
<p>This code works:<br />
private var _appURL: String;<br />
private var _appName: String;<br />
private var _airVersion: String;</p>
<p>private var appID:String = &#8220;com.dbala.me.appid&#8221;;<br />
private var pubID:String = &#8220;&#8221;; // </p>
<p>private var launch_args:Array = ["launchFromBrowser"];</p>
<p><code></p>
<p>private function onButtonClicked(e:Event):void {<br />
	_air.installApplication( _appURL, _airVersion );</p>
<p>}</p>
<p></code></p>
<p>This code does NOT work:</p>
<p><code></p>
<p>private function onButtonClicked(e:Event):void {<br />
	_air.getApplicationVersion(appID, pubID, versionDetectCallback);</p>
<p>}</p>
<p>private function versionDetectCallback(version:String):void<br />
{<br />
	if (version == null)<br />
	{<br />
		//this message displays<br />
		root.statusMessage.htmlText = "blablabla installing";</p>
<p>		//this function DOES NOT execute<br />
		_air.installApplication( _appURL, _airVersion );</p>
<p>		//this message displays<br />
		root.statusMessage.htmlText = "blablabla after installing";</p>
<p>	}<br />
	else<br />
	{<br />
		//this message displays<br />
		root.statusMessage.htmlText = "Launching Application..";</p>
<p>		//this function DOES NOT execute<br />
		_air.launchApplication(appID, pubID, launch_args);<br />
	}<br />
}</p>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using the Adobe AIR Install Badge by jason</title>
		<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/comment-page-1/#comment-179</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Tue, 02 Mar 2010 01:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=42#comment-179</guid>
		<description>@Bala,

My first suggestion would be to ensure that your AIR application has the &#039;allowBrowserInvocation&#039; set to true in your application descriptor file.  By default it is false, and any calls to &#039;launchApplication()&#039; will simply fail.

Jason</description>
		<content:encoded><![CDATA[<p>@Bala,</p>
<p>My first suggestion would be to ensure that your AIR application has the &#8216;allowBrowserInvocation&#8217; set to true in your application descriptor file.  By default it is false, and any calls to &#8216;launchApplication()&#8217; will simply fail.</p>
<p>Jason</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using the Adobe AIR Install Badge by Bala</title>
		<link>http://knomedia.com/blog/2008/08/29/using-the-adobe-air-badge-install/comment-page-1/#comment-178</link>
		<dc:creator>Bala</dc:creator>
		<pubDate>Mon, 01 Mar 2010 15:39:35 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=42#comment-178</guid>
		<description>Hello Jason, I am having trouble trying to auto launch an installed air app from the browser, would you happen to know how to do it? I can detect successfully if the app is installed, but when I call &quot;launchApplication(appID, pubID, arguments)&quot;
nothing happens. I&#039;ve been battling this for a few days now, any help you can provide would be greatly appreciated</description>
		<content:encoded><![CDATA[<p>Hello Jason, I am having trouble trying to auto launch an installed air app from the browser, would you happen to know how to do it? I can detect successfully if the app is installed, but when I call &#8220;launchApplication(appID, pubID, arguments)&#8221;<br />
nothing happens. I&#8217;ve been battling this for a few days now, any help you can provide would be greatly appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adobe Air Version Checker by jason</title>
		<link>http://knomedia.com/blog/2009/12/10/adobe-air-version-checker/comment-page-1/#comment-173</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Mon, 18 Jan 2010 21:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=382#comment-173</guid>
		<description>@Chris  Nice find.  I hadn&#039;t seen that article, thanks for the link.  Jason.</description>
		<content:encoded><![CDATA[<p>@Chris  Nice find.  I hadn&#8217;t seen that article, thanks for the link.  Jason.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adobe Air Version Checker by Chris</title>
		<link>http://knomedia.com/blog/2009/12/10/adobe-air-version-checker/comment-page-1/#comment-172</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 18 Jan 2010 20:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=382#comment-172</guid>
		<description>Thanks Jason. I found this useful little Adobe knowledgebase article, which gives you a way to check the version of AIR on Mac and Linus systems:

http://kb2.adobe.com/cps/407/kb407625.html

I can&#039;t find anything similar for Windows.</description>
		<content:encoded><![CDATA[<p>Thanks Jason. I found this useful little Adobe knowledgebase article, which gives you a way to check the version of AIR on Mac and Linus systems:</p>
<p><a href="http://kb2.adobe.com/cps/407/kb407625.html" rel="nofollow">http://kb2.adobe.com/cps/407/kb407625.html</a></p>
<p>I can&#8217;t find anything similar for Windows.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adobe Air Version Checker by jason</title>
		<link>http://knomedia.com/blog/2009/12/10/adobe-air-version-checker/comment-page-1/#comment-152</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Fri, 11 Dec 2009 20:17:38 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=382#comment-152</guid>
		<description>Very cool.  I remember now running into the Product Manager a while back while looking into AIR install badges, but never took the time to investigate further.  Thanks for the comment.</description>
		<content:encoded><![CDATA[<p>Very cool.  I remember now running into the Product Manager a while back while looking into AIR install badges, but never took the time to investigate further.  Thanks for the comment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adobe Air Version Checker by DL1t</title>
		<link>http://knomedia.com/blog/2009/12/10/adobe-air-version-checker/comment-page-1/#comment-151</link>
		<dc:creator>DL1t</dc:creator>
		<pubDate>Fri, 11 Dec 2009 17:21:42 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=382#comment-151</guid>
		<description>if you don&#039;t mind using undocumented features, you can simply use this from Flash Player, without making AIR app:

import adobe.utils.ProductManager;
var mgr:ProductManager = new ProductManager(&quot;airappinstaller&quot;);
if(mgr.installed){
	trace(mgr.installedVersion);
}</description>
		<content:encoded><![CDATA[<p>if you don&#8217;t mind using undocumented features, you can simply use this from Flash Player, without making AIR app:</p>
<p>import adobe.utils.ProductManager;<br />
var mgr:ProductManager = new ProductManager(&#8220;airappinstaller&#8221;);<br />
if(mgr.installed){<br />
	trace(mgr.installedVersion);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adobe Air Version Checker by jason</title>
		<link>http://knomedia.com/blog/2009/12/10/adobe-air-version-checker/comment-page-1/#comment-150</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Fri, 11 Dec 2009 11:36:57 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=382#comment-150</guid>
		<description>I&#039;m glad someone else found it usefull. Thanks for the mention</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad someone else found it usefull. Thanks for the mention</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adobe Air Version Checker by Adrian Parr</title>
		<link>http://knomedia.com/blog/2009/12/10/adobe-air-version-checker/comment-page-1/#comment-149</link>
		<dc:creator>Adrian Parr</dc:creator>
		<pubDate>Fri, 11 Dec 2009 11:04:53 +0000</pubDate>
		<guid isPermaLink="false">http://knomedia.com/blog/?p=382#comment-149</guid>
		<description>I hope you don&#039;t mind, I&#039;ve re-blogged about this on my site ...

http://www.adrianparr.com/?p=122</description>
		<content:encoded><![CDATA[<p>I hope you don&#8217;t mind, I&#8217;ve re-blogged about this on my site &#8230;</p>
<p><a href="http://www.adrianparr.com/?p=122" rel="nofollow">http://www.adrianparr.com/?p=122</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
