<?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 Thanks, Mister!</title>
	<atom:link href="http://thanksmister.com/index.php/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://thanksmister.com</link>
	<description>RIA &#124; Flex &#124; Air Development</description>
	<lastBuildDate>Thu, 11 Mar 2010 06:10:29 -0700</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Smooth Scrolling HorizontalList by JDavis</title>
		<link>http://thanksmister.com/index.php/archive/smooth-scrolling-horizontallist/comment-page-1/#comment-24065</link>
		<dc:creator>JDavis</dc:creator>
		<pubDate>Thu, 11 Mar 2010 06:10:29 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=450#comment-24065</guid>
		<description>Thanks much for this info - the first class SmoothHorizontalScrollList works great.

To hide the scrollbars I set the horizontalScrollBar visible &amp; includeInLayout properties to false.  It doesn&#039;t show up anymore, and things look ok for me :

[cc]
override protected function configureScrollBars():void
{
	super.configureScrollBars();
	if (horizontalScrollBar) {
		horizontalScrollBar.includeInLayout=horizontalScrollBar.visible=false;
		horizontalScrollBar.lineScrollSize = .125;  // should be inverse power of 2
	}
}
[/cc]

I changed the mousewheel so that it moves incrementally as well:
[cc]
override protected function mouseWheelHandler(event:MouseEvent):void
{
	// Scrolldirection and distance calculation
	if (horizontalScrollBar) {
		var scrollAmount:Number = horizontalScrollBar.lineScrollSize * event.delta * -1.0;
				
		var oldPosition:Number = super.horizontalScrollPosition;
		var newPosition:Number = super.horizontalScrollPosition + scrollAmount;
				
		if (newPosition &lt; 0)
			newPosition = 0;
		else if (newPosition &gt; maxHorizontalScrollPosition)
			newPosition = maxHorizontalScrollPosition;
			
		horizontalScrollBar.scrollPosition = newPosition;
				
		var scrollEvent:ScrollEvent = new ScrollEvent(ScrollEvent.SCROLL);
		scrollEvent.detail = event.delta.toString(); 
		scrollEvent.direction = ScrollEventDirection.HORIZONTAL;
		scrollEvent.position = newPosition;
		scrollEvent.delta = newPosition - oldPosition;
				
		horizontalScrollBar.dispatchEvent(scrollEvent);
	}					
}
[/cc]</description>
		<content:encoded><![CDATA[<p>Thanks much for this info &#8211; the first class SmoothHorizontalScrollList works great.</p>
<p>To hide the scrollbars I set the horizontalScrollBar visible &amp; includeInLayout properties to false.  It doesn&#8217;t show up anymore, and things look ok for me :</p>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">override protected <span style="color: #000000; font-weight: bold;">function</span> configureScrollBars<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><br />
<span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #0066CC;">super</span>.<span style="color: #006600;">configureScrollBars</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>horizontalScrollBar<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; horizontalScrollBar.<span style="color: #006600;">includeInLayout</span>=horizontalScrollBar.<span style="color: #0066CC;">visible</span>=<span style="color: #000000; font-weight: bold;">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; horizontalScrollBar.<span style="color: #006600;">lineScrollSize</span> = .125; &nbsp;<span style="color: #808080; font-style: italic;">// should be inverse power of 2</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #66cc66;">&#125;</span></div></div>
<p>I changed the mousewheel so that it moves incrementally as well:</p>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:640px;"><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">override protected <span style="color: #000000; font-weight: bold;">function</span> mouseWheelHandler<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><br />
<span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Scrolldirection and distance calculation</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>horizontalScrollBar<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> scrollAmount:<span style="color: #0066CC;">Number</span> = horizontalScrollBar.<span style="color: #006600;">lineScrollSize</span> <span style="color: #66cc66;">*</span> event.<span style="color: #006600;">delta</span> <span style="color: #66cc66;">*</span> -<span style="color: #cc66cc;">1.0</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> oldPosition:<span style="color: #0066CC;">Number</span> = <span style="color: #0066CC;">super</span>.<span style="color: #006600;">horizontalScrollPosition</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> newPosition:<span style="color: #0066CC;">Number</span> = <span style="color: #0066CC;">super</span>.<span style="color: #006600;">horizontalScrollPosition</span> + scrollAmount;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>newPosition <span style="color: #66cc66;">&lt;</span> 0<span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; newPosition = <span style="color: #cc66cc;">0</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>newPosition <span style="color: #66cc66;">&gt;</span> maxHorizontalScrollPosition<span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; newPosition = maxHorizontalScrollPosition;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; horizontalScrollBar.<span style="color: #006600;">scrollPosition</span> = newPosition;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> scrollEvent:ScrollEvent = <span style="color: #000000; font-weight: bold;">new</span> ScrollEvent<span style="color: #66cc66;">&#40;</span>ScrollEvent.<span style="color: #0066CC;">SCROLL</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; scrollEvent.<span style="color: #006600;">detail</span> = event.<span style="color: #006600;">delta</span>.<span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; <br />
&nbsp; &nbsp; &nbsp; &nbsp; scrollEvent.<span style="color: #006600;">direction</span> = ScrollEventDirection.<span style="color: #006600;">HORIZONTAL</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; scrollEvent.<span style="color: #0066CC;">position</span> = newPosition;<br />
&nbsp; &nbsp; &nbsp; &nbsp; scrollEvent.<span style="color: #006600;">delta</span> = newPosition - oldPosition;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; horizontalScrollBar.<span style="color: #006600;">dispatchEvent</span><span style="color: #66cc66;">&#40;</span>scrollEvent<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #66cc66;">&#125;</span></div></div>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex &amp; Flash Media Server Text Chat Application by Craig</title>
		<link>http://thanksmister.com/index.php/archive/flex-flash-media-server-text-chat/comment-page-1/#comment-23966</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Wed, 10 Mar 2010 19:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=26#comment-23966</guid>
		<description>Hi, this source is great. My problem is working out how to filter out specific users by a stored array of friends on a database. I can filter the default users list to show only these friends however selecting one of these users from the list and filtering out chat data from everyone, apart from the selected friend is another story.

What would be the best way to filter this chat content?</description>
		<content:encoded><![CDATA[<p>Hi, this source is great. My problem is working out how to filter out specific users by a stored array of friends on a database. I can filter the default users list to show only these friends however selecting one of these users from the list and filtering out chat data from everyone, apart from the selected friend is another story.</p>
<p>What would be the best way to filter this chat content?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Smooth Scrolling HorizontalList by Rich</title>
		<link>http://thanksmister.com/index.php/archive/smooth-scrolling-horizontallist/comment-page-1/#comment-23046</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Thu, 04 Mar 2010 20:56:54 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=450#comment-23046</guid>
		<description>Item removal and drag indicator bugs fixed.  Source:

http://pastie.org/854470</description>
		<content:encoded><![CDATA[<p>Item removal and drag indicator bugs fixed.  Source:</p>
<p><a href="http://pastie.org/854470" rel="nofollow">http://pastie.org/854470</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Smooth Scrolling HorizontalList by Rich</title>
		<link>http://thanksmister.com/index.php/archive/smooth-scrolling-horizontallist/comment-page-1/#comment-23045</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Thu, 04 Mar 2010 20:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=450#comment-23045</guid>
		<description>wrt my previous post, I found the problem.  Replace:

combinedRendererWidth += columnWidth;

with:

if(renderer!=null)
  combinedRendererWidth += columnWidth;

Cheers</description>
		<content:encoded><![CDATA[<p>wrt my previous post, I found the problem.  Replace:</p>
<p>combinedRendererWidth += columnWidth;</p>
<p>with:</p>
<p>if(renderer!=null)<br />
  combinedRendererWidth += columnWidth;</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Smooth Scrolling HorizontalList by Rich</title>
		<link>http://thanksmister.com/index.php/archive/smooth-scrolling-horizontallist/comment-page-1/#comment-23044</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Thu, 04 Mar 2010 20:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=450#comment-23044</guid>
		<description>First of all, great work on this!  Very helpful indeed - thank you. :)

Like Victor (above), I’ve noticed if I add items to the list, the scrollbar gets smaller as the list gets longer. However, if I remove items from the list, the scrollbar doesn’t resize, and the list doesn’t get any shorter (whitespace is left where the removed items used to be)… Any thoughts?

Thanks
-Rich</description>
		<content:encoded><![CDATA[<p>First of all, great work on this!  Very helpful indeed &#8211; thank you. :)</p>
<p>Like Victor (above), I’ve noticed if I add items to the list, the scrollbar gets smaller as the list gets longer. However, if I remove items from the list, the scrollbar doesn’t resize, and the list doesn’t get any shorter (whitespace is left where the removed items used to be)… Any thoughts?</p>
<p>Thanks<br />
-Rich</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex: Export valid HTML from the RichTextEditor by Nicolas</title>
		<link>http://thanksmister.com/index.php/archive/flex-export-valid-html-from-the-richtexteditor/comment-page-1/#comment-23006</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Thu, 04 Mar 2010 02:39:21 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=17#comment-23006</guid>
		<description>Antoni Jakubiak

Mate! I owe you a drink I swear. 

Thanks</description>
		<content:encoded><![CDATA[<p>Antoni Jakubiak</p>
<p>Mate! I owe you a drink I swear. </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scrolling List Control with Tweener by JB</title>
		<link>http://thanksmister.com/index.php/archive/scrolling-list-control-with-tweener/comment-page-1/#comment-22759</link>
		<dc:creator>JB</dc:creator>
		<pubDate>Wed, 03 Mar 2010 00:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=305#comment-22759</guid>
		<description>The website of Thomas Decaux has been hijacked. Don&#039;t click on the link it&#039;s NSFW.</description>
		<content:encoded><![CDATA[<p>The website of Thomas Decaux has been hijacked. Don&#8217;t click on the link it&#8217;s NSFW.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex :: ImageCache, a cheap way to cache images by kevin</title>
		<link>http://thanksmister.com/index.php/archive/flex-imagecache-a-cheap-way-to-cache-images/comment-page-1/#comment-22381</link>
		<dc:creator>kevin</dc:creator>
		<pubDate>Mon, 01 Mar 2010 13:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=336#comment-22381</guid>
		<description>very handy - thanks!

Made a small update to ImageCache.as (noticed the last retrieved image was displayed if the url was null):


public override function set source(value:Object):void
        {
            if (value is String &amp;&amp; String(value) != &quot;&quot;)
            {
                _sourceURL = String(value);
                imageCache.addEventListener(ImageCacheEvent.COMPLETE, onImageRequestComplete);
                imageCache.requestImage(String(value));

                var lc:LoaderContext = new LoaderContext();
                lc.checkPolicyFile = true;
                super.loaderContext = lc;
            }else{
            	super.source = null;
            }
        }
</description>
		<content:encoded><![CDATA[<p>very handy &#8211; thanks!</p>
<p>Made a small update to ImageCache.as (noticed the last retrieved image was displayed if the url was null):</p>
<p>public override function set source(value:Object):void<br />
        {<br />
            if (value is String &amp;&amp; String(value) != &#8220;&#8221;)<br />
            {<br />
                _sourceURL = String(value);<br />
                imageCache.addEventListener(ImageCacheEvent.COMPLETE, onImageRequestComplete);<br />
                imageCache.requestImage(String(value));</p>
<p>                var lc:LoaderContext = new LoaderContext();<br />
                lc.checkPolicyFile = true;<br />
                super.loaderContext = lc;<br />
            }else{<br />
            	super.source = null;<br />
            }<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AS3 Yammer Library by eLearning: Interesting Weekly Finds #13 &#124; Upside Learning Blog</title>
		<link>http://thanksmister.com/index.php/archive/as3-yammer-library/comment-page-1/#comment-22083</link>
		<dc:creator>eLearning: Interesting Weekly Finds #13 &#124; Upside Learning Blog</dc:creator>
		<pubDate>Fri, 26 Feb 2010 21:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=771#comment-22083</guid>
		<description>[...] AS3 Lib for Yammer &#8211; An AS3 Yammer API library that communicates with the Yammer service. The as3yammerlib is [...]</description>
		<content:encoded><![CDATA[<p>[...] AS3 Lib for Yammer &#8211; An AS3 Yammer API library that communicates with the Yammer service. The as3yammerlib is [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scrolling List Control with Tweener by thana</title>
		<link>http://thanksmister.com/index.php/archive/scrolling-list-control-with-tweener/comment-page-1/#comment-21950</link>
		<dc:creator>thana</dc:creator>
		<pubDate>Fri, 26 Feb 2010 05:48:14 +0000</pubDate>
		<guid isPermaLink="false">http://thanksmister.com/?p=305#comment-21950</guid>
		<description>hello guy,
     did you still here ?? i have question about this page http://thanksmister.com/index.php/archive/scrolling-list-control-with-tweener/
     i what to remove mouseover background , how to remove it ???</description>
		<content:encoded><![CDATA[<p>hello guy,<br />
     did you still here ?? i have question about this page <a href="http://thanksmister.com/index.php/archive/scrolling-list-control-with-tweener/" rel="nofollow">http://thanksmister.com/index.php/archive/scrolling-list-control-with-tweener/</a><br />
     i what to remove mouseover background , how to remove it ???</p>
]]></content:encoded>
	</item>
</channel>
</rss>
