<?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: Flex Component: PanScrollingCanvas</title>
	<atom:link href="http://didierburton.net/blog/2008/07/29/flex-component-panscrollingcanvas/feed/" rel="self" type="application/rss+xml" />
	<link>http://didierburton.net/blog/2008/07/29/flex-component-panscrollingcanvas/</link>
	<description>on flex, flash, user experience, and oop</description>
	<lastBuildDate>Tue, 27 Apr 2010 13:58:48 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Amar</title>
		<link>http://didierburton.net/blog/2008/07/29/flex-component-panscrollingcanvas/comment-page-1/#comment-56</link>
		<dc:creator>Amar</dc:creator>
		<pubDate>Tue, 27 Apr 2010 13:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://didierburton.net/blog/?p=186#comment-56</guid>
		<description>Did you got any solution for the above error. Please post the answer once you got the solution</description>
		<content:encoded><![CDATA[<p>Did you got any solution for the above error. Please post the answer once you got the solution</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amar</title>
		<link>http://didierburton.net/blog/2008/07/29/flex-component-panscrollingcanvas/comment-page-1/#comment-53</link>
		<dc:creator>Amar</dc:creator>
		<pubDate>Wed, 21 Apr 2010 13:24:50 +0000</pubDate>
		<guid isPermaLink="false">http://didierburton.net/blog/?p=186#comment-53</guid>
		<description>Sorry to say this.. Am checking with latest versions of Safari, Chrome, and Firefox, using the latest Flash plugin. Still same error in all.
Thanks</description>
		<content:encoded><![CDATA[<p>Sorry to say this.. Am checking with latest versions of Safari, Chrome, and Firefox, using the latest Flash plugin. Still same error in all.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: didier</title>
		<link>http://didierburton.net/blog/2008/07/29/flex-component-panscrollingcanvas/comment-page-1/#comment-52</link>
		<dc:creator>didier</dc:creator>
		<pubDate>Tue, 20 Apr 2010 19:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://didierburton.net/blog/?p=186#comment-52</guid>
		<description>Unfortunately, I cannot replicate the problem you are describing. Things are working fine in the latest versions of Safari, Chrome, and Firefox, using the latest Flash plugin. Not sure about IE. Maybe you can check your browser/plugin. Thanks.</description>
		<content:encoded><![CDATA[<p>Unfortunately, I cannot replicate the problem you are describing. Things are working fine in the latest versions of Safari, Chrome, and Firefox, using the latest Flash plugin. Not sure about IE. Maybe you can check your browser/plugin. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amar</title>
		<link>http://didierburton.net/blog/2008/07/29/flex-component-panscrollingcanvas/comment-page-1/#comment-51</link>
		<dc:creator>Amar</dc:creator>
		<pubDate>Tue, 20 Apr 2010 17:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://didierburton.net/blog/?p=186#comment-51</guid>
		<description>I didn&#039;t any change in your code. Your demo(above) have same prob. How can i correct it. Where i want to change.
Am trying this stage.addEventListener(Event.MOUSE_LEAVE, handleMouseLeave, false, 0, true); Still same prob...</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t any change in your code. Your demo(above) have same prob. How can i correct it. Where i want to change.<br />
Am trying this stage.addEventListener(Event.MOUSE_LEAVE, handleMouseLeave, false, 0, true); Still same prob&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: didier</title>
		<link>http://didierburton.net/blog/2008/07/29/flex-component-panscrollingcanvas/comment-page-1/#comment-50</link>
		<dc:creator>didier</dc:creator>
		<pubDate>Tue, 20 Apr 2010 15:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://didierburton.net/blog/?p=186#comment-50</guid>
		<description>Thanks for your comment. Do you experience that behavior from my example or yours? If you move the mouse quickly across your application, especially outside of it, the &lt;code&gt;MouseEvent.ROLL_OVER&lt;/code&gt; or &lt;code&gt;MouseEvent.ROLL_OUT&lt;/code&gt; might not be captured properly. It&#039;s just how Flex works... when the mouse leaves the bounding box of the application too quickly. Not sure if this is the same issue, but in order to compensate for this, you can look at the code of my example. There is a line: &lt;code&gt;stage.addEventListener(Event.MOUSE_LEAVE, handleMouseLeave, false, 0, true);&lt;/code&gt; which handles the case when the mouse leaves the app. The client component has to handle that case. That could be something you may want to consider. Now if your canvas is blank, it might also be the way you are implementing its content. I don&#039;t directly see how this relates to the implementation of the component itself--as it extends a regular canvas. I&#039;d probably need to see what you did in order to clarify the issue, should it still occur.</description>
		<content:encoded><![CDATA[<p>Thanks for your comment. Do you experience that behavior from my example or yours? If you move the mouse quickly across your application, especially outside of it, the <code>MouseEvent.ROLL_OVER</code> or <code>MouseEvent.ROLL_OUT</code> might not be captured properly. It&#8217;s just how Flex works&#8230; when the mouse leaves the bounding box of the application too quickly. Not sure if this is the same issue, but in order to compensate for this, you can look at the code of my example. There is a line: <code>stage.addEventListener(Event.MOUSE_LEAVE, handleMouseLeave, false, 0, true);</code> which handles the case when the mouse leaves the app. The client component has to handle that case. That could be something you may want to consider. Now if your canvas is blank, it might also be the way you are implementing its content. I don&#8217;t directly see how this relates to the implementation of the component itself&#8211;as it extends a regular canvas. I&#8217;d probably need to see what you did in order to clarify the issue, should it still occur.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amar</title>
		<link>http://didierburton.net/blog/2008/07/29/flex-component-panscrollingcanvas/comment-page-1/#comment-49</link>
		<dc:creator>Amar</dc:creator>
		<pubDate>Tue, 20 Apr 2010 15:07:49 +0000</pubDate>
		<guid isPermaLink="false">http://didierburton.net/blog/?p=186#comment-49</guid>
		<description>Your Component is very nice . Am trying this component. i found One bug.. If you are crossing your component quickly the map and buttons are not displayed. The Component is totally blank..Can You have any solution for this..
Thanks in Advance</description>
		<content:encoded><![CDATA[<p>Your Component is very nice . Am trying this component. i found One bug.. If you are crossing your component quickly the map and buttons are not displayed. The Component is totally blank..Can You have any solution for this..<br />
Thanks in Advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: didier</title>
		<link>http://didierburton.net/blog/2008/07/29/flex-component-panscrollingcanvas/comment-page-1/#comment-43</link>
		<dc:creator>didier</dc:creator>
		<pubDate>Tue, 15 Dec 2009 19:15:05 +0000</pubDate>
		<guid isPermaLink="false">http://didierburton.net/blog/?p=186#comment-43</guid>
		<description>Have you tried to use a timer to set your scroll positions? You can adjust the time so that it gives an ease out towards the center of your container just after the app loads... HTH.
Now the mouse position will always dictate the scroll positions. That&#039;s the idea of the component. Maybe this is not what you need for your application.</description>
		<content:encoded><![CDATA[<p>Have you tried to use a timer to set your scroll positions? You can adjust the time so that it gives an ease out towards the center of your container just after the app loads&#8230; HTH.<br />
Now the mouse position will always dictate the scroll positions. That&#8217;s the idea of the component. Maybe this is not what you need for your application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: h.</title>
		<link>http://didierburton.net/blog/2008/07/29/flex-component-panscrollingcanvas/comment-page-1/#comment-42</link>
		<dc:creator>h.</dc:creator>
		<pubDate>Tue, 15 Dec 2009 12:25:03 +0000</pubDate>
		<guid isPermaLink="false">http://didierburton.net/blog/?p=186#comment-42</guid>
		<description>Well, spent some hours trying to center the view on load, but no success. I can set the *ScrollPosition property but the mouse position makes it to scroll back again. The goal is to be able to go to all directions after the page is loaded. Your demo starts in upper left corner too - any hint how to center the view on startup? Many thanks</description>
		<content:encoded><![CDATA[<p>Well, spent some hours trying to center the view on load, but no success. I can set the *ScrollPosition property but the mouse position makes it to scroll back again. The goal is to be able to go to all directions after the page is loaded. Your demo starts in upper left corner too &#8211; any hint how to center the view on startup? Many thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: didier</title>
		<link>http://didierburton.net/blog/2008/07/29/flex-component-panscrollingcanvas/comment-page-1/#comment-41</link>
		<dc:creator>didier</dc:creator>
		<pubDate>Sat, 12 Dec 2009 18:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://didierburton.net/blog/?p=186#comment-41</guid>
		<description>I agree with you that exposing the visibility of the buttons at the API level would be a useful feature. However, this component is not something I  sell or directly support. It reflects some user experience exploration I was doing with Flex, maps, and goal-based animations at some point in time. The code is there for others to maybe inspire or pursue the exploration thereof. There&#039;s a handful of even more useful features that should be added to make it a normal production component. Thanks for your interest!
Re: the &lt;code&gt;horizontal(vertical)ScrollPosition&lt;/code&gt;, this might be due to the fact that the &lt;code&gt;innerCanvas&lt;/code&gt; is not fully rendered yet on &lt;code&gt;creationComplete&lt;/code&gt;. It&#039;s more by design. A workaround might be to call &lt;code&gt;invalidateDisplayList()&lt;/code&gt; in the setters in a &lt;code&gt;callLater&lt;/code&gt; fashion, in order to delay the scroll positions to the next frame. Not sure this will work, though. Great catch :)</description>
		<content:encoded><![CDATA[<p>I agree with you that exposing the visibility of the buttons at the API level would be a useful feature. However, this component is not something I  sell or directly support. It reflects some user experience exploration I was doing with Flex, maps, and goal-based animations at some point in time. The code is there for others to maybe inspire or pursue the exploration thereof. There&#8217;s a handful of even more useful features that should be added to make it a normal production component. Thanks for your interest!<br />
Re: the <code>horizontal(vertical)ScrollPosition</code>, this might be due to the fact that the <code>innerCanvas</code> is not fully rendered yet on <code>creationComplete</code>. It&#8217;s more by design. A workaround might be to call <code>invalidateDisplayList()</code> in the setters in a <code>callLater</code> fashion, in order to delay the scroll positions to the next frame. Not sure this will work, though. Great catch <img src='http://didierburton.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: h.</title>
		<link>http://didierburton.net/blog/2008/07/29/flex-component-panscrollingcanvas/comment-page-1/#comment-40</link>
		<dc:creator>h.</dc:creator>
		<pubDate>Fri, 11 Dec 2009 20:37:30 +0000</pubDate>
		<guid isPermaLink="false">http://didierburton.net/blog/?p=186#comment-40</guid>
		<description>Thanks for your fast replay. I made exactly the same hack you suggest ;-). However, direct support of this feature would be very useful and it&#039;s simply weird that it&#039;s not there... One more thing. Initial setup of horizontal(vertical)ScrollPosition as attribute of the component in mxml is &quot;ignored&quot;. Setting it in creationComplete event handler doesn&#039;t work too. Doing it in runtime (e.g. in some event handler) works fine. Is that by design? Any workaround?</description>
		<content:encoded><![CDATA[<p>Thanks for your fast replay. I made exactly the same hack you suggest <img src='http://didierburton.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . However, direct support of this feature would be very useful and it&#8217;s simply weird that it&#8217;s not there&#8230; One more thing. Initial setup of horizontal(vertical)ScrollPosition as attribute of the component in mxml is &#8220;ignored&#8221;. Setting it in creationComplete event handler doesn&#8217;t work too. Doing it in runtime (e.g. in some event handler) works fine. Is that by design? Any workaround?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
