<?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>CleVR » Panoramic photography and image stitching blog &#187; MXML</title>
	<atom:link href="http://www.clevr.com/blog/category/mxml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clevr.com/blog</link>
	<description>Panoramic photography, virtual tours and stitching software</description>
	<lastBuildDate>Wed, 22 Jul 2009 18:24:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>State change bug in Flex</title>
		<link>http://www.clevr.com/blog/2008/state-change-bug-in-flex/</link>
		<comments>http://www.clevr.com/blog/2008/state-change-bug-in-flex/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 10:21:58 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[CleVR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[MXML]]></category>
		<category><![CDATA[panoramas]]></category>
		<category><![CDATA[Stitcher]]></category>
		<category><![CDATA[Stitching software]]></category>

		<guid isPermaLink="false">http://www.clevr.com/blog/2008/state-change-bug-in-flex/</guid>
		<description><![CDATA[I&#8217;ve been trying to track down the source of a bug in the Stitcher. The issue was in the welcome screen, which has states for logging-in, creating a new account etc. The problem was that whenever the login state had been active, moving to another state would throw an error, The supplied DisplayObject must be [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to track down the source of a bug in the Stitcher. The issue was in the welcome screen, which has states for logging-in, creating a new account etc. The problem was that whenever the login state had been active, moving to another state would throw an error, <code>The supplied DisplayObject must be a child of the caller</code>. After much trial and error I worked out that it was down to the ControlBar that held the login buttons. It seems that the issue is that when Flex adds a controlbar, it doesn&#8217;t actually add it as a child of the container in which you place it. This means that when you then try to remove it, it&#8217;s in the wrong place. It seems to be related to <a href="http://bugs.adobe.com/jira/browse/SDK-12080">this bug</a>, which was apparently fixed last year. I&#8217;m going to have to produce a minimal version and see if I need to submit a bug report and/or patch.</p>
<p>Anyway, after changing it to use an HBox it&#8217;s working. I&#8217;ve uploaded a new version of the CleVR Stitcher with that fix and a few others. You can install it from that box in the sidebar (unless you&#8217;re reading this via the feed).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clevr.com/blog/2008/state-change-bug-in-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

