<?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: NativeWindow &#8211; using AIR windows with Actionscript (part 3 of 3)</title>
	<atom:link href="http://lowpitch.com/blog/nativewindow-using-air-windows-with-actionscript-part-3-of-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://lowpitch.com/blog/nativewindow-using-air-windows-with-actionscript-part-3-of-3/</link>
	<description>Flex and flex ramblings.</description>
	<lastBuildDate>Mon, 06 Oct 2008 08:22:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: unhitched</title>
		<link>http://lowpitch.com/blog/nativewindow-using-air-windows-with-actionscript-part-3-of-3/comment-page-1/#comment-16</link>
		<dc:creator>unhitched</dc:creator>
		<pubDate>Mon, 25 Aug 2008 14:10:14 +0000</pubDate>
		<guid isPermaLink="false">http://lowpitch.com/blog/?p=17#comment-16</guid>
		<description>Thanks I&#039;ll do some digging</description>
		<content:encoded><![CDATA[<p>Thanks I&#8217;ll do some digging</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lowpitch</title>
		<link>http://lowpitch.com/blog/nativewindow-using-air-windows-with-actionscript-part-3-of-3/comment-page-1/#comment-13</link>
		<dc:creator>lowpitch</dc:creator>
		<pubDate>Thu, 21 Aug 2008 10:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://lowpitch.com/blog/?p=17#comment-13</guid>
		<description>ello,

You don&#039;t need to invalidate the window when you&#039;re done with it. In theory, if you call close () on it, and there are no other references to the NativeWindow anywhere else, it should be eligable for garbage collection. Also, any DisplayObjects that were on the window&#039;s stage should also be garbage collected, again assuming there are no other references to them.

Regarding mx:Window / mx.core.Window, it&#039;s basically a wrapper for NativeWindow with some other Flex good stuff thrown in. Also check out the useFlexChrome property - if set to true, for some reason the standard looking window is visually slightly different. There&#039;s a status bar at the bottom, and for me the default background colour is vaguely different. mx:Window also throws out some other events (e.g. when network connection status changes). If you have a little look in the mx.core.Window class you should be able to see what&#039;s going on fairly easily.</description>
		<content:encoded><![CDATA[<p>ello,</p>
<p>You don&#8217;t need to invalidate the window when you&#8217;re done with it. In theory, if you call close () on it, and there are no other references to the NativeWindow anywhere else, it should be eligable for garbage collection. Also, any DisplayObjects that were on the window&#8217;s stage should also be garbage collected, again assuming there are no other references to them.</p>
<p>Regarding mx:Window / mx.core.Window, it&#8217;s basically a wrapper for NativeWindow with some other Flex good stuff thrown in. Also check out the useFlexChrome property &#8211; if set to true, for some reason the standard looking window is visually slightly different. There&#8217;s a status bar at the bottom, and for me the default background colour is vaguely different. mx:Window also throws out some other events (e.g. when network connection status changes). If you have a little look in the mx.core.Window class you should be able to see what&#8217;s going on fairly easily.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: unhitched</title>
		<link>http://lowpitch.com/blog/nativewindow-using-air-windows-with-actionscript-part-3-of-3/comment-page-1/#comment-12</link>
		<dc:creator>unhitched</dc:creator>
		<pubDate>Thu, 21 Aug 2008 08:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://lowpitch.com/blog/?p=17#comment-12</guid>
		<description>great post!  But here&#039;s a question for you:

When closing windows in AIR apps, is it necessary to invalidate the window to allow for GC?

And is there a difference to the above between creating windows using the NativeWindow class as opposed to creating an mx:Window in Flex?

(ok two questions)</description>
		<content:encoded><![CDATA[<p>great post!  But here&#8217;s a question for you:</p>
<p>When closing windows in AIR apps, is it necessary to invalidate the window to allow for GC?</p>
<p>And is there a difference to the above between creating windows using the NativeWindow class as opposed to creating an mx:Window in Flex?</p>
<p>(ok two questions)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
