<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Flex AutoComplete: Latest version</title>
	<atom:link href="http://hillelcoren.com/2009/01/01/flex-autocomplete-latest-version/feed/" rel="self" type="application/rss+xml" />
	<link>http://hillelcoren.com/2009/01/01/flex-autocomplete-latest-version/</link>
	<description>Just another coding weblog</description>
	<lastBuildDate>Wed, 30 May 2012 18:31:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Hillel</title>
		<link>http://hillelcoren.com/2009/01/01/flex-autocomplete-latest-version/comment-page-1/#comment-4913</link>
		<dc:creator><![CDATA[Hillel]]></dc:creator>
		<pubDate>Tue, 25 Jan 2011 11:37:57 +0000</pubDate>
		<guid isPermaLink="false">http://hillelcoren.com/?p=91#comment-4913</guid>
		<description><![CDATA[rajpv

Try changing &quot;anypart&quot; to AutoComplete.MATCH_ANY_PART (the string is actually anyPart)]]></description>
		<content:encoded><![CDATA[<p>rajpv</p>
<p>Try changing &#8220;anypart&#8221; to AutoComplete.MATCH_ANY_PART (the string is actually anyPart)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajpv</title>
		<link>http://hillelcoren.com/2009/01/01/flex-autocomplete-latest-version/comment-page-1/#comment-4766</link>
		<dc:creator><![CDATA[rajpv]]></dc:creator>
		<pubDate>Thu, 13 Jan 2011 23:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://hillelcoren.com/?p=91#comment-4766</guid>
		<description><![CDATA[thanks for sharing this component. i use 1.1_fx4swc version. the issue is when i create this component to dynamically using actionscript, the dropdown is not coming. if i test this in mxml with the same set of attributes it works fine. can you please help?
--actionscript code---
var colInput:AutoComplete = new AutoComplete();
colInput.id=&quot;colInputId&quot;;
colInput.labelField=&quot;label&quot;;
colInput.matchType=&quot;anypart&quot;;
colInput.prompt=&quot;enter..&quot;;
colInput.allowNewValues=&quot;false&quot;; 
colInput.allowMultipleSelection=&quot;true&quot;;
colInput.allowDuplicates=&quot;false&quot;;
colInput.allowMultipleSelection=&quot;true&quot;;
colInput.allowEditingNewValues=&quot;false&quot;; 
colInput.backspaceAction=&quot;focus&quot;;
colInput.dataProvider=myarraycollection;
colInput.width=100;
myHbox.addElementAt(colInput, 1);]]></description>
		<content:encoded><![CDATA[<p>thanks for sharing this component. i use 1.1_fx4swc version. the issue is when i create this component to dynamically using actionscript, the dropdown is not coming. if i test this in mxml with the same set of attributes it works fine. can you please help?<br />
&#8211;actionscript code&#8212;<br />
var colInput:AutoComplete = new AutoComplete();<br />
colInput.id=&#8221;colInputId&#8221;;<br />
colInput.labelField=&#8221;label&#8221;;<br />
colInput.matchType=&#8221;anypart&#8221;;<br />
colInput.prompt=&#8221;enter..&#8221;;<br />
colInput.allowNewValues=&#8221;false&#8221;;<br />
colInput.allowMultipleSelection=&#8221;true&#8221;;<br />
colInput.allowDuplicates=&#8221;false&#8221;;<br />
colInput.allowMultipleSelection=&#8221;true&#8221;;<br />
colInput.allowEditingNewValues=&#8221;false&#8221;;<br />
colInput.backspaceAction=&#8221;focus&#8221;;<br />
colInput.dataProvider=myarraycollection;<br />
colInput.width=100;<br />
myHbox.addElementAt(colInput, 1);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AutoComplete &#171; Mjcprasad&#8217;s Blog</title>
		<link>http://hillelcoren.com/2009/01/01/flex-autocomplete-latest-version/comment-page-1/#comment-1102</link>
		<dc:creator><![CDATA[AutoComplete &#171; Mjcprasad&#8217;s Blog]]></dc:creator>
		<pubDate>Tue, 21 Jul 2009 07:50:04 +0000</pubDate>
		<guid isPermaLink="false">http://hillelcoren.com/?p=91#comment-1102</guid>
		<description><![CDATA[[...] 0.91 released on January 1st, 2009 [...]]]></description>
		<content:encoded><![CDATA[<p>[...] 0.91 released on January 1st, 2009 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hillel</title>
		<link>http://hillelcoren.com/2009/01/01/flex-autocomplete-latest-version/comment-page-1/#comment-428</link>
		<dc:creator><![CDATA[Hillel]]></dc:creator>
		<pubDate>Wed, 15 Apr 2009 19:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://hillelcoren.com/?p=91#comment-428</guid>
		<description><![CDATA[Wait... sorry. just re-read your comment. You want to change the items shown (not the properties). In that case one option is to extend the current Browser class and then set your new class in the browserClass property.]]></description>
		<content:encoded><![CDATA[<p>Wait&#8230; sorry. just re-read your comment. You want to change the items shown (not the properties). In that case one option is to extend the current Browser class and then set your new class in the browserClass property.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hillel</title>
		<link>http://hillelcoren.com/2009/01/01/flex-autocomplete-latest-version/comment-page-1/#comment-427</link>
		<dc:creator><![CDATA[Hillel]]></dc:creator>
		<pubDate>Wed, 15 Apr 2009 19:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://hillelcoren.com/?p=91#comment-427</guid>
		<description><![CDATA[Frank,

You&#039;re in luck. I just added that feature in the latest version (0.98.1). There&#039;s a new property called browserFields. You pass it an array of the fields to display in the browser datagrid.]]></description>
		<content:encoded><![CDATA[<p>Frank,</p>
<p>You&#8217;re in luck. I just added that feature in the latest version (0.98.1). There&#8217;s a new property called browserFields. You pass it an array of the fields to display in the browser datagrid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank</title>
		<link>http://hillelcoren.com/2009/01/01/flex-autocomplete-latest-version/comment-page-1/#comment-425</link>
		<dc:creator><![CDATA[Frank]]></dc:creator>
		<pubDate>Tue, 14 Apr 2009 16:09:56 +0000</pubDate>
		<guid isPermaLink="false">http://hillelcoren.com/?p=91#comment-425</guid>
		<description><![CDATA[Hi Hilel,
thank you for this component. Is it possible to customize the Panel that appears after pressing the browse Button. I don&#039;t need all items from dataProvider in this list.

Thank you in advanced
Frank]]></description>
		<content:encoded><![CDATA[<p>Hi Hilel,<br />
thank you for this component. Is it possible to customize the Panel that appears after pressing the browse Button. I don&#8217;t need all items from dataProvider in this list.</p>
<p>Thank you in advanced<br />
Frank</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex AutoComplete: Almost there&#8230; &#171; Hillel Coren</title>
		<link>http://hillelcoren.com/2009/01/01/flex-autocomplete-latest-version/comment-page-1/#comment-266</link>
		<dc:creator><![CDATA[Flex AutoComplete: Almost there&#8230; &#171; Hillel Coren]]></dc:creator>
		<pubDate>Thu, 12 Mar 2009 22:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://hillelcoren.com/?p=91#comment-266</guid>
		<description><![CDATA[[...] you&#8217;ve come straight to this post I&#8217;d recommend checking out the first and second posts for this component for more info on using [...]]]></description>
		<content:encoded><![CDATA[<p>[...] you&#8217;ve come straight to this post I&#8217;d recommend checking out the first and second posts for this component for more info on using [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fahad</title>
		<link>http://hillelcoren.com/2009/01/01/flex-autocomplete-latest-version/comment-page-1/#comment-250</link>
		<dc:creator><![CDATA[Fahad]]></dc:creator>
		<pubDate>Fri, 06 Mar 2009 10:28:06 +0000</pubDate>
		<guid isPermaLink="false">http://hillelcoren.com/?p=91#comment-250</guid>
		<description><![CDATA[Excellent control. Great effort!!]]></description>
		<content:encoded><![CDATA[<p>Excellent control. Great effort!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hillel</title>
		<link>http://hillelcoren.com/2009/01/01/flex-autocomplete-latest-version/comment-page-1/#comment-243</link>
		<dc:creator><![CDATA[Hillel]]></dc:creator>
		<pubDate>Wed, 04 Mar 2009 14:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://hillelcoren.com/?p=91#comment-243</guid>
		<description><![CDATA[Brice,

That&#039;s really cool, thanks for sharing. I&#039;d like to build it in to the next version, the only issue I&#039;m having is figuring out how to display which part of the search string matches.

Thanks,
Hillel]]></description>
		<content:encoded><![CDATA[<p>Brice,</p>
<p>That&#8217;s really cool, thanks for sharing. I&#8217;d like to build it in to the next version, the only issue I&#8217;m having is figuring out how to display which part of the search string matches.</p>
<p>Thanks,<br />
Hillel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brice Pissard</title>
		<link>http://hillelcoren.com/2009/01/01/flex-autocomplete-latest-version/comment-page-1/#comment-241</link>
		<dc:creator><![CDATA[Brice Pissard]]></dc:creator>
		<pubDate>Wed, 04 Mar 2009 00:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://hillelcoren.com/?p=91#comment-241</guid>
		<description><![CDATA[Hi Hillel,

thanks to share this verry good Autocompleter,

Here are two function you could add to StringUtils class to provide the new feature of filtering Phonectically !

(comming from : http://jobemakar.blogspot.com/2007/08/soundex-comparing-words-phonectically.html)

// === BEGIN

static private function run(s:String):String 
		{ 
			var SIZE:int = 4;
			var i:int;
	
			var strUpper:String = s.toUpperCase();
			
			var charArr:Array = new Array();
			
			for (i=0;i&lt;strUpper.length;++i)
			{
				charArr[i] = strUpper.charAt(i);
			}
			
			var firstLetter:String = charArr[0];
			
			// convert letters to numeric code
			for (i = 0; i &lt; charArr.length; i++) 
			{
				switch (charArr[i]) {
					case &#039;B&#039;:
					case &#039;F&#039;:
					case &#039;P&#039;:
					case &#039;V&#039;:
						charArr[i] = &#039;1&#039;;
						break;
					case &#039;C&#039;:
					case &#039;G&#039;:
					case &#039;J&#039;:
					case &#039;K&#039;:
					case &#039;Q&#039;:
					case &#039;S&#039;:
					case &#039;X&#039;:
					case &#039;Z&#039;: 
						charArr[i] = &#039;2&#039;;
						break; 
					case &#039;D&#039;:
					case &#039;T&#039;: 
						charArr[i] = &#039;3&#039;; 
						break;
					case &#039;L&#039;: 
						charArr[i] = &#039;4&#039;; 
						break;
					case &#039;M&#039;:
					case &#039;N&#039;: 
						charArr[i] = &#039;5&#039;;
							break;
					case &#039;R&#039;: 
						charArr[i] = &#039;6&#039;; 
						break;
					default:  
						charArr[i] = &#039;0&#039;;
						break;
				}
			}
	
			// remove duplicates
			var output:String = &quot;&quot; + firstLetter;
			var lastChar:String = charArr[0];
			
			for (i = 1; i &lt; charArr.length; i++) 
			{
				if (charArr[i] != &#039;0&#039; &amp;&amp; charArr[i] != lastChar) 
				{
					lastChar = charArr[i];
					output += lastChar;
				}
			}   
	
			// pad with 0&#039;s or truncate
			for (i = output.length; i &lt; SIZE; i++) 
			{
				output += &#039;0&#039;;
			}
			output = output.substring(0, SIZE);
	
			return output;
		}
	
	
		static public function soundsLike( word1:String, word2:String ):Boolean 
		{
			return (( run( word2 ) == run( word1.substr(0,word2.length) ) )?true:false);
		}

// === END

then the filter handler function could be :

chooser.filterFunction = function( item:Object, searchStr:String ):Boolean 
{
 if ( StringUtils.soundsLike(item.name, searchStr) ) 
 {
   return true;	
 }
 return false;
});]]></description>
		<content:encoded><![CDATA[<p>Hi Hillel,</p>
<p>thanks to share this verry good Autocompleter,</p>
<p>Here are two function you could add to StringUtils class to provide the new feature of filtering Phonectically !</p>
<p>(comming from : <a href="http://jobemakar.blogspot.com/2007/08/soundex-comparing-words-phonectically.html" rel="nofollow">http://jobemakar.blogspot.com/2007/08/soundex-comparing-words-phonectically.html</a>)</p>
<p>// === BEGIN</p>
<p>static private function run(s:String):String<br />
		{<br />
			var SIZE:int = 4;<br />
			var i:int;</p>
<p>			var strUpper:String = s.toUpperCase();</p>
<p>			var charArr:Array = new Array();</p>
<p>			for (i=0;i&lt;strUpper.length;++i)<br />
			{<br />
				charArr[i] = strUpper.charAt(i);<br />
			}</p>
<p>			var firstLetter:String = charArr[0];</p>
<p>			// convert letters to numeric code<br />
			for (i = 0; i &lt; charArr.length; i++)<br />
			{<br />
				switch (charArr[i]) {<br />
					case &#8216;B&#8217;:<br />
					case &#8216;F&#8217;:<br />
					case &#8216;P&#8217;:<br />
					case &#8216;V&#8217;:<br />
						charArr[i] = &#8217;1&#8242;;<br />
						break;<br />
					case &#8216;C&#8217;:<br />
					case &#8216;G&#8217;:<br />
					case &#8216;J&#8217;:<br />
					case &#8216;K&#8217;:<br />
					case &#8216;Q&#8217;:<br />
					case &#8216;S&#8217;:<br />
					case &#8216;X&#8217;:<br />
					case &#8216;Z&#8217;:<br />
						charArr[i] = &#8217;2&#8242;;<br />
						break;<br />
					case &#8216;D&#8217;:<br />
					case &#8216;T&#8217;:<br />
						charArr[i] = &#8217;3&#8242;;<br />
						break;<br />
					case &#8216;L&#8217;:<br />
						charArr[i] = &#8217;4&#8242;;<br />
						break;<br />
					case &#8216;M&#8217;:<br />
					case &#8216;N&#8217;:<br />
						charArr[i] = &#8217;5&#8242;;<br />
							break;<br />
					case &#8216;R&#8217;:<br />
						charArr[i] = &#8217;6&#8242;;<br />
						break;<br />
					default:<br />
						charArr[i] = &#8217;0&#8242;;<br />
						break;<br />
				}<br />
			}</p>
<p>			// remove duplicates<br />
			var output:String = &#8220;&#8221; + firstLetter;<br />
			var lastChar:String = charArr[0];</p>
<p>			for (i = 1; i &lt; charArr.length; i++)<br />
			{<br />
				if (charArr[i] != &#8217;0&#8242; &amp;&amp; charArr[i] != lastChar)<br />
				{<br />
					lastChar = charArr[i];<br />
					output += lastChar;<br />
				}<br />
			}   </p>
<p>			// pad with 0&#8242;s or truncate<br />
			for (i = output.length; i &lt; SIZE; i++)<br />
			{<br />
				output += &#8217;0&#8242;;<br />
			}<br />
			output = output.substring(0, SIZE);</p>
<p>			return output;<br />
		}</p>
<p>		static public function soundsLike( word1:String, word2:String ):Boolean<br />
		{<br />
			return (( run( word2 ) == run( word1.substr(0,word2.length) ) )?true:false);<br />
		}</p>
<p>// === END</p>
<p>then the filter handler function could be :</p>
<p>chooser.filterFunction = function( item:Object, searchStr:String ):Boolean<br />
{<br />
 if ( StringUtils.soundsLike(item.name, searchStr) )<br />
 {<br />
   return true;<br />
 }<br />
 return false;<br />
});</p>
]]></content:encoded>
	</item>
</channel>
</rss>

