<?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: Understanding Custom Flex Component Development</title>
	<atom:link href="http://www.billdwhite.com/wordpress/?feed=rss2&#038;p=21" rel="self" type="application/rss+xml" />
	<link>http://www.billdwhite.com/wordpress/?p=21</link>
	<description>Focusing on Adobe Flex Development</description>
	<lastBuildDate>Wed, 11 Aug 2010 19:19:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Bill</title>
		<link>http://www.billdwhite.com/wordpress/?p=21&#038;cpage=1#comment-2721</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Mon, 28 Jun 2010 16:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.billdwhite.com/wordpress/?p=21#comment-2721</guid>
		<description>Good point.   I&#039;ve been hit by that little issue a few times myself!  I&#039;ll make a note of it in the article.</description>
		<content:encoded><![CDATA[<p>Good point.   I&#8217;ve been hit by that little issue a few times myself!  I&#8217;ll make a note of it in the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maulik</title>
		<link>http://www.billdwhite.com/wordpress/?p=21&#038;cpage=1#comment-2720</link>
		<dc:creator>Maulik</dc:creator>
		<pubDate>Mon, 28 Jun 2010 11:56:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.billdwhite.com/wordpress/?p=21#comment-2720</guid>
		<description>Great article! Thanks for taking time. However, something many articles forget to mention is that measure() will not be called when width and height are explicitly set. You should consider mentioning it.</description>
		<content:encoded><![CDATA[<p>Great article! Thanks for taking time. However, something many articles forget to mention is that measure() will not be called when width and height are explicitly set. You should consider mentioning it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugene Lee</title>
		<link>http://www.billdwhite.com/wordpress/?p=21&#038;cpage=1#comment-2695</link>
		<dc:creator>Eugene Lee</dc:creator>
		<pubDate>Fri, 28 May 2010 14:59:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.billdwhite.com/wordpress/?p=21#comment-2695</guid>
		<description>It&#039;s awesome.
I know I must get through custom component well if I want to be an expert of FLEX.
And you&#039;ve given me great help!</description>
		<content:encoded><![CDATA[<p>It&#8217;s awesome.<br />
I know I must get through custom component well if I want to be an expert of FLEX.<br />
And you&#8217;ve given me great help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shally</title>
		<link>http://www.billdwhite.com/wordpress/?p=21&#038;cpage=1#comment-2582</link>
		<dc:creator>Shally</dc:creator>
		<pubDate>Sat, 17 Apr 2010 04:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.billdwhite.com/wordpress/?p=21#comment-2582</guid>
		<description>Thanks a lot. Well summarised...</description>
		<content:encoded><![CDATA[<p>Thanks a lot. Well summarised&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sander</title>
		<link>http://www.billdwhite.com/wordpress/?p=21&#038;cpage=1#comment-2243</link>
		<dc:creator>Sander</dc:creator>
		<pubDate>Wed, 03 Feb 2010 17:11:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.billdwhite.com/wordpress/?p=21#comment-2243</guid>
		<description>Very helpfull, thanks!</description>
		<content:encoded><![CDATA[<p>Very helpfull, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: walv</title>
		<link>http://www.billdwhite.com/wordpress/?p=21&#038;cpage=1#comment-2230</link>
		<dc:creator>walv</dc:creator>
		<pubDate>Sat, 21 Nov 2009 10:57:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.billdwhite.com/wordpress/?p=21#comment-2230</guid>
		<description>Excellent explanation. Wonderful example.

Thank you very much!!!</description>
		<content:encoded><![CDATA[<p>Excellent explanation. Wonderful example.</p>
<p>Thank you very much!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.billdwhite.com/wordpress/?p=21&#038;cpage=1#comment-2216</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 13 Oct 2009 13:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.billdwhite.com/wordpress/?p=21#comment-2216</guid>
		<description>This is a great post. I&#039;ve been working with a Datagrids updateDisplayList method trying to reposition the vertical scrollbar to the left side of a datagrid. This can be extremely helpful when the number of rows exceeds the width of the datagrid. Setting the following  verticalScrollBar.x = 0; moves the scrollbar but does not move the header or reposition the other columns. Have you ever come across this? Any help would be great. Thanks!</description>
		<content:encoded><![CDATA[<p>This is a great post. I&#8217;ve been working with a Datagrids updateDisplayList method trying to reposition the vertical scrollbar to the left side of a datagrid. This can be extremely helpful when the number of rows exceeds the width of the datagrid. Setting the following  verticalScrollBar.x = 0; moves the scrollbar but does not move the header or reposition the other columns. Have you ever come across this? Any help would be great. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.billdwhite.com/wordpress/?p=21&#038;cpage=1#comment-2039</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 19 May 2009 03:42:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.billdwhite.com/wordpress/?p=21#comment-2039</guid>
		<description>Excellent summary!!! Thank you!!</description>
		<content:encoded><![CDATA[<p>Excellent summary!!! Thank you!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Troy</title>
		<link>http://www.billdwhite.com/wordpress/?p=21&#038;cpage=1#comment-2026</link>
		<dc:creator>Troy</dc:creator>
		<pubDate>Thu, 18 Dec 2008 19:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.billdwhite.com/wordpress/?p=21#comment-2026</guid>
		<description>This was REALLY helpful.  I&#039;ve been extremely frustrated with some code I&#039;ve been working on and this solved all my problems.

The world is now a better place :)

I never new the order of precedence you so easily described:
    * The component’s constructor
    * The commitProperties() method
    * The createChildren() method
    * The measure() method
    * The updateDisplayList() method


Thanks Bill!</description>
		<content:encoded><![CDATA[<p>This was REALLY helpful.  I&#8217;ve been extremely frustrated with some code I&#8217;ve been working on and this solved all my problems.</p>
<p>The world is now a better place :)</p>
<p>I never new the order of precedence you so easily described:<br />
    * The component’s constructor<br />
    * The commitProperties() method<br />
    * The createChildren() method<br />
    * The measure() method<br />
    * The updateDisplayList() method</p>
<p>Thanks Bill!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://www.billdwhite.com/wordpress/?p=21&#038;cpage=1#comment-38</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Wed, 09 Apr 2008 18:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.billdwhite.com/wordpress/?p=21#comment-38</guid>
		<description>Chris,

Without having seen the code, I would just have to make a few guesses:

1. Check the path of the URL and make sure that it will work consistently on the local machine and the server.  For example when I reference an external jpg into my Flex App with a URL like this &#039;/images/myimage.jpg&#039;, you have to keep in mind that on the server, it will search from the root of the webapp so you will have to place the images in the root of the webapp directory, not the root of the project..   In my case, with Tomcat, I had to put them in an images folder in the ROOT folder of the Tomcat webapps directory.

2. Troubleshoot it through simplification.  Try a new project with a panel containing a single image.  Then deploy it on the server and make sure it works there.  Once that works you should be able to duplicate that way of making it work over to your larger, more complex application.  Following the &#039;fresh start&#039; path like this usually exposes what you are doing wrong in short order.

Based on your last statement, I think you are correct about the instantiation issue.  It could have something to do with the fact that the component has not fully loaded the image when it is displayed.  Maybe you component that contains the image should call invalidateDisplayList or updateDisplayList once the image has loaded.   &lt;a href=&quot;http://ntt.cc/2008/02/10/how-to-load-an-image-into-our-flex-application-from-url-with-source.html&quot; rel=&quot;nofollow&quot;&gt;This example&lt;/a&gt; shows how to listen for the image to finish loading. Then you could dispatch the event afterward? Just guessing

Hope that helps.</description>
		<content:encoded><![CDATA[<p>Chris,</p>
<p>Without having seen the code, I would just have to make a few guesses:</p>
<p>1. Check the path of the URL and make sure that it will work consistently on the local machine and the server.  For example when I reference an external jpg into my Flex App with a URL like this &#8216;/images/myimage.jpg&#8217;, you have to keep in mind that on the server, it will search from the root of the webapp so you will have to place the images in the root of the webapp directory, not the root of the project..   In my case, with Tomcat, I had to put them in an images folder in the ROOT folder of the Tomcat webapps directory.</p>
<p>2. Troubleshoot it through simplification.  Try a new project with a panel containing a single image.  Then deploy it on the server and make sure it works there.  Once that works you should be able to duplicate that way of making it work over to your larger, more complex application.  Following the &#8216;fresh start&#8217; path like this usually exposes what you are doing wrong in short order.</p>
<p>Based on your last statement, I think you are correct about the instantiation issue.  It could have something to do with the fact that the component has not fully loaded the image when it is displayed.  Maybe you component that contains the image should call invalidateDisplayList or updateDisplayList once the image has loaded.   <a href="http://ntt.cc/2008/02/10/how-to-load-an-image-into-our-flex-application-from-url-with-source.html" rel="nofollow">This example</a> shows how to listen for the image to finish loading. Then you could dispatch the event afterward? Just guessing</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
