<?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: Bug when creating CS3 UIComponents in Document Class constructor</title>
	<atom:link href="http://joshblog.net/2008/07/16/bug-when-creating-cs3-uicomponents-in-document-class-constructor/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshblog.net/2008/07/16/bug-when-creating-cs3-uicomponents-in-document-class-constructor/</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Mon, 21 May 2012 15:06:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Josh Tynjala</title>
		<link>http://joshblog.net/2008/07/16/bug-when-creating-cs3-uicomponents-in-document-class-constructor/#comment-1006</link>
		<dc:creator>Josh Tynjala</dc:creator>
		<pubDate>Wed, 13 May 2009 16:43:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeuslabs.us/?p=244#comment-1006</guid>
		<description>Some Guy, this post is related to the &lt;code&gt;fl.*&lt;/code&gt; component set included in the CS3 and CS4 versions of the Flash authoring tool. It is not about using Flex components in any way. This issue can never be encountered in Flex, but it&#039;s an unfortunate issue with component sets meant to run in vanilla AS3 applications. Thankfully, there are workarounds.</description>
		<content:encoded><![CDATA[<p>Some Guy, this post is related to the <code>fl.*</code> component set included in the CS3 and CS4 versions of the Flash authoring tool. It is not about using Flex components in any way. This issue can never be encountered in Flex, but it&#8217;s an unfortunate issue with component sets meant to run in vanilla AS3 applications. Thankfully, there are workarounds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Some Guy</title>
		<link>http://joshblog.net/2008/07/16/bug-when-creating-cs3-uicomponents-in-document-class-constructor/#comment-1005</link>
		<dc:creator>Some Guy</dc:creator>
		<pubDate>Wed, 13 May 2009 16:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeuslabs.us/?p=244#comment-1005</guid>
		<description>Well, it&#039;s not really a bug.  You guys are just doing it wrong.

UIComponents are rendered AFTER they are added to their parent. By adding them to their parents before the parents themselves are added to the screen puts them all at (0,0).  To properly implement this process, you might want to consider making a custom UIComponent by extending the UIComponent class.  The UIComponent has the createChildren method where you are supposed to add children.  Also, the updateDisplayList method is used for sizing and positioning...

If you need any help, try searching google for something like &quot;custom uicomponent&quot;</description>
		<content:encoded><![CDATA[<p>Well, it&#8217;s not really a bug.  You guys are just doing it wrong.</p>
<p>UIComponents are rendered AFTER they are added to their parent. By adding them to their parents before the parents themselves are added to the screen puts them all at (0,0).  To properly implement this process, you might want to consider making a custom UIComponent by extending the UIComponent class.  The UIComponent has the createChildren method where you are supposed to add children.  Also, the updateDisplayList method is used for sizing and positioning&#8230;</p>
<p>If you need any help, try searching google for something like &#8220;custom uicomponent&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: benji</title>
		<link>http://joshblog.net/2008/07/16/bug-when-creating-cs3-uicomponents-in-document-class-constructor/#comment-1004</link>
		<dc:creator>benji</dc:creator>
		<pubDate>Mon, 22 Sep 2008 14:46:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.zeuslabs.us/?p=244#comment-1004</guid>
		<description>is there any chance to hack this bug somehow??</description>
		<content:encoded><![CDATA[<p>is there any chance to hack this bug somehow??</p>
]]></content:encoded>
	</item>
</channel>
</rss>

