<?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: Creating an animated transition when scrolling through items in a Spark HGroup container in Flex 4</title>
	<atom:link href="http://blog.flexexamples.com/2009/11/11/creating-an-animated-transition-when-scrolling-through-items-in-a-spark-hgroup-container/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2009/11/11/creating-an-animated-transition-when-scrolling-through-items-in-a-spark-hgroup-container/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Mon, 13 Feb 2012 01:38:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Quyen</title>
		<link>http://blog.flexexamples.com/2009/11/11/creating-an-animated-transition-when-scrolling-through-items-in-a-spark-hgroup-container/comment-page-1/#comment-8805</link>
		<dc:creator>Quyen</dc:creator>
		<pubDate>Thu, 06 Jan 2011 04:04:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2183#comment-8805</guid>
		<description>Thanks the article.
Btw, I am working with List on Flex Mobile. You can set clipAndEnableScrolling in HorizontalLayout of List and work with this instead of List</description>
		<content:encoded><![CDATA[<p>Thanks the article.<br />
Btw, I am working with List on Flex Mobile. You can set clipAndEnableScrolling in HorizontalLayout of List and work with this instead of List</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: loogie</title>
		<link>http://blog.flexexamples.com/2009/11/11/creating-an-animated-transition-when-scrolling-through-items-in-a-spark-hgroup-container/comment-page-1/#comment-8514</link>
		<dc:creator>loogie</dc:creator>
		<pubDate>Tue, 02 Nov 2010 13:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2183#comment-8514</guid>
		<description>@Steve
Yes, I just preformed a similar task to a list, for a list you must use list.layout to use the &quot;getHorizontalScrollPosition&quot; function and animation to work... This means the layout must be bindable.. which was a bit tricky to do... I just made the layout itself a bindable veriable, and made the lists layout = the bindable layout at creationcomplete.

hope this helps</description>
		<content:encoded><![CDATA[<p>@Steve<br />
Yes, I just preformed a similar task to a list, for a list you must use list.layout to use the &#8220;getHorizontalScrollPosition&#8221; function and animation to work&#8230; This means the layout must be bindable.. which was a bit tricky to do&#8230; I just made the layout itself a bindable veriable, and made the lists layout = the bindable layout at creationcomplete.</p>
<p>hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: innur</title>
		<link>http://blog.flexexamples.com/2009/11/11/creating-an-animated-transition-when-scrolling-through-items-in-a-spark-hgroup-container/comment-page-1/#comment-7151</link>
		<dc:creator>innur</dc:creator>
		<pubDate>Wed, 03 Mar 2010 11:28:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2183#comment-7151</guid>
		<description>Hi,
how to use a scrollbar to change the index?
 Lets say you have 99 pages and want to quickly jump to page 88.. :) 
With this above you have to press 88 Times the Arrow.

How would I directly jump to a specific index ? How do I get the delta ?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
how to use a scrollbar to change the index?<br />
 Lets say you have 99 pages and want to quickly jump to page 88.. :)<br />
With this above you have to press 88 Times the Arrow.</p>
<p>How would I directly jump to a specific index ? How do I get the delta ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blog.flexexamples.com/2009/11/11/creating-an-animated-transition-when-scrolling-through-items-in-a-spark-hgroup-container/comment-page-1/#comment-6429</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sun, 22 Nov 2009 17:09:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2183#comment-6429</guid>
		<description>Can you do something similar with an entity that can have data bound to it, like a List?</description>
		<content:encoded><![CDATA[<p>Can you do something similar with an entity that can have data bound to it, like a List?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MechanisM</title>
		<link>http://blog.flexexamples.com/2009/11/11/creating-an-animated-transition-when-scrolling-through-items-in-a-spark-hgroup-container/comment-page-1/#comment-6344</link>
		<dc:creator>MechanisM</dc:creator>
		<pubDate>Fri, 13 Nov 2009 03:13:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2183#comment-6344</guid>
		<description>hmm.. how to make this animation play when mouse over on right or left items to right or left direction?
or mousewheel scrolling this items?</description>
		<content:encoded><![CDATA[<p>hmm.. how to make this animation play when mouse over on right or left items to right or left direction?<br />
or mousewheel scrolling this items?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MechanisM</title>
		<link>http://blog.flexexamples.com/2009/11/11/creating-an-animated-transition-when-scrolling-through-items-in-a-spark-hgroup-container/comment-page-1/#comment-6343</link>
		<dc:creator>MechanisM</dc:creator>
		<pubDate>Fri, 13 Nov 2009 03:05:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2183#comment-6343</guid>
		<description>Very nice done!! Thanxx!!</description>
		<content:encoded><![CDATA[<p>Very nice done!! Thanxx!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paolo</title>
		<link>http://blog.flexexamples.com/2009/11/11/creating-an-animated-transition-when-scrolling-through-items-in-a-spark-hgroup-container/comment-page-1/#comment-6328</link>
		<dc:creator>Paolo</dc:creator>
		<pubDate>Wed, 11 Nov 2009 21:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2183#comment-6328</guid>
		<description>I did this, and it works:

protected function scrollToThere(dir:uint):void {
				var value:Number = hGr.getHorizontalScrollPositionDelta(dir);
				if (value != 0) {
					pth.valueBy = value;
					anim.play();
				}
				else
				{
					if(dir == NavigationUnit.PAGE_RIGHT)
					{
						value = hGr.getHorizontalScrollPositionDelta(NavigationUnit.HOME);
						pth.valueBy = value;
						anim.play();
					}
					if(dir == NavigationUnit.PAGE_LEFT)
					{
						value = hGr.getHorizontalScrollPositionDelta(NavigationUnit.END);
						pth.valueBy = value;
						anim.play();
					}
				}
			}

but I was looking for a more continuous effect where it keeps going in the same direction.</description>
		<content:encoded><![CDATA[<p>I did this, and it works:</p>
<p>protected function scrollToThere(dir:uint):void {<br />
				var value:Number = hGr.getHorizontalScrollPositionDelta(dir);<br />
				if (value != 0) {<br />
					pth.valueBy = value;<br />
					anim.play();<br />
				}<br />
				else<br />
				{<br />
					if(dir == NavigationUnit.PAGE_RIGHT)<br />
					{<br />
						value = hGr.getHorizontalScrollPositionDelta(NavigationUnit.HOME);<br />
						pth.valueBy = value;<br />
						anim.play();<br />
					}<br />
					if(dir == NavigationUnit.PAGE_LEFT)<br />
					{<br />
						value = hGr.getHorizontalScrollPositionDelta(NavigationUnit.END);<br />
						pth.valueBy = value;<br />
						anim.play();<br />
					}<br />
				}<br />
			}</p>
<p>but I was looking for a more continuous effect where it keeps going in the same direction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paolo</title>
		<link>http://blog.flexexamples.com/2009/11/11/creating-an-animated-transition-when-scrolling-through-items-in-a-spark-hgroup-container/comment-page-1/#comment-6327</link>
		<dc:creator>Paolo</dc:creator>
		<pubDate>Wed, 11 Nov 2009 21:33:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2183#comment-6327</guid>
		<description>Very nice, this is something I was looking for. Is there a way to loop to the beginning once you reach the end?</description>
		<content:encoded><![CDATA[<p>Very nice, this is something I was looking for. Is there a way to loop to the beginning once you reach the end?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

