<?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 for Easy Flex</title>
	<atom:link href="http://evtimmy.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://evtimmy.com</link>
	<description>Evtim on Flex SDK</description>
	<pubDate>Wed, 10 Mar 2010 05:10:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Spark Layouts with Flex 4 Beta by Jason</title>
		<link>http://evtimmy.com/2009/10/spark-layouts-with-flex-4-beta/comment-page-1/#comment-11507</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 09 Mar 2010 00:20:11 +0000</pubDate>
		<guid isPermaLink="false">http://evtimmy.com/?p=153#comment-11507</guid>
		<description>&lt;a href="#comment-11505" rel="nofollow"&gt;@Evtim  &lt;/a&gt; 
In my custom layout package, I sort and then loop through the dataprovider a couple times. What I've encountered is that the sort gets the element index out of sync with the dataprovider index, so while the size and positioning of the elements are correct, the actual display pieces in my item render, such as label text, are assocated with the incorrect element.</description>
		<content:encoded><![CDATA[<p><a href="#comment-11505" rel="nofollow">@Evtim  </a><br />
In my custom layout package, I sort and then loop through the dataprovider a couple times. What I&#8217;ve encountered is that the sort gets the element index out of sync with the dataprovider index, so while the size and positioning of the elements are correct, the actual display pieces in my item render, such as label text, are assocated with the incorrect element.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spark Layouts with Flex 4 Beta by Jason</title>
		<link>http://evtimmy.com/2009/10/spark-layouts-with-flex-4-beta/comment-page-1/#comment-11506</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 08 Mar 2010 07:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://evtimmy.com/?p=153#comment-11506</guid>
		<description>&lt;a href="#comment-11505" rel="nofollow"&gt;@Evtim  &lt;/a&gt; 

Evtim, thank you for the response! I can't get into details publically, but if you'd e-mail me directly, I'd be would really like to get into more detail. I have other questions as well, such as, which of the two options you listed above would be appropriate/better for drag &amp; drop support in the DataGroup container? Virtual layouts are something I came across a couple days ago and, if I can figure out how to implement it correctly, would really be beneficial. Depending on the view state, there could be hundreds of elements that wouldn't need to be rendered.</description>
		<content:encoded><![CDATA[<p><a href="#comment-11505" rel="nofollow">@Evtim  </a> </p>
<p>Evtim, thank you for the response! I can&#8217;t get into details publically, but if you&#8217;d e-mail me directly, I&#8217;d be would really like to get into more detail. I have other questions as well, such as, which of the two options you listed above would be appropriate/better for drag &amp; drop support in the DataGroup container? Virtual layouts are something I came across a couple days ago and, if I can figure out how to implement it correctly, would really be beneficial. Depending on the view state, there could be hundreds of elements that wouldn&#8217;t need to be rendered.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spark Layouts with Flex 4 Beta by Evtim</title>
		<link>http://evtimmy.com/2009/10/spark-layouts-with-flex-4-beta/comment-page-1/#comment-11505</link>
		<dc:creator>Evtim</dc:creator>
		<pubDate>Sun, 07 Mar 2010 22:18:41 +0000</pubDate>
		<guid isPermaLink="false">http://evtimmy.com/?p=153#comment-11505</guid>
		<description>Hi Jason,
I'd be curious to learn a little bit more about your use case. Usually the layouts I've seen cache layout specific data in local (to the layout) structure instead of  in the dataProvider, but probably your situation is different. It's easy to get access to the dataProvider and also to the data item that corresponds to a particular renderer from within the layout:
The layout target property is typed as GroupBase, so you'd need to cast it to DataGroup like this: "var dataProvider:IList = DataGroup(target).dataProvider".
Alternatively to get the data item for a particular item renderer you can either go through the dataProvider or do something like this: "var item:Object = IItemRenderer(target.getVirtualElementAt(i)).data". Note that when getVirutalElementAt() is called during layout it will force creation for an item renderer if the renderer didn't exist already, so you should be careful with that. Here's link to one very nice article about virtualization http://flexponential.com/2010/03/06/learn-how-to-create-a-simple-virtual-layout-in-flex-4/</description>
		<content:encoded><![CDATA[<p>Hi Jason,<br />
I&#8217;d be curious to learn a little bit more about your use case. Usually the layouts I&#8217;ve seen cache layout specific data in local (to the layout) structure instead of  in the dataProvider, but probably your situation is different. It&#8217;s easy to get access to the dataProvider and also to the data item that corresponds to a particular renderer from within the layout:<br />
The layout target property is typed as GroupBase, so you&#8217;d need to cast it to DataGroup like this: &#8220;var dataProvider:IList = DataGroup(target).dataProvider&#8221;.<br />
Alternatively to get the data item for a particular item renderer you can either go through the dataProvider or do something like this: &#8220;var item:Object = IItemRenderer(target.getVirtualElementAt(i)).data&#8221;. Note that when getVirutalElementAt() is called during layout it will force creation for an item renderer if the renderer didn&#8217;t exist already, so you should be careful with that. Here&#8217;s link to one very nice article about virtualization <a href="http://flexponential.com/2010/03/06/learn-how-to-create-a-simple-virtual-layout-in-flex-4/" rel="nofollow">http://flexponential.com/2010/03/06/learn-how-to-create-a-simple-virtual-layout-in-flex-4/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spark Layouts with Flex 4 Beta by Jason</title>
		<link>http://evtimmy.com/2009/10/spark-layouts-with-flex-4-beta/comment-page-1/#comment-11504</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Sun, 07 Mar 2010 08:06:26 +0000</pubDate>
		<guid isPermaLink="false">http://evtimmy.com/?p=153#comment-11504</guid>
		<description>Hi Evtim, I've jumped into custom layouts, which has led me to the following situation and question. The custom layout has the ability to see and set some properties of the items in the dataprovider for the container I apply the custom layout to. What I'm struggling with is that I need to access data in the dataprovider (ArrayCollection), to help me in the layout. For example, I store x-position, and width, as a part of the data in the ArrayCollection and I also need to sort the ArrayCollection source at various times, while I am calculating the y-position and the height. How do I get access the the data in the dataprovider for the container? I'm using a DataGroup container.</description>
		<content:encoded><![CDATA[<p>Hi Evtim, I&#8217;ve jumped into custom layouts, which has led me to the following situation and question. The custom layout has the ability to see and set some properties of the items in the dataprovider for the container I apply the custom layout to. What I&#8217;m struggling with is that I need to access data in the dataprovider (ArrayCollection), to help me in the layout. For example, I store x-position, and width, as a part of the data in the ArrayCollection and I also need to sort the ArrayCollection source at various times, while I am calculating the y-position and the height. How do I get access the the data in the dataprovider for the container? I&#8217;m using a DataGroup container.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Extending HorizontalLayout to Support Baseline (Align to Text) by James</title>
		<link>http://evtimmy.com/2010/02/extending-horizontallayout-to-support-baseline-align-to-text/comment-page-1/#comment-11500</link>
		<dc:creator>James</dc:creator>
		<pubDate>Fri, 26 Feb 2010 09:13:44 +0000</pubDate>
		<guid isPermaLink="false">http://evtimmy.com/?p=265#comment-11500</guid>
		<description>Really cool. Totally going to use baseline alignment now.  Don't really need the offset for most situations, but that's handy too!

Thanks for sharing the code!</description>
		<content:encoded><![CDATA[<p>Really cool. Totally going to use baseline alignment now.  Don&#8217;t really need the offset for most situations, but that&#8217;s handy too!</p>
<p>Thanks for sharing the code!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on VerticalAlign for VGroup and HorizontalAlign for HGroup by franto</title>
		<link>http://evtimmy.com/2010/01/verticalalign-for-vgroup-and-horizontalalign-for-hgroup/comment-page-1/#comment-11499</link>
		<dc:creator>franto</dc:creator>
		<pubDate>Tue, 23 Feb 2010 17:12:44 +0000</pubDate>
		<guid isPermaLink="false">http://evtimmy.com/?p=239#comment-11499</guid>
		<description>Hey Evtim,

sorry for off-topic, can you contact me on my email (filled up, when submitting this comment). I really need to discuss with you bug http://bugs.adobe.com/jira/browse/SDK-25605 (you've created yesterday).

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hey Evtim,</p>
<p>sorry for off-topic, can you contact me on my email (filled up, when submitting this comment). I really need to discuss with you bug <a href="http://bugs.adobe.com/jira/browse/SDK-25605" rel="nofollow">http://bugs.adobe.com/jira/browse/SDK-25605</a> (you&#8217;ve created yesterday).</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on FlowLayout Part 2 - Gap, VerticalAlign and Scrolling by RocketMonkey</title>
		<link>http://evtimmy.com/2009/06/flowlayout-part-2-gap-verticalalign-and-scrolling/comment-page-1/#comment-11484</link>
		<dc:creator>RocketMonkey</dc:creator>
		<pubDate>Thu, 28 Jan 2010 11:27:44 +0000</pubDate>
		<guid isPermaLink="false">http://evtimmy.com/?p=80#comment-11484</guid>
		<description>Posted: http://forums.adobe.com/thread/565055</description>
		<content:encoded><![CDATA[<p>Posted: <a href="http://forums.adobe.com/thread/565055" rel="nofollow">http://forums.adobe.com/thread/565055</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on FlowLayout Part 2 - Gap, VerticalAlign and Scrolling by RocketMonkey</title>
		<link>http://evtimmy.com/2009/06/flowlayout-part-2-gap-verticalalign-and-scrolling/comment-page-1/#comment-11483</link>
		<dc:creator>RocketMonkey</dc:creator>
		<pubDate>Thu, 28 Jan 2010 10:42:16 +0000</pubDate>
		<guid isPermaLink="false">http://evtimmy.com/?p=80#comment-11483</guid>
		<description>Hi Evtim, I will do thanks</description>
		<content:encoded><![CDATA[<p>Hi Evtim, I will do thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on FlowLayout Part 2 - Gap, VerticalAlign and Scrolling by Evtim</title>
		<link>http://evtimmy.com/2009/06/flowlayout-part-2-gap-verticalalign-and-scrolling/comment-page-1/#comment-11482</link>
		<dc:creator>Evtim</dc:creator>
		<pubDate>Thu, 28 Jan 2010 06:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://evtimmy.com/?p=80#comment-11482</guid>
		<description>Hi Tyron,

Perhaps you need to set the gaps to zero (they default to 6)?
&lt;s:TileLayout horizontalGap="0" verticalGap="0"...
If the issue is somewhere else, I'd encourage you to post at the Flex SDK forums with a small sample app, so we can take a look at it (http://forums.adobe.com/community/labs/gumbo/).

Thanks,
Evtim</description>
		<content:encoded><![CDATA[<p>Hi Tyron,</p>
<p>Perhaps you need to set the gaps to zero (they default to 6)?<br />
<s:TileLayout horizontalGap=&#8221;0&#8243; verticalGap=&#8221;0&#8243;&#8230;<br />
If the issue is somewhere else, I&#8217;d encourage you to post at the Flex SDK forums with a small sample app, so we can take a look at it (http://forums.adobe.com/community/labs/gumbo/).</p>
<p>Thanks,<br />
Evtim</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on FlowLayout Part 2 - Gap, VerticalAlign and Scrolling by RocketMonkey</title>
		<link>http://evtimmy.com/2009/06/flowlayout-part-2-gap-verticalalign-and-scrolling/comment-page-1/#comment-11481</link>
		<dc:creator>RocketMonkey</dc:creator>
		<pubDate>Tue, 26 Jan 2010 09:12:58 +0000</pubDate>
		<guid isPermaLink="false">http://evtimmy.com/?p=80#comment-11481</guid>
		<description>Hi Jochen,

I am having different issues with the TileLayout, I have a few list's ontop of each other and there is a huge gap between each list as if the content in the list is not measuring the height correctly, this only happens when the list Orientation is TileOrientation.Rows, have you had the same problems?

Thanks 

(using SDK build 10485)</description>
		<content:encoded><![CDATA[<p>Hi Jochen,</p>
<p>I am having different issues with the TileLayout, I have a few list&#8217;s ontop of each other and there is a huge gap between each list as if the content in the list is not measuring the height correctly, this only happens when the list Orientation is TileOrientation.Rows, have you had the same problems?</p>
<p>Thanks </p>
<p>(using SDK build 10485)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
