<?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: Here&#8217;s 5 3D Layouts for Flex 4</title>
	<atom:link href="http://www.ryancampbell.com/2009/06/16/heres-5-3d-layouts-for-flex-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryancampbell.com/2009/06/16/heres-5-3d-layouts-for-flex-4/</link>
	<description>Flex/Flash Developer Blog</description>
	<lastBuildDate>Thu, 07 Jan 2010 12:43:00 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: dl</title>
		<link>http://www.ryancampbell.com/2009/06/16/heres-5-3d-layouts-for-flex-4/comment-page-1/#comment-1603</link>
		<dc:creator>dl</dc:creator>
		<pubDate>Thu, 07 Jan 2010 12:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.bobjim.com/2009/06/16/heres-5-3d-layouts-for-flex-4/#comment-1603</guid>
		<description>@Ryan Campbell
The Spiral Layout might look very nice animated :)</description>
		<content:encoded><![CDATA[<p>@Ryan Campbell<br />
The Spiral Layout might look very nice animated <img src='http://www.ryancampbell.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex 4: Random Layout and Step Layout - Mrinal Wadhwa</title>
		<link>http://www.ryancampbell.com/2009/06/16/heres-5-3d-layouts-for-flex-4/comment-page-1/#comment-119</link>
		<dc:creator>Flex 4: Random Layout and Step Layout - Mrinal Wadhwa</dc:creator>
		<pubDate>Sat, 22 Aug 2009 15:04:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.bobjim.com/2009/06/16/heres-5-3d-layouts-for-flex-4/#comment-119</guid>
		<description>[...] may want to checkout the ConcentricLayout example I posted last week or Ryan Campbell&#8217;s very cool 3D Layouts. Evtim, an engineer on the Flex SDK team also has a some detailed posts on how to write Layouts on [...]</description>
		<content:encoded><![CDATA[<p>[...] may want to checkout the ConcentricLayout example I posted last week or Ryan Campbell&#8217;s very cool 3D Layouts. Evtim, an engineer on the Flex SDK team also has a some detailed posts on how to write Layouts on [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: viatropos</title>
		<link>http://www.ryancampbell.com/2009/06/16/heres-5-3d-layouts-for-flex-4/comment-page-1/#comment-123</link>
		<dc:creator>viatropos</dc:creator>
		<pubDate>Sun, 21 Jun 2009 03:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.bobjim.com/2009/06/16/heres-5-3d-layouts-for-flex-4/#comment-123</guid>
		<description>There&#039;s no way you&#039;re going to use Flex 4 over OpenFlux!  OpenFlux is WAY better.  Full 3D support, full animation support, way easier to customize.</description>
		<content:encoded><![CDATA[<p>There&#8217;s no way you&#8217;re going to use Flex 4 over OpenFlux!  OpenFlux is WAY better.  Full 3D support, full animation support, way easier to customize.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evtim</title>
		<link>http://www.ryancampbell.com/2009/06/16/heres-5-3d-layouts-for-flex-4/comment-page-1/#comment-118</link>
		<dc:creator>Evtim</dc:creator>
		<pubDate>Wed, 17 Jun 2009 19:02:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.bobjim.com/2009/06/16/heres-5-3d-layouts-for-flex-4/#comment-118</guid>
		<description>Hi Ryan, yup I see what you mean. The Flex framework doesn&#039;t provide support for automatic animation of the children upon layout/container changes.
For animations within the same layout we recommend animating layout properties to drive the elements on screen.
Layout switching animations are not supported out of the box.
For layout switching with simple cases where you have the same elements showing in both states you can write a small action-script code to animate the elements&#039; transforms between the two states (run layout in src state, capture src values, run layout in dst state, capture dst values, animate between the two).
For cases involving lists, item renderers and virtualized layouts, things get quite complicated as the item renderer recycling and creation has the possibility to have the item renderer not exist in one of the states or correspond to a different item in the second state.</description>
		<content:encoded><![CDATA[<p>Hi Ryan, yup I see what you mean. The Flex framework doesn&#8217;t provide support for automatic animation of the children upon layout/container changes.<br />
For animations within the same layout we recommend animating layout properties to drive the elements on screen.<br />
Layout switching animations are not supported out of the box.<br />
For layout switching with simple cases where you have the same elements showing in both states you can write a small action-script code to animate the elements&#8217; transforms between the two states (run layout in src state, capture src values, run layout in dst state, capture dst values, animate between the two).<br />
For cases involving lists, item renderers and virtualized layouts, things get quite complicated as the item renderer recycling and creation has the possibility to have the item renderer not exist in one of the states or correspond to a different item in the second state.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Campbell</title>
		<link>http://www.ryancampbell.com/2009/06/16/heres-5-3d-layouts-for-flex-4/comment-page-1/#comment-121</link>
		<dc:creator>Ryan Campbell</dc:creator>
		<pubDate>Tue, 16 Jun 2009 17:44:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.bobjim.com/2009/06/16/heres-5-3d-layouts-for-flex-4/#comment-121</guid>
		<description>Hi Evtim,

Yes, I plan to do the same with scrolling. For now I could do the same by animating the index property of my layouts.

But what about animating children when changing layouts? That would need to be handled by the Flex framework.

See my old OpenFlux example to see what I mean:
http://www.bobjim.com/2008/04/04/updated-plexiglass-openflux-3d-example/

Ideally setLayoutBoundsPosition/Size/Matrix methods would handle animation for you.

Ryan</description>
		<content:encoded><![CDATA[<p>Hi Evtim,</p>
<p>Yes, I plan to do the same with scrolling. For now I could do the same by animating the index property of my layouts.</p>
<p>But what about animating children when changing layouts? That would need to be handled by the Flex framework.</p>
<p>See my old OpenFlux example to see what I mean:<br />
<a href="http://www.bobjim.com/2008/04/04/updated-plexiglass-openflux-3d-example/" rel="nofollow">http://www.bobjim.com/2008/04/04/updated-plexiglass-openflux-3d-example/</a></p>
<p>Ideally setLayoutBoundsPosition/Size/Matrix methods would handle animation for you.</p>
<p>Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evtim</title>
		<link>http://www.ryancampbell.com/2009/06/16/heres-5-3d-layouts-for-flex-4/comment-page-1/#comment-120</link>
		<dc:creator>Evtim</dc:creator>
		<pubDate>Tue, 16 Jun 2009 17:37:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.bobjim.com/2009/06/16/heres-5-3d-layouts-for-flex-4/#comment-120</guid>
		<description>Hey Ryan,
These are cool! :)

On animation and scrolling:

Scrolling - When I created the WheelLayout, I had to override a couple of methods:
1. To abstract the scrolling in the horizontal direction - LayoutBase.updateScrollRect()
2. To implement the step/page on the scrollbar snapping to the elements - LayoutBase.getHorizontalScrollPositionDelta()
3. To be able to know how much to scroll to get a particular item in view - LayoutBase.getScrollPositionDeltaToElement()
4. To make sure that when the scrollPosition changes I rerun the layout - LayoutBase.scrollPositionChanged()

Once I had scrolling, the animation was very easy, I simply animated the scrollPosition from the current one to the scroll position for the element that&#039;s clicked.

-Evtim</description>
		<content:encoded><![CDATA[<p>Hey Ryan,<br />
These are cool! <img src='http://www.ryancampbell.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>On animation and scrolling:</p>
<p>Scrolling &#8211; When I created the WheelLayout, I had to override a couple of methods:<br />
1. To abstract the scrolling in the horizontal direction &#8211; LayoutBase.updateScrollRect()<br />
2. To implement the step/page on the scrollbar snapping to the elements &#8211; LayoutBase.getHorizontalScrollPositionDelta()<br />
3. To be able to know how much to scroll to get a particular item in view &#8211; LayoutBase.getScrollPositionDeltaToElement()<br />
4. To make sure that when the scrollPosition changes I rerun the layout &#8211; LayoutBase.scrollPositionChanged()</p>
<p>Once I had scrolling, the animation was very easy, I simply animated the scrollPosition from the current one to the scroll position for the element that&#8217;s clicked.</p>
<p>-Evtim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ely Greenfield</title>
		<link>http://www.ryancampbell.com/2009/06/16/heres-5-3d-layouts-for-flex-4/comment-page-1/#comment-122</link>
		<dc:creator>Ely Greenfield</dc:creator>
		<pubDate>Tue, 16 Jun 2009 16:00:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.bobjim.com/2009/06/16/heres-5-3d-layouts-for-flex-4/#comment-122</guid>
		<description>Love it Ryan!

Its great to see the work on all the new layout features paying off. These layouts are beautiful.

Ely.</description>
		<content:encoded><![CDATA[<p>Love it Ryan!</p>
<p>Its great to see the work on all the new layout features paying off. These layouts are beautiful.</p>
<p>Ely.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
