<?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: DragScrollingCanvas &#8211; from the wonderful flexlib</title>
	<atom:link href="http://www.bagonca.com/blog/2009/03/31/dragscrollingcanvas_-_from_the_wonderful_flexlib/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bagonca.com/blog/2009/03/31/dragscrollingcanvas_-_from_the_wonderful_flexlib/</link>
	<description>Yet another developer blog</description>
	<lastBuildDate>Mon, 19 Dec 2011 21:48:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Yulia</title>
		<link>http://www.bagonca.com/blog/2009/03/31/dragscrollingcanvas_-_from_the_wonderful_flexlib/comment-page-1/#comment-178</link>
		<dc:creator>Yulia</dc:creator>
		<pubDate>Mon, 03 Aug 2009 08:05:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.bagonca.com/blog/?p=1#comment-178</guid>
		<description>It helps! Thank&#039;s a lot! Hope, my knowledge of AS will also be better soon.</description>
		<content:encoded><![CDATA[<p>It helps! Thank&#8217;s a lot! Hope, my knowledge of AS will also be better soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.bagonca.com/blog/2009/03/31/dragscrollingcanvas_-_from_the_wonderful_flexlib/comment-page-1/#comment-174</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Thu, 30 Jul 2009 17:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.bagonca.com/blog/?p=1#comment-174</guid>
		<description>Also, you can easily expand on the functionality by adding an x value to the event and use that the same way to have items moved along horizontally with the viewport.</description>
		<content:encoded><![CDATA[<p>Also, you can easily expand on the functionality by adding an x value to the event and use that the same way to have items moved along horizontally with the viewport.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.bagonca.com/blog/2009/03/31/dragscrollingcanvas_-_from_the_wonderful_flexlib/comment-page-1/#comment-173</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Thu, 30 Jul 2009 17:43:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.bagonca.com/blog/?p=1#comment-173</guid>
		<description>Hey, thanks for your comment. Since I wrote this article I&#039;ve figured out loads of other ways to do this, mostly because my knowledge of AS has improved :) But since this is the example I posted I will try to help you finish your implementation of it.

You can basically listen for the event anywhere in your application wherever you have access to your canvas, perhaps in a singleton container class for your canvas, or even just in your main mxml file. Assuming your DragScrollingCanvas is called &quot;canvas&quot;. Do a canvas.addEventListener(DragsCrollEvent.DRAGSCROLLED, functionName);

In the function functionName(event:DragScrollEvent) you can use the event._y variable to add to or subtract from the y value of which ever components contained in the canvas to make it move with the viewport. Just remember to take care of edge cases so that when you reach the bottom or top of the canvas the components dont keep moving out of view.

Hope this helped.</description>
		<content:encoded><![CDATA[<p>Hey, thanks for your comment. Since I wrote this article I&#8217;ve figured out loads of other ways to do this, mostly because my knowledge of AS has improved :) But since this is the example I posted I will try to help you finish your implementation of it.</p>
<p>You can basically listen for the event anywhere in your application wherever you have access to your canvas, perhaps in a singleton container class for your canvas, or even just in your main mxml file. Assuming your DragScrollingCanvas is called &#8220;canvas&#8221;. Do a canvas.addEventListener(DragsCrollEvent.DRAGSCROLLED, functionName);</p>
<p>In the function functionName(event:DragScrollEvent) you can use the event._y variable to add to or subtract from the y value of which ever components contained in the canvas to make it move with the viewport. Just remember to take care of edge cases so that when you reach the bottom or top of the canvas the components dont keep moving out of view.</p>
<p>Hope this helped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yulia</title>
		<link>http://www.bagonca.com/blog/2009/03/31/dragscrollingcanvas_-_from_the_wonderful_flexlib/comment-page-1/#comment-172</link>
		<dc:creator>Yulia</dc:creator>
		<pubDate>Thu, 30 Jul 2009 09:26:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.bagonca.com/blog/?p=1#comment-172</guid>
		<description>Very interesting post! Thank&#039;s a lot. In my current task I&#039;m doing something similar, as the ability to make some components contained in a DragScrollingCanvas move together with the view port.  Can you share example, how to listen for DragScrollEvent in application. I&#039;ve tryed to implement your steps, but I have no results (</description>
		<content:encoded><![CDATA[<p>Very interesting post! Thank&#8217;s a lot. In my current task I&#8217;m doing something similar, as the ability to make some components contained in a DragScrollingCanvas move together with the view port.  Can you share example, how to listen for DragScrollEvent in application. I&#8217;ve tryed to implement your steps, but I have no results (</p>
]]></content:encoded>
	</item>
</channel>
</rss>

