<?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>Kerkness.ca &#187; adobe air</title>
	<atom:link href="http://www.kerkness.ca/tagged/adobe-air/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kerkness.ca</link>
	<description>flexing my kerkness, among other things</description>
	<lastBuildDate>Wed, 14 Oct 2009 15:12:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Launch an Adobe Air WindowedApplication in Full Screen Mode</title>
		<link>http://www.kerkness.ca/how-to-launch-an-adobe-air-windowedapplication-in-full-screen-mode/</link>
		<comments>http://www.kerkness.ca/how-to-launch-an-adobe-air-windowedapplication-in-full-screen-mode/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 03:23:35 +0000</pubDate>
		<dc:creator>Kerk</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[mxml]]></category>
		<category><![CDATA[windowedapplication]]></category>

		<guid isPermaLink="false">http://www.kerkness.ca/?p=408</guid>
		<description><![CDATA[Here is a basic Adobe Air WindowedApplication set up to launch in full screen mode.

&#60;?xml version="1.0" encoding="utf-8"?&#62;
&#60;mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="init()"&#62;

&#60;mx:Script&#62;
	&#60;![CDATA[

private function init():void
{
	systemManager.stage.displayState=flash.display.StageDisplayState.FULL_SCREEN_INTERACTIVE
}
	]]&#62;
&#60;/mx:Script&#62;

&#60;/mx:WindowedApplication&#62;

]]></description>
			<content:encoded><![CDATA[<p>Here is a basic Adobe Air WindowedApplication set up to launch in full screen mode.</p>
<pre>
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="init()"&gt;

&lt;mx:Script&gt;
	&lt;![CDATA[

private function init():void
{
	systemManager.stage.displayState=flash.display.StageDisplayState.FULL_SCREEN_INTERACTIVE
}
	]]&gt;
&lt;/mx:Script&gt;

&lt;/mx:WindowedApplication&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.kerkness.ca/how-to-launch-an-adobe-air-windowedapplication-in-full-screen-mode/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Monitor your flash log when debugging Flex or Air Application on OSX</title>
		<link>http://www.kerkness.ca/monitor-your-flash-log-when-debugging-flex-or-air-application-on-osx/</link>
		<comments>http://www.kerkness.ca/monitor-your-flash-log-when-debugging-flex-or-air-application-on-osx/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 20:37:41 +0000</pubDate>
		<dc:creator>Kerk</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://www.kerkness.ca/?p=404</guid>
		<description><![CDATA[When building and debugging a Flex or Air application it can be a big help if you&#8217;re able to monitor the progress the application makes through your various classes and views.  A great way to do this is to add trace(&#8221;I am here&#8221;) function calls to your code and then monitor the flash log [...]]]></description>
			<content:encoded><![CDATA[<p>When building and debugging a Flex or Air application it can be a big help if you&#8217;re able to monitor the progress the application makes through your various classes and views.  A great way to do this is to add <strong><em>trace(&#8221;I am here&#8221;)</em></strong> function calls to your code and then monitor the flash log file when running the application.</p>
<ol>
<li>Make sure you have the debugger version of the flash player installed</li>
<li>Add  trace(&#8221;your test message or details&#8221;);  to your code where appropriate</li>
<li>Open Applications/Utilities/Terminal</li>
<li>Go to the location of the Flash log file..<br />
<strong><em>/Users/[username]/Library/Preferences/[App Name]/Local Store/<br />
</em></strong></li>
<li>Type the following command<br />
<strong><em>tail -f flashlog.txt<br />
</em></strong></li>
<li>Launch your application.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.kerkness.ca/monitor-your-flash-log-when-debugging-flex-or-air-application-on-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting minHeight/minWidth on Adobe Air app forces ViewStack creationPolicy to ALL : or at least I think so.</title>
		<link>http://www.kerkness.ca/setting-minheightminwidth-on-adobe-air-app-forces-viewstack-creationpolicy-to-all-or-at-least-i-think-so/</link>
		<comments>http://www.kerkness.ca/setting-minheightminwidth-on-adobe-air-app-forces-viewstack-creationpolicy-to-all-or-at-least-i-think-so/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 15:26:53 +0000</pubDate>
		<dc:creator>Kerk</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[creationPolicy]]></category>

		<guid isPermaLink="false">http://www.kerkness.ca/?p=400</guid>
		<description><![CDATA[I guess it&#8217;s been a real busy couple of months for me as I haven&#8217;t managed to post anything since December.  Here is a little gotcha that I ran across while converting a Flex App to an Adobe Air app.
In my application and the main WindowedApplication contains a ViewStack and a ViewController. Inside the [...]]]></description>
			<content:encoded><![CDATA[<p>I guess it&#8217;s been a real busy couple of months for me as I haven&#8217;t managed to post anything since December.  Here is a little gotcha that I ran across while converting a Flex App to an Adobe Air app.</p>
<p>In my application and the main WindowedApplication contains a ViewStack and a ViewController. Inside the ViewStack are the various MXML views which make up the application.  When my application was just a Flex app I sized the application to 100% width/height in the html-template file.  However for my Air application it is necessary to set a minimum width/height on launch and let the user decide if they want to maximize the window or set a custom size.</p>
<p>The gotcha came when I set minWidth and minHeight on the new WindowedApplication. This apparently sets the creationPolicy to &#8216; ALL &#8216; on the parent and thus is inherited by the ViewStack.</p>
<blockquote><p>If no creationPolicy is specified for a container, that container inherits its parent&#8217;s creationPolicy. If no creationPolicy is specified for the Application, it defaults to ContainerCreationPolicy.AUTO.</p></blockquote>
<p>So the moral of this story is.  If you set minHeight/minWidth on a WindowedApplication consider the desired creationPolicy for children. If you don&#8217;t want all children to be automatically created when the application is launched then you&#8217;ll need to adjust the creationPolicy for child containers manually to &#8216; auto &#8216; or &#8216; none &#8216;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerkness.ca/setting-minheightminwidth-on-adobe-air-app-forces-viewstack-creationpolicy-to-all-or-at-least-i-think-so/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Adobe Air for Linux on Ubuntu</title>
		<link>http://www.kerkness.ca/running-adobe-air-for-linux-on-ubuntu/</link>
		<comments>http://www.kerkness.ca/running-adobe-air-for-linux-on-ubuntu/#comments</comments>
		<pubDate>Wed, 14 May 2008 19:38:00 +0000</pubDate>
		<dc:creator>Kerk</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.kerkness.ca/blog/?p=45</guid>
		<description><![CDATA[If you know what an RIA is then you know what Adobe Air is.  If you don&#8217;t know what either of them are, then you really shouldn&#8217;t need to read this post.
I need to find out what type of performance boost their is running a desktop Flex application as an Adobe Air application compared [...]]]></description>
			<content:encoded><![CDATA[<p>If you know what an RIA is then you know what Adobe Air is.  If you don&#8217;t know what either of them are, then you really shouldn&#8217;t need to read this post.</p>
<p>I need to find out what type of performance boost their is running a desktop Flex application as an Adobe Air application compared to running it using FireFox with Flash Player 9.  So in order to do that I need to make sure I can get Adobe Air for Linux ( currently in Alpha ) working. I need to do this because my application needs to run off a linux desktop environment.</p>
<ol>
<li>First download Adobe Air for Linux runtime environment from the following link. You don&#8217;t need to install the SDK unless you plan on developing Air applications using a linux desktop.  I&#8217;ve started using OSX myself so I&#8217;m only going to install the runtime environment.<a href="http://labs.adobe.com/downloads/air_linux.html"></p>
<p>http://labs.adobe.com/downloads/air_linux.html</p>
<p></a></li>
<li>I moved my bin file to /usr/share/air and then changed the permissions.
<pre>sudo mkdir /usr/share/airsudo mv adobeair_linux_al_******.binchmod +x adobeair_linux_al_******.bin</pre>
</li>
<li>Then from the desktop go to Places > Computer > usr > share > air  and double click on the bin file.
</li>
<li>Follow the prompts and you&#8217;re done installing the runtime environment.
</li>
<li>Now let&#8217;s see if we can get a fancy Air Application running.  Go to the Sample application section at Adobe Labs and download an application that interests you.  I downloaded Signet which gives you the ability to take your del.icio.us bookmarks to the desktop (whatever that means).
<p><a href="http://labs.adobe.com/technologies/air/samples/">http://labs.adobe.com/technologies/air/samples/</a></p>
</li>
<li>When you click on the download link you should be presented with the option to open the link with the Adobe Air Application Installer.  Choose OK and follow the prompts. Make sure to select the option to install an icon on your desktop so that the app will be easy to find once installed.</li>
</ol>
<p>There you go. Go and explore the world of Adobe Air applications. Good times.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerkness.ca/running-adobe-air-for-linux-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
