<?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>Komentáre k Fastest way of closing AIR application</title>
	<atom:link href="http://franto.com/fastest-way-of-closing-air-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://franto.com/fastest-way-of-closing-air-application/</link>
	<description></description>
	<lastBuildDate>Wed, 17 Aug 2011 07:37:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>Od: Kelvin Luck</title>
		<link>http://franto.com/fastest-way-of-closing-air-application/comment-page-1/#comment-12</link>
		<dc:creator>Kelvin Luck</dc:creator>
		<pubDate>Fri, 06 Feb 2009 16:49:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.franto.com/?p=932#comment-12</guid>
		<description>I like the following code because it gives the rest of the application the chance to postpone the shutdown to do any housekeeping it needs to:

&lt;code&gt;var exitingEvent:Event = new Event(Event.EXITING, false, true);
NativeApplication.nativeApplication.dispatchEvent(exitingEvent);
if (!exitingEvent.isDefaultPrevented()) {
	NativeApplication.nativeApplication.exit();
}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I like the following code because it gives the rest of the application the chance to postpone the shutdown to do any housekeeping it needs to:</p>
<p><code>var exitingEvent:Event = new Event(Event.EXITING, false, true);<br />
NativeApplication.nativeApplication.dispatchEvent(exitingEvent);<br />
if (!exitingEvent.isDefaultPrevented()) {<br />
	NativeApplication.nativeApplication.exit();<br />
}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Od: James</title>
		<link>http://franto.com/fastest-way-of-closing-air-application/comment-page-1/#comment-11</link>
		<dc:creator>James</dc:creator>
		<pubDate>Fri, 06 Feb 2009 10:28:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.franto.com/?p=932#comment-11</guid>
		<description>I use NativeApplication.nativeApplication.exit();, but that&#039;s only really because I assume it&#039;s the most direct way, I&#039;ve never actually tested it against the others!</description>
		<content:encoded><![CDATA[<p>I use NativeApplication.nativeApplication.exit();, but that&#8217;s only really because I assume it&#8217;s the most direct way, I&#8217;ve never actually tested it against the others!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

